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 to debug a sapscript?
What table stores online messages?
In SAP Query with out know user that query can we execute?
in scripts if u want to add the field using itcsy structure iknow this concept,then i want to add some logic at a time in S.ORDER AND P.ORDER HOW,IF POSSIBLE WHERE U CAN ADD THE LOGIC, HOW?
we will create functionmodules in real time or reusing exsiting one's in abap and webdynpro abap?
Explain the relationship between a functional area, user group, and query when developing queries using the sap query tool?
Can we create a database table through a report?
what are the conversion routine?
What are indexes? : abap hr
What is the difference between Clustered Tables and Pooled Tables?
how to transfer smartforms?
What is the significance of main window in a page, what are the types of the window?