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
Are you familiar with all steps for setting up a workflow?
What are the function modules used to create batch input session? : abap bdc
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/
What is a fall back class?
Give few names of pooled tables in sap ?
What is the difference between open_form and close_form?
Explain what is an rdbms?
HI GUYS , FOR SAP INSTITUTION ATOS I BEST OR NOT? IAM PLANNING TO LEARN SAP COURSE IN ATOS... GIVE ME UR SUGGESTION ABOT ATOS?
How to read 5th record from Hash Internal Table?
How can we set the tablespaces and extent sizes ?
Which FM do you use to find out who is reporting to whom
What is meant by payscale structure? How did you configure pay scale structure? : sap abap hr
Can we use write statements in screen fields?if not how is data transferred from field data to screen fields?
Print options in smartforms?
What is the relationship existing between the various data elements? : abap data dictionary