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
On which even we can validate the input fields in module progams?
What are match codes? describe?
What is buffering allowed but switched off?
Explain the difference between function group and function module?
Sy index and sy tabix
In what ways we can get the context sensitive f1 help on a field?
Hi my dear friends,Please give the answers for the following link http://www.saptechnical.com/InterviewQ/interviewQ.htm
What are standard layouts sets in the sap script?
What is the difference between Exit and Stop?
what will happen if called program is not executable ?
What is tcode se16?
What is amdp (abap managed data procedures)?
Hat are the different types of mode (run code) in call transaction method?
Why are insert and append statement used in sap abap?
Persistent class