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 |
What happens when a table is activated in DD?
When the top-of-page event does get triggered?
What is the function of the transport system and workbench organizer?
ANY one can tell me what is basic diff b/w keywords STOP,CONTINUE,CHECK,EXIT, AT-EXITCOMMAND?
How to maintain the table control in BDC?
at which situation we create the secondary index?
In SE11 we created two database tables say some 1000 fields each.Now f we want both the tables combined into one table, how do we do that?
Does the call transaction method allow multiple transactions to be processed by sap? : abap bdc
How to type casting in OOPS ABAP and ABAP ?
How to upload more than 2GB file from External Source to SAP?
In module pool, when table controls are used the command that is written in both PBO and PAI is
How do you document ABAP programs? Do you use program documentation menu option?