2005 Nov 01 5:35 AM
Hi,
CALL FUNCTION ' ' STARTING NEW TASK '001'
PERFORMING f_task_end ON END OF TASK.
I have seen above code in some programs. What is the meaning of the above statement. Where can we use the above statement. Can any body explain.
rgds
p.kp
Hi,
CALL FUNCTION ' ' STARTING NEW TASK '001'
PERFORMING f_task_end ON END OF TASK.
I have seen above code in some programs. What is the meaning of the above statement. Where can we use the above statement. Can any body explain.
rgds
p.kp
2005 Nov 01 5:42 AM
STARTING NEW TASK basically executes the function module asynchronously in a new task(LUW). PERFORMING .... will execute the routine f_task_end after this asynchronous call is completed.
Srinivas
2005 Nov 01 5:53 AM
Hi srinivas,
See this code
CALL FUNCTION 'ABAP4_CALL_TRANSACTION' STARTING NEW TASK '001' PERFORMING TEST ON END OF TASK.
In the form TEST iam writing just a simple write statement. But iam unable to print the write statement after coming back from transaction mm01.
rgds
p.kp
2005 Nov 01 6:39 AM
Hi,
Have you checked the documentation for this statement. Take a look at http://help.sap.com/saphelp_erp2005/helpdata/en/22/0425ac488911d189490000e829fbbd/content.htm.
As it says: <b>Once the called function is completed, the next dialog step in the calling program (such as AT USER-COMMAND) guides the system into the FORM routine that checks for results. </b>
Perhaps some flow logic of your program will be help us to assist you in task at hand.
Regards
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |