Application Development 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: 

Call function module in update task

Former Member
0 Kudos

Hi

I am using the follwoing logic in my prog

CALL FUNCTION 'Z_Update _Task' In update task

EXPORTING

t_vbak = t_vbak.

But the program goes to dump at call function

Please let me know if the syntax i am using is correct.

Edited by: kittu reddy on Feb 28, 2008 5:29 AM

1 ACCEPTED SOLUTION

Former Member
0 Kudos

It might be the type conflict . Please check once .

Here am giving some information abt UPDATE TASK.

Why do we use this " In Update Task " ??

The main update technique for bundling database changes in a single

database LUW is to use CALL FUNCTION... IN UPDATE TASK.

How do we Use ??

A typical R/3 installation contains dialog work processes and at least one update work process. The update work processes are responsible for updating the database. When an ABAP program reaches a COMMIT WORK statement, any function modules from CALL FUNCTION... IN UPDATE TASK statements are released for processing in an update work process. The dialog process does not wait for the update to finish. This kind of update is called asynchronous update.

What is the Use... ??

Asynchronous update is useful when response time from the transaction is critical, and the database updates themselves are so complex that they justify the extra system load

Thanks

Jagadeesh

6 REPLIES 6

sreelatha_gullapalli
Active Participant
0 Kudos

hi

can u please tell what error you are getting inthat dump.

regards

sreelatha gullapalli

Former Member
0 Kudos

Hi,

What ever the data type in Function module for t_vbak may be different than the field you are passing t_vbak.

0 Kudos

i am not landing in dump when we are not using update task

0 Kudos

The function module "Z_XM6_MV45AFZZ_SAVE_061" was called with the addition

"... IN UPDATE TASK".

However, it is not flagged in the Function Library as

executable in the update task.

0 Kudos

Hi guys i could identify the error as not populating radio button in FM

but now on executing the Tcode VA41 which in turn calls this FM

i get an Update terminated error

Please advice

Former Member
0 Kudos

It might be the type conflict . Please check once .

Here am giving some information abt UPDATE TASK.

Why do we use this " In Update Task " ??

The main update technique for bundling database changes in a single

database LUW is to use CALL FUNCTION... IN UPDATE TASK.

How do we Use ??

A typical R/3 installation contains dialog work processes and at least one update work process. The update work processes are responsible for updating the database. When an ABAP program reaches a COMMIT WORK statement, any function modules from CALL FUNCTION... IN UPDATE TASK statements are released for processing in an update work process. The dialog process does not wait for the update to finish. This kind of update is called asynchronous update.

What is the Use... ??

Asynchronous update is useful when response time from the transaction is critical, and the database updates themselves are so complex that they justify the extra system load

Thanks

Jagadeesh