Skip to Content
author's profile photo Former Member
Former Member

Locking customized data table with ENQUEUE_E_TABLE

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

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Best Answer
    Posted on Nov 28, 2008 at 04:19 AM

    Hi,

    Check the below thread.

    Enque and Deque

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 28, 2008 at 05:27 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 23, 2008 at 06:40 AM

    Hi

    Check this Link

    enqueueetable-and-dequeueetable

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      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

      enqueueetable-and-dequeueetable

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.