Application Development and Automation 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: 
Read only

Locking customized data table with ENQUEUE_E_TABLE

Former Member
0 Likes
3,046

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
Read only

Former Member
0 Likes
1,756

Hi,

Check the below thread.

5 REPLIES 5
Read only

Former Member
0 Likes
1,757

Hi,

Check the below thread.

Read only

Former Member
0 Likes
1,756

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

Read only

0 Likes
1,756

Hi

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

regards

Ramchander Rao.K

Read only

Former Member
0 Likes
1,756

Hi

Check this Link

Read only

0 Likes
1,756

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