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

How do you write manual bdc session method? : abap bdc

1135


What are the client dependant objects in abap / sap?

1113


How to create any functions?

1038


Explain the difference between domain and data element? What are aggregate object?

1083


What is the function of a domain?

1222


The data of a view is not physically stored, but derived from one or more tables (t/f) : abap data dictionary

1315


how to use table control?if suppose i have 6 records and i want more 4 records in sequence.How to handle this scenario?

2043


How many secondary indexes can we create in a table?

1065


What happens if a function module runs in an update task?

1051


Explain about drill down report?

9208


Can you create a table with fields not referring to data elements? : abap data dictionary

1290


how to use the xk01 in realtime.can it apply the others. how it it will goes to first page and next page.

2312


hi,how to diable the popup window which is displayed afetr executing the SAP script program?

2082


Explain how to write a bdc - how do you go about it?

1061


What are number ranges?

1070