what is naming conventions given for lock object and how
you create the lock object
Answer Posted / dushyanta kumar
1.Object Name start with EZ OR EY .
Go to SE11
2. Give the lock object name EZDUSH(lock object name start
with EZ) and click 'Create' Button.
3. Enter the short description,Table name<XXXX>, lock mode
and key fields which is used to lock the entry.
4. Save and activate, it will generate 2 FM.
Ex:
DEQUEUE_EZDUSH Release lock on object EZDUSH
ENQUEUE_EZDUSH Request lock for object EZDUSH
In your program,
1. First loop the table.
2. call the FM 'ENQUEUE_EZDUSH' to lock.
3. Update the dB.
4. Release the lock using DEQUEUE_EZDUSH.
endloop.
DEQUEUE_ALL this FM will release all the lock.
| Is This Answer Correct ? | 10 Yes | 1 No |
Post New Answer View All Answers
Explain data dictionary in abap?
What are the requirements a dialog program must fulfill?
Is a logical database a requirement/must to write an abap/4 query?
MY DOMAIN IS SAP-ABAP COMPARE TO WEBDYNPRO AND CRM-TECHNICAL WHICH IS BEST?
What is view? Different types of view. Explain?
Different between Interface and Abstract classes?
Have you processed BDCs ?
What is the use of lock objects?
Explain client-dependent and client-independent tables.
What are the different database integrities?
What is lock mechanism? How do we create lock objects in abap?
The commands through which an abap/4 module can “branch to “ or “call” the next screen are?
What is the use of info groups? : sap abap hr
if while coding power goes off , how to retrieve the codes?
What is a predefined type in abap?