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 |
Define database layer?
What are clustered tables?
what is difference between update and modify
what is the BAPI to get list of quotations for a customer? what is the BAPI to view the details of a quotation?
What is sap abap data classes?
How can you display frames (horizontal and vertical lines) in lists?
What are screen painter and menu painter? : abap hr
where was the development server?
what is the use of CTU_PARAMS hwen we r working with BDC?
How will you insert record in a sorted table
what is text symbol and standard symbol?
tell me ddic objects