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
What is meant by read lock? : sap abap data dictionary
SAP Script for Billing in which Billing document number was displayed as header, Bill Type, Bill Category, Bill Item, Cost, Base Unit of Measurement and Material number were categorically displayed for each billing document number. plz mention the detail coding Tahnks, Rahul
What are the functional modules used in sequence in bdc? : abap hr
What are the different types of luws. What are they?
What do is landscape in sap project, I think its related to no. Of servers used, pls correct me if I am wrong, or what it is? : sap abap hr
How are BAPI different from normal function modules?
How to Solve a Particular Ticket in Realtime ?
Name a few data dictionary objects?
Do we have to migrate all sapscript forms to smart forms?
Explain sap abap 3-tier architecture?
What are logical databases?
What is collective search help? : sap abap data dictionary
What is help view?
How many types of size categories and data classes are there? : abap data dictionary
What is the Process to transfer IDOC from Outbound System to Inbound system.