06-28-2016 7:59 AM
Dear all:
I'm trying to use T-CODE SMQ1 to record exceptions of a RFC.
But I can't find a way to put the result of a RFC to SMQ1.
Is there someone knows the way can help me finish it.
What I only know for now is I need to write some code in SE37,but I don't know how to do it correctly.
If you get some idea,please let me know.
Thank you and best wishes.
06-28-2016 9:50 AM
Hello liu,
Try call your RFC in like this.
CALL FUNCTION 'you rfc name' IN BACKGROUND TASK AS SEPARATE UNIT DESTINATION 'NONE'.
COMMIT WORK.
06-29-2016 3:11 AM
06-28-2016 11:15 AM
Hi Liu,
Go through the program RSTRFCT0 to understand how q-rfc works. Also go through the below documentation about q-rfc.
Regards,
Karthikeyan
06-29-2016 3:16 AM
06-28-2016 11:26 AM
Perform some search on QRFC in online help.
call function ’rfc_function’ destination rfcdest in background task [as separate unit].
Ref: Queued Remote Function Call (qRFC) then samples like qRFC Programming: Introductory Example.
Regards,
Raymond