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 / 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 |
Under which event we can make a filed disappear on selection screen.
how to transport query?
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
What are the classifications of the sap abap data classes?
What is the full form of "SPA/GPA" Paramaters.
what is the difference detween EDI AND ALE?
What is the difference between upload and ws_upload ? : abap bdc
I am getting the (first) page number and the remaining records displayed in another list in another page BUT the PAGE Number is not displayed? What is the code/solution?
What is the use of buffering?
what is inline documnetation?
A situation: An ABAP program creates a batch-input session. We need to submit the program and the batch session in background. How to do it?
what is the role of secondary index in performance?