Skip to Content
avatar image
Former Member

RFC Dialog process

Hi Experts.

I know that RFC always runs in a dialog process.

I am slightly confused on one thing - Lets say we call an asynchronous RFC via system A and it is calling System B.

The RFC will occupy dialog process in System A or in System B or in both the systems?

Thanks in adv.

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

3 Answers

  • avatar image
    Former Member
    Sep 19, 2010 at 02:50 AM

    Thanks, but I am aware of whatever you have written here.

    My question was that the dialog process that Async RFC will occupy will be in both systems, or calling system, or called system?

    We are having shortage of dialog processes issue, and that's why I am interested to know this.

    Thanks again.

    Add comment
    10|10000 characters needed characters exceeded

  • Sep 22, 2010 at 08:07 AM

    >

    > The RFC will occupy dialog process in System A or in System B or in both the systems?

    Hello,

    I don't think that in case of A-RFC the "RFC Dialog" work process will be active in both the systems, it should be active in the called system.

    What makes you think that there will be 2 dialog work processes active in both the systems ?

    BR,

    Suhas

    Add comment
    10|10000 characters needed characters exceeded

    • >

      > So can I be sure that only the called system will occupy a dialog process, and not the calling system?

      > Any easy way to test it out? 😔

      Yes, you can test it. Call the RFC asynchronously in your own system( CALL FUNCTION ... STARTING NEW TASK ... DESTINATION 'NONE') & see the number of dialog work processes generated as a result of this call.

      BR,

      Suhas

  • Sep 18, 2010 at 11:36 AM

    Hi,

    In case of Asynchronous (aRFC) call, the system passes the control back to the calling program immediately. The RFC call is executes in a different work process or in a new internal session.

    aRFC calls are of two types:

    Asynchronous call without response

    Asynchronous call with response

    In case of aRFC, you can ask you calling program to wait until it receives some response from the calling function module. You can then process the result of the aRFC call.

    In case of aRFC without response, any error message or system exceptions from the executing function module cannot be handled in the calling program.

    In case of aRFC with response, you can ask the system to call back a method or a subroutine when the RFC all is executed. For this, the calling program must give the system an opportunity to call the ABAP FORM to handle the response of aRFC call.

    Use the Link for schematic representation.

    http://www.abaplearning.com/abap-tutorials/rfc/105-arfc

    Regards,

    Anand

    Add comment
    10|10000 characters needed characters exceeded