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

Are you familiar with all steps for setting up a workflow?

1673


What are the function modules used to create batch input session? : abap bdc

627


I have 3 transactions,where the output of one transaction is input of another and output of 2nd transaction is input of 3rd transaction.i have one flat file with all data for the 3 transaction.if the 3rd transaction failed can we rollback the remaining 2 transactions or not.Is this possible in BDC,How/

1807


What is a fall back class?

1017


Give few names of pooled tables in sap ?

1500






What is the difference between open_form and close_form?

621


Explain what is an rdbms?

563


HI GUYS , FOR SAP INSTITUTION ATOS I BEST OR NOT? IAM PLANNING TO LEARN SAP COURSE IN ATOS... GIVE ME UR SUGGESTION ABOT ATOS?

2404


How to read 5th record from Hash Internal Table?

834


How can we set the tablespaces and extent sizes ?

567


Which FM do you use to find out who is reporting to whom

5173


What is meant by payscale structure? How did you configure pay scale structure? : sap abap hr

534


Can we use write statements in screen fields?if not how is data transferred from field data to screen fields?

552


Print options in smartforms?

1566


What is the relationship existing between the various data elements? : abap data dictionary

587