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

What are the domains and data element?

704


Can i know some of the Realtime tickets that anyone has been faced ?

1820


How move-corresponding works

1072


Explain what are the events used in interactive reports?

636


What are the commands used for interactive reports?

709






Which one is better joins or views and why?

770


Which function module would you use to check the user’s authorization to access files before opening a file?

769


I am trying to automate a manual processing of iDOCs in BD87. I used the following code to pass idoc-id to global variable 'DCN' and then skip the first screen of BD87 to go to processing directly. After running this code SET PARAMETER ID 'DCN' FIELD itabhdr-idoc_id. CALL TRANSACTION 'BD87' AND SKIP FIRST SCREEN. it takes me to the first screen because it cannot recognize my idoc-id. How I can pass idoc-id to global? I have used the above code to goto VA02 with VBELN and it worked perfectly.

1966


Explain the difference between domain and data element?

740


What are extracts?

720


What is a subroutine?

771


could anyone tell me what r real time questions been asked in interviews?i am in urgent need..thanks in advance

1621


What are the uses of table pool or table cluster.

672


What are the basic objects of the data dictionary?

698


What is personnel sub are

1717