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...

By default SAP provides locking mechanism if db is being used by a user ,then what is the use of writing enque method in your code?

Answer Posted / marek

It is used for blocking data base element (for example) for whole process of your report. For example you SELECT some data form db, and before MODIFY or UPDATE statement is a lot of code and it could take a while to execute – the data could be change by other program (or even the same run by other person).

A ways to avoid that is to use ENQUEUE and DEQUEUE items using a proper function module or using SELECT FOR UPDATE statement .

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the difference between get and get late?

1081


What is a size category?

1107


How do we handle multiple line items in BDC's.

7538


Double click function on the lists, identifying the line selected by the user on the list?

1026


can anyone please tell me, in orient paper mill project which fields exits for creating report.

1690


What are the organizational related infotypes? : abap hr

1170


Explain what are the different functions used in sap script? What are the parameters used in each function?

1011


What is personnel sub are

2045


Did you use buffering?

1074


Difference between Read and Get cursor?

2051


What is the purpose of creating symbolic a/c, what is transaction code for same? Can we assign one symbolic a/c to multiple wage types? : sap abap hr

1277


Can a filed occur in several field groups? : abap modularization

1088


What is the use of a pretty printer?

1168


Can we use transfer dataset to transfer data in internal table ?

2088


What is protect & endprotect?

994