Skip to Content

RFC Callback Server not available - DMS BAPI CHECKIN2

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?

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

3 Answers

  • Mar 01, 2017 at 10:14 PM

    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...



    Add comment
    10|10000 characters needed characters exceeded

  • Mar 02, 2017 at 09:15 PM

    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)

    Add comment
    10|10000 characters needed characters exceeded

  • Mar 06, 2017 at 10:21 PM

    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.

    Add comment
    10|10000 characters needed characters exceeded