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

FM to lock objects (BP)

Hello all,

Since the CRM development page is not working at the moment I post this question here.

I need to know if there is any FM that verifies if a Business Partner (object) is locked by a user.

Can you guys please help me with this? Thank you!

Felipe

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • Posted on Oct 19, 2005 at 03:46 PM

    If you know the table that the business partners are kept in, then there should be a lock object for that table. Check for the lock object in SE11. Click the radiobutton for lock object, put your cursor on the field next to it, and hit F4. In the dialog, click the button that will expand the selection area. Now enter the name of the table in the "basis table" field. click green check.

    Regards,

    Rich Heilman

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Oct 19, 2005 at 03:52 PM

    Hi Felipe!

    Easiest way to find the function module:

    Lock a business partner (enter in change transaction), go to transaction SM12, identify corresponding line, double click.

    There is a field lock object name.

    Name of FM is 'ENQUEUE_'+<lock object>.

    Try to set a lock with this FM.

    If it's possible, then there was no lock, release lock again with 'DEQUEUE_'+<lock_object>.

    If it's not possible, then there is already a foreign lock (or a wrong function call...).

    Regards,

    Christian

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Oct 20, 2005 at 06:12 AM

    Hi,

    try fm ENQUEUE_E_TABLE

    Andreas

    Add a comment
    10|10000 characters needed characters exceeded

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.