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
What is the significance of the memory table ‘screen’?
I need the coding for BDC program to upload Purchase orders of known vendor (ME21) in Material Management
How can we use multiple transactions by using bdc_insert? : abap bdc
How can we set the tablespaces and extent sizes ?
What is size category?
Can you delete data element, which is being used by table fields?
Hello All, Requesting to all user of this site. Please post your Questions in Proper sub Category of chosen category. Some users post the questions in common category whether sub category for that is available ..like some users still post the SAP Script & ALE Related questions in common ABAP Category. Due to this it becomes very difficult to find the topic wise Questions. Please cooperate with the site & to other users. Thanks & Regards Tamseel
What is the project you are currently working and work that you are doing
Explain the advantage of structures?
Where do you find info on new developments in SAP?
What is locking ?
What are the differences between interactive and drill down reports?
Explain the client concept of sap.
Describe the difference between macro and subroutine?
What does an exec sql statement do in abap? What is the disadvantage of using it?