cancel
Showing results for 
Search instead for 
Did you mean: 

Check out Documents with SOAP Webservice

DanielleinaD
Advisor
Advisor
0 Kudos

Hi experts,

currently I'm trying to check out documents from SAP with a SOAP webservice based on the BAPI_DOCUMENT_CHECKOUTVIEW. Inside SAP my function module works fine and provides the information into the table documentfiles (see screenshot) But as soon as I try to get this Information with SOAP UI I get an empty answer which is the main problem. Do you have any idea what could cause this behavior? I already tried to find some messages with SICF but there I can only see the error messages. How could start the troubleshoot process?

I'm really sure that the webservice works. For example if I provide a wrong documentnumber I get an error message.

My professor told me that this issue could caused by user restrictions and that sometimes more "special" privileges than SAP_ALL are required.

Are there any recommended books/papers for SAP DMS with a technical point of view.

best regards

Accepted Solutions (1)

Accepted Solutions (1)

jack_graus2
Active Contributor

Hello

Your function module works 'Inside SAP'. Not sure what the meaning of this is. But in some way you start the function module from a local user session on the computer where the file should be checked out. Then it is checked out to your C: drive.

When you execute the function module from a SOAPui session then SOAPui will log in to SAP creating it's own user session. That session is not linked to your computer. And as of so there is not a file location to where the file can be checked out. It might be checked out somewhere to a directory on the SAP application server.

Regards Jack

Answers (0)