2009 Dec 02 6:00 AM
Hi ,
I want to call a Functional module Z-PS_VK11_FRC using the statement IN UPDATE TASK .
What is procedure to work with . can anybodt tell me how to proceed or give me some sample program .
Regards,
Shilpa Talluri
2009 Dec 02 6:06 AM
CALL FUNCTION 'Z_FM' IN UPDATE TASK
EXPORTING
:
:
:
It means the function will be called in asynchronous mode. The execution of the FM happens in a separate task.
You can not get in to the FM in debugg mode. If you want that then you have to remove 'UPDATE task' string while calling FM .
CALL FUNCTION 'Z_FM' IN UPDATE TASK
EXPORTING
:
:
:
It means the function will be called in asynchronous mode. The execution of the FM happens in a separate task.
You can not get in to the FM in debugg mode. If you want that then you have to remove 'UPDATE task' string while calling FM .
2009 Dec 02 6:06 AM
CALL FUNCTION 'Z_FM' IN UPDATE TASK
EXPORTING
:
:
:
It means the function will be called in asynchronous mode. The execution of the FM happens in a separate task.
You can not get in to the FM in debugg mode. If you want that then you have to remove 'UPDATE task' string while calling FM .
2009 Dec 02 6:19 AM
Hi ,
I want to know only that statement will work or we should do little coding for that
can u give me some sample code or program .
Regards,
shilpa
2009 Dec 02 6:36 AM
Function modules that run in update task can not return any values because your program has no longer control over the function module (the update task has).
UPDATE TASK fm mostly used to update database tables.
You don't any special coding other than calling fm UPDATE TASK
And in the attributes of function module you need to tick the Update mode and "Coll Run" so that it can be used to run individually in the V2 update process can be grouped together and run collectively.
a®
2009 Dec 02 6:40 AM
Hi Shilpa,
Please check the following thread.
Hope this helps!!
Regards
Avinash
2009 Dec 02 6:45 AM
Ya only the addition 'IN UPDATE TASK' to the Call Function Statement, will suffice .
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |