Skip to Content
0

RFC Callback Server not available - DMS BAPI CHECKIN2

Mar 01, 2017 at 09:05 PM

109

avatar image

Using Web Services that links to custom Function Module to CALL - SAP: 'BAPI_DOCUMENT_CHECKIN2', it works fine directly with either SE37 or SOAMANAGER. Understand that the BAPI has lower level FM's and they do a FTP process to 'Vault' documents. With the use of Web Services (browser/IE) and using MS Visual Studio as interim to invoke my SAP Service Definitions, the process fails and provides a message captured by C# scripting. "RFC Callback Server not available". FTP is required to move objects and see that SAP uses CALL FUNCTION 'RFC_START_PROGRAM'. UserID/PWD are passed as parms during connection. It seems the process is dependent on SAPGUI and Visual Studio is outside the environment. There are No other 'API' Func Groups that I have found as work-around. Any clues on solution to assist SAP Labs?

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

3 Answers

Isaias Freitas
Mar 01, 2017 at 10:14 PM
0

Hello Bill,

Is the FTP process started at the end user's computer, when you test this from SE37?

If yes, the ABAP would be doing an RFC callback to the SAP GUI, asking for it to start the FTP command.

I'm not sure how could you achieve this in the browser/IE / MS Visual Studio scenario, if even possible...

Regards,

Isaías

Share
10 |10000 characters needed characters left characters exceeded
Bill Grams Mar 02, 2017 at 09:15 PM
0

Thanks Isaias, I had an idea that would be the case. SAP has a few lower level FM's that I am going to pilot test, that may allow more control of the processing. (FTP or non-FTP)

Share
10 |10000 characters needed characters left characters exceeded
Bill Grams Mar 06, 2017 at 10:21 PM
0

Message: RFC callback calls are not allowed in the ABAP...

This message comes from a failed call of the FM 'SYSTEM_START_REG_SERVER'

in the FM 'CV120_FTP_START_REG_SERVER' which is encapsulated deep in all "DMS" BAPI or FM Groups.

We are checking into this OSS Note: 1258724

** I heard that possibly converting the attached document to Binary first then the use of CVAPI_DOC_CHECKIN maybe a work around? **

Thanks ALL and hopefully a solution to share.

Share
10 |10000 characters needed characters left characters exceeded