Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Regarding calling the fuctional module Using 'in update task'

Former Member
0 Likes
842

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

1 ACCEPTED SOLUTION
Read only

former_member195383
Active Contributor
0 Likes
814

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 .

5 REPLIES 5
Read only

former_member195383
Active Contributor
0 Likes
815

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 .

Read only

0 Likes
814

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

Read only

0 Likes
814

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.

Read only

0 Likes
814

Hi Shilpa,

Please check the following thread.

Hope this helps!!

Regards

Avinash

Read only

0 Likes
814

Ya only the addition 'IN UPDATE TASK' to the Call Function Statement, will suffice .