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 |
How do you find the information on the current screen? : abap bdc
Explain how data is stored in cluster table?
Persistent class
What are the FM do we use in OM
wht is the diff. b/n initialization and lotus of event
What is the Difference between At Line selection and At user-command?
I want to display the different data on the multiple main windows of the form in Sapscript. Is it possible ? If yes, then How?
What are the events used in abap in the order of execution?
What are screen painter and menu painter?
Did you use buffering?
2-What is the difference between At New and On change Of inside a loop??I want inside a loop difference not basic difference??
What is the difference between data elements and domains?