cancel
Showing results for 
Search instead for 
Did you mean: 

Webservice error GenerateCompleteLink - Repository not set for document type

Lariza_Marie_Oc
Champ on-the-rise
Champ on-the-rise

Hi,

 

I hope someone may help me. I'm using the web service GenerateCompleteLink to make the documents from OB Workflow retrievable in SAP via the PO number. May I ask the questions below?

  • Should I map something to the Return Value field?
  • For the Business Object ID, should I map this to the KWs company code, PO number and year? Currently, we don't have these KWs yet in our forms and doc types
  • For the document type, should the doc type set in ArchiveLink admin be the doc type configured and assigned to the Object Type in SAP via OAC2?

Thank you for your continuous help. I really appreciate this community 🙂

 

Regards

2 ACCEPTED ANSWERS

Ron_Simko
Star Contributor
Star Contributor

1)  The return value is a GUID and mapping that value is up to you.  You could map it to a 'SAP GUID' keyword in the event that you might have a use for it later.  But it's not necessary.

 

2) The business object id mapping is dependent on which business object type that you are using.  Since this is a PO, the business object type will be BUS2012 and therefore the business object id will be just the PO number.  You can see what is required for each business object type in SAP TCODE: SWO1

e5353ceaa0164c6db19e63067fff4ba9

 

3) The sapDocType is indeed the OAC2 configured doctype

View answer in original post

Ron_Simko
Star Contributor
Star Contributor

It should be available here:

e218da3523a64ebbaa4efc735210a54d

View answer in original post

11 REPLIES 11

Thank you for that info. We have all those configuration in ArchiveLink and SAP but I still get the error below  when doing a Test in the web service. May I ask if I configured something wrong? I hope you may help me. Thank you so much.

f54b67ff243543ddb88b78ef10934540

Studio

0fd0c42e2e914c778751607cf01e8784

 

ArchiveLink

c9fee639f79d4636b7a8100a728762e1

 

SAP

OAC0 is already configured and certificate has been sent

OAC2

9993d5fa38644cd0ab36e04f3fb674cc

527e6a4cb1c94d31a22706c6f8415458

OAC3

79a1324df92f42dfab7574391d8e528e

The configuration looks fine to me.  Looking at the code, the error occurs when the OnBase document type doesn't return an associated content repository.  When you are testing your web service, are you testing with a DocHandle that exists within the SAP Data Archiving OnBase document type?

 

That's what I did wrong! The doc handle I was testing it against was the unity form which we want to see in SAP. I'll configure multiple document types then re-try. Thank you so much Ron! 🙂

Hi Ron,

 

Thanks again for pointing this out. I was able to create a link in TOA01. May I ask one more thing? How can I view the document in SAP? I went to the PO (ME23N) so I may check if the document from OnBase can be viewed but I can't find it. Is it correct I should look into this? Thank you

7b0f31ecf4a04487aa8f2a54231af8c0

Ron_Simko
Star Contributor
Star Contributor

It should be available here:

e218da3523a64ebbaa4efc735210a54d

Getting started

Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.