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 are the differences between structure and table in data dictionary in abap? : sap abap data dictionary

1070


On which even we can validate the input fields in module progams?

1054


Can i know some of the Realtime tickets that anyone has been faced ?

2154


What is cts and what do you know about it? : abap hr

1222


i have cleared my technical round and manager round in cts but they told me u will get a call with in couple of days now i dont know about my status

8998


What is the function of a domain? : abap data dictionary

1025


Explain client-dependent and client-independent tables.

1066


How do you retrieve the data for repetitive structures ? : abap hr

1219


What is ole?

1130


What are the differences between a database index and a match code?

1167


Can we set page headers to details lists?

1028


What are the advantages of different types of bdc's?

934


What will exactly the hide statement do?

1031


How can we decide weather we can enhance the standard infotype or not ? : abap hr

1097


Explain what is runtime analysis?

1044