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 |
Looking for ABAP Real Time Project in Bangalore, then call @ 9591232001?????
What are the two ways of searching an ABAP Object and How to navigate to them
how to write record to a file?& ABAP editor provides?
if u take one worst program,in this program user write the logic is session method.in that program user can get some errors ,that errors we will see in call transaction method,how it is possible.?
What are roles and authorization objects?
what is type group?how to create it and what is the use of it?
Find the scenario and give the result: a, b, c are employees, where a, b will get basic, hra, da. C gets basic and da. How to group for the allowances? : sap abap hr
what is the use of select for all entries in an internal table?
What are the Control levels in internal tables?
What is an update type with reference to a match code id? : abap data dictionary
How to create report in SD open sales order which covers all Organization, delivery status, shipping details and partner function details. plz mention the detail coding Tahnks, Rahul
data:zxyz type xyz. where xyz is a standard sap structure where it contains data type fields and line type (refer to other structure) fields. my question is how to assign values to field zxyz-str-matnr where str is a structure inside xyz structure.