cancel
Showing results for 
Search instead for 
Did you mean: 

ABAP aRFC callback (RSYN ?)

Former Member
0 Kudos

Hello,

I need to do a callback from aRFC(starting new task) to parent user session. In system include SAPMSSY1 i see that sap do that with RSYN statement. I've read the thread ABAP statement RSYN where [Rob Veenstra | /people/rob.veenstra]  mentioned that "today we have better tools available in SAP". What are these tools?

Or help me please with RSYN manual.


Thank you in advance.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Egor,

What`s RSYN, never use it and don`t know what`s the usage.

you want execute a callback form, why not

CALL FUNCTION XXXX'

   STARTING NEW TASK tsk1

   PERFORMING formName ON END OF TASK.

FORM formName USING TASKNAME.

  RECEIVE RESULTS FROM FUNCTION 'XXXX'   "use RECEIVE, if have return from this FM.

   IMPORTING ...

ENDFORM.

regards,

Archer

Former Member
0 Kudos

Hi Dengyong,

Thank you for reply.

But this form wiil be executed on the end of task, and i need to do that several times during task execution. Is there any possibility to call method or form from the FM body of async task and process it in parent session?