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

Unlock PO

Hi,

I want to release service entry sheet associated with a Purchase order. I am using 'BAPI_ENTRYSHEET_RELEASE'' to release the Service entry sheet.

The issue here is when a PO has multiple service entry sheet associated with it, this BAPI releases the first one and for all other ones it errores out saying 'PO is being processed by <user>' where as PO is not locked by any one.

I used BAPI_TRANSACTION_COMMIT passing 'X' after this BAPI but still this error is coming up.

Let me know how can this be handled. I was thinking of explicitly releasing the lock on PO after BAPI gets executed.

Regards,

Shahu

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

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

    Verify through t-code SM12 that no database locks exist that you have not seen yet.

    Add a comment
    10|10000 characters needed characters exceeded

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

    Resolved this by adding wait of 3 seconds.

    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.