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
How do you work with semi colon se[arated files in BDC ?
Is there any BAPI to retrieve list of customers and their sales areas i.e., Cust No, Distr Channel and Division for all the customers.
What is a collect statement?
What is use of transparent table in abap? How it is different from pool tables?
What is the difference between Check and Continue?
What are the page windows? How many main windows will be there in a page window?
We have got some values for Field F1 say 1,2,3,4 and F2 say 10,10,10,10.Now can you tell me what would be the output for F1 if we use At End Of event?and what would be the output for F2 if we use At Last event?Also i want to know what is the difference between Total calculation for At end event and grand total for At last event???
What are local objects? : abap data dictionary
hi experts,,, what is meant by documentation? test casr preparation? documentation and preparation and Tcode for this? quality and releasing? test case scenario?
Which database object is used for storing the system variables? : abap data dictionary
What is personnel sub are
A field containing currency amounts (data type curr) must be assigned to a reference table and a reference field. Explain.? : abap data dictionary
What are two methods of modifying sap standard tables? : abap data dictionary
What is the collect statement? How is it different from append?
What are the components of sapscript?