Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Locking customized data table with ENQUEUE_E_TABLE

Former Member
0 Kudos

Hi all,

I have a cusmized table with two key fields. While modifying the table I am locking it ENQUEUE_E_TABLE function module. But it has only one key field .

How shall I pass my both key fields to lock only the specific data.

Regards,

Anirban

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi,

Check the below thread.

5 REPLIES 5

Former Member
0 Kudos

Hi,

Check the below thread.

Former Member
0 Kudos

Hi all,

I have got the solution.

Actualy we need to concatenate the key fields in left to right seqeuence into a string of type vim_enqkey (CHAR 120) and pass it to varkey field.

So I am closing the thread as answered.

Regards,

Anirban

0 Kudos

Hi

If you dont specify any value there the system takes all the key fields into consideration

regards

Ramchander Rao.K

Former Member
0 Kudos

Hi

Check this Link

0 Kudos

Hi

In SE 11 create Lock Object . Pass name of table and fields for which Lock object is required to be set .

Activate Lock object . Two fuction Module will be created "ENQUEUE" and "DEQUEUE" . Pass these FM to Programme and accordingly pass paremeters .

Lock table contains Logical Database locks for R/3 system and is imp for SAP LUW .There

is one Appliaction server with enqueue work process .

Check this Link