2007 Jan 01 9:22 AM
what is the diff. between TRFC AND ARFC? in which situation which is used?plz explain....
what is the diff. between TRFC AND ARFC? in which situation which is used?plz explain....
2007 Jan 01 9:26 AM
check this for trfc and qrfc
<a href="http://help.sap.com/saphelp_nw04/helpdata/en/6f/1bd5b6a85b11d6b28500508b5d5211/content.htm">http://help.sap.com/saphelp_nw04/helpdata/en/6f/1bd5b6a85b11d6b28500508b5d5211/content.htm</a>
regards
shiba dutta
2007 Jan 01 9:36 AM
Hi Pavan ,
ARFC is basiacally used when your processing does not depend on the result of the execution of the program , so what happens is that the control immediatedly passes back to the program after the FM is called .
AFRC can be classifeid as RFC with response and without response.
Now in a ARFC we have to specify the Task in which the program is to be exeucted , so based on the task we specify the FM will be in that Session/Unit of work . To call ARFC we need the addition STARTING NEW TASK 'your task name' in the FM call .
so what happens is if we call 10 FM with dirrerent tasks then they all are executed in different sessions .where as if we specify the same taks they all are executed in one single session.
In case of TRFC , the program are executed in backround and it is in same session and it ensures that all the FM are exected once or not at all and if any of the FM raises an exception all the porcessed are rolledback.
In the TRFC all the FM to a perticular destination are grouped together in a single transactional unit.
Regards
Arun
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |