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 a table pool? : abap data dictionary
Have you printed any report?
What do you mean by cluster tables in sap abap? Also explain what do you mean by table cluster? : abap data dictionary
On abap: did you set up a workflow? Are you familiar with all the steps for setting up a workflow?
Lock objects and what are parameters of ENQUEUE FM?
10) How to get Item Header in Sales Order?
What is the significance of delivery class? : abap data dictionary
Under Data Transfer Portion of ABAP, what do you mean by DX Project
Explain lsmw?
What is the difference between data elements and domains? : abap data dictionary
The max number of calling modes stacked at one time is?
How can a lock object be called in the transaction?
How would you set the formatting options statically and dynamically within a report?
Explain different types of attributes of function module?
What is search help exit? : sap abap data dictionary