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


Please Help Members By Posting Answers For Below Questions

How do you work with semi colon se[arated files in BDC ?

1550


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.

1679


What is a collect statement?

665


What is use of transparent table in abap? How it is different from pool tables?

753


What is the difference between Check and Continue?

748






What are the page windows? How many main windows will be there in a page window?

644


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???

1773


What are local objects? : abap data dictionary

690


hi experts,,, what is meant by documentation? test casr preparation? documentation and preparation and Tcode for this? quality and releasing? test case scenario?

1827


Which database object is used for storing the system variables? : abap data dictionary

867


What is personnel sub are

1666


A field containing currency amounts (data type curr) must be assigned to a reference table and a reference field. Explain.? : abap data dictionary

834


What are two methods of modifying sap standard tables? : abap data dictionary

784


What is the collect statement? How is it different from append?

632


What are the components of sapscript?

710