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
any 1 having notes on SAP-ABAP certification, or even if any 1 could provide the url for getting notes on SAP-ABAP certification, would be appreciated.
Why is pretty printer user in abap?
How do you do bdc for a table control? : abap bdc
Explain what are the events used in interactive reports?
What is time constraint ? : abap hr
Define abap/4 layer?
What is the symbol to do “concatenation” operation in nw abap 7.4 ?
Explain the sequences of event block?
What are authorization objects and what statement is used to perform an authorization check in an abap program?
What are standard layouts sets in the sap script?
What is ps structure? : abap hr
2)In production what is the user exit?
Is it possible to run host command from SAP environment? How do you run?
Do we create table fields with out data elements and domains?
What is is a match code? : abap data dictionary