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
Explain the difference between get and get late?
What is a size category?
How do we handle multiple line items in BDC's.
Double click function on the lists, identifying the line selected by the user on the list?
can anyone please tell me, in orient paper mill project which fields exits for creating report.
What are the organizational related infotypes? : abap hr
Explain what are the different functions used in sap script? What are the parameters used in each function?
What is personnel sub are
Did you use buffering?
Difference between Read and Get cursor?
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
Can a filed occur in several field groups? : abap modularization
What is the use of a pretty printer?
Can we use transfer dataset to transfer data in internal table ?
What is protect & endprotect?