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

What is the definition of modification in an sap system and how do they impact an upgrade?

1188


How can you find the field/data underlying a transaction?

1099


If I have put commit in badi implementation class after update, is it allowed? Also if some standard functionality already implemented an update and now i m doing update and if it fails, what will be the impact of commit?

1989


What is difference between dialog program and a report?

1243


Does sap handle multiple languages?

1064


What kind of financial periods exist in SAP? What is the relevant table for that?

1169


Which bdc you prefer? : abap bdc

1389


Specify the types of data dictionary objects.

1052


How the Sy-Mandt value gets updated in the table and Is this having any foreign key relationship.

2463


What is output determination?

1285


I need the coding for BDC program to upload Purchase orders of known vendor (ME21) in Material Management

2293


What is the BAPI_CUSTMATINFO_GETDETAILM used for? what is the input and output of this bapi.

3456


How can we use multiple transactions by using bdc_insert? : abap bdc

1183


What is the difference between abap and hr abap? : abap hr

1186


What are the features of abap/4 dictionary? : abap data dictionary

1136