What is update task
Answer / paresh
The IN UPDATE TASK statement allows you to call a function
module but it will not be executed until an update task is
initiated by the 'COMMIT WORK' statement. This means that
the program logic after calling the FM will immediately
continue with the next line of ABAP code and the FM will sit
and wait for the commit work. This also allows you to
execute several sections of code asynchronously by calling
the ABAP function module with the IN UPDATE TASK statement
then performing the commit work command. See example below!
Execute FM in update task with separate unit of work
CALL FUNCTION 'Z_FMODULE' IN UPDATE TASK
EXPORTING
P_UNAME = sy-uname.
commit work. "Commits all work to database and also starts
all FM's running in update task
"loop at it_ekko. "program continues with next line of ABAP
without waiting for update and FM to finish
"...
"endloop.
Is This Answer Correct ? | 9 Yes | 0 No |
write a program for creation of customer quotation using BAPI 'BAPI_QUOTATION_CREATEFROMDATA'.
what is diff b/w user exits and cutomer exits
5 Answers Deloitte, iYogi Technical Services,
Can we include customizing include or an append structure with pooled or cluster tables?
Which infotype records can not be deleted ? : abap hr
What is ITS? What are the merits of ITS?
what is code to upload cost centers through call trans. and procedure
How do you write a squential file
How to upload more than 2GB file from External Source to SAP?
What is the maximum number of structures that can be included in a table or structure
How can we declare a table control in the abap/4 program?
What is ALV programming in ABAP? When is this grid used in ABAP?
tell me about status codes?