Skip to Content
author's profile photo
Former Member

Check whether FB02 document is locked by another user

Hi All,

Is there any FM which tells that FI document number used by transaction FB02 is in use by another user or in another words how to know whether document number is already queued by another process.

Thanks,

Mark

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

4 Answers

  • author's profile photo
    Former Member
    Posted on Dec 01, 2008 at 09:12 AM

    You can check transaction SM12. Just remove 'user name' and press 'Enter',you can see locked entries by all users.

    Regards,

    Aparna.

    Add comment
    10|10000 characters needed characters exceeded

  • Posted on Dec 01, 2008 at 09:13 AM

    Hi,

    This is a standard Tcode hence the SAP already taken care of this they use ENQUE Function Modules

    which you can create in Tcode SE11

    Try open the Tcode in 2 diff sessions and give the same document numbers

    Hope this will solve your purpose.

    regards

    Ramchander Rao.K

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo
    Former Member
    Posted on Dec 01, 2008 at 08:28 PM

    Hi Mark,

    Use the FM

    call function 'ENQUEUE_EFBVOR'

    exporting

    bvorg = x_bvorg

    belnr = x_belnr

    exceptions

    foreign_lock = 1

    others = 2.

    to lock the posting document.

    Regards

    Raj

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo
    Former Member
    Posted on May 03, 2011 at 11:41 AM

    This message was moderated.

    Add comment
    10|10000 characters needed characters exceeded