Skip to Content
avatar image
Former Member

RFC Sender Asynchronous --> File Problem

Hi all,

I want to sent an asynchronous RFC to a file but when I execute my scenario in R3 it always returns a dump. In the XI monitoring I get the response error from the file: "Unable to read the payload from the message object".

I think its strange because I even don't want the file adapter to send a response but he does. I suspect that the problem is on R3 side because it sends a synchronous RFC call, but I don't have any idea how to send an Asynchronous RFC call to XI (via the RFC adapter).

Steps I made:

- Created on R3 a TCP/IP entry as registered server program

- Created in XI an RFC adapter with registered server program name

- rest of the configuration...

I think my main problem is that R3 expects an answer back because it throws a synchronous call to XI, but I don't have any clue how to set up an asynchronouss RFC call in R3 to XI (so my ABAP program doesn't dump).

TIA

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • Best Answer
    Mar 15, 2006 at 05:30 PM

    Hi Peter,

    first, if you didn't already have done that, load up a RFC function module to XI Repository, where you have only the XSD, no abap source code.

    In a ABAP program code:

    CALL FUNCTION 'MyFunction'
    DESTIONATION 'mySM59Destination'
    IN BACKGROUND TASK
    ...  "the normal call
    .
    COMMIT WORK.   

    Regards,

    Udo

    Add comment
    10|10000 characters needed characters exceeded

  • Mar 15, 2006 at 05:19 PM

    Hi Peter,

    Look here for the correct <i>call function</i> statement:

    http://help.sap.com/saphelp_nw04/helpdata/en/f9/3f69fd11a80b4e93a5c9230bafc767/frameset.htm

    You cannot test with SE37 testing environment.

    Regards

    Stefan

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi Peter,

      I face the same Problem that the call cannot be used with TCP / IP RFC connections.

      In my program the COMMIT WORK doesn`t solve the Problem ?!

      Thanks for any idea