Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What is update task

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between a pool table and a transparent table?

935


What are the difference between call screen and leave screen?

1114


Difference between top-of-page and top-of-page during at line- selection?

2297


What are two methods of modifying sap standard tables? : abap data dictionary

1224


Explain what is step-loop?

1153


A field containing quantity amounts (data type quan) must be assigned to a referencetable and a reference field. Explain?

888


why particularly lock object name starts with EZ OR EY?

1947


What is the difference between a structure and a table?

1044


What is narrow casting and wide casting?

1564


what are the main technical differences between oracle and sap? it would be more helpful to me if get this answer...

2028


What are the screen painter and menu painter?

960


What is view? Different types of view. Explain?

995


Explain the difference between function group and function module?

1087


How to convert normal function module to bapi?

1999


How many detail lists can be created in interactive reporting?

1150