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 different between abap and ooabap? Why do we use ooabap?

1187


Explain the session method? : abap bdc

1155


What is the function of the correction system?

997


What is Buffering Concept? When should a Table be buffered?

12943


Can a transparent table exist in the data dictionary but not in the database physically?

1043


What are the different types of luws?

1173


Explain the advantages/disadvantages of logical databases?

1038


What are the Synchronous and asynchronous methods in bdc ?

1071


What is payroll area

2263


What are screen painter and menu painter? : abap hr

1043


Print options in smartforms?

2001


What is the function of a data element?

1072


What is Field group?

1115


What are the two different ways of building a match code object?

1030


What is full form of bdc session? : abap bdc

1178