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 what are the events used for logical database?
What happens if we use leave to list-processing without using suppress-dialog?
Different types of locks?
What are the functional areas, user groups? How does abap query work in relation to these?
Can we create field without data element? If yes, how?
What is a modification assistant?
How can an internal table with header line and one without header line be distinguished when passed to a subroutine? : abap modularization
What is a development class? : abap data dictionary
Explain the difference between domain and data element?
Name the abap/4 modularization techniques? : abap modularization
What is the difference between a substructure and an append structure? : abap data dictionary
What is asynchronous and synchronous update?
What is the difference between a dialog program and a report?
What is the difference between data elements and domains?
Difference between sap script and report?