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 will you code in start-of-selection & end-of-selection ?
On which even we can validate the input fields in module progams?
How would you suppress the display of a parameter on the selection screen?
What is the transaction code to display the payroll results ? : abap hr
What are the Synchronous and asynchronous methods in bdc ?
What are the types of search helps? : sap abap data dictionary
What are authorization objects and what statement is used to perform an authorization check in an abap program?
What is interactive reporting?
What are the steps to be followed to set lockobjects? : sap abap data dictionary
Did you use buffering?
After running a BDC program in background, next day morning when you see the results, few records are not updated(error records). What will you do then ?
What are the disadvantages of using explicit enhancement?
Explain the different types of view?
What is the difference between synchronous and asynchronous update? : abap bdc
What do you understand by work area and internal tables in abap? Why do we use it?