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

Issue in release of PO when triggered through Workflow using BAPI_PO_RELEASE

Hello All

I have a workflow which is triggered when there is a Down payment in the PO and at the end when release strategy and all is in place it should release the PO. I am using BAPI_PO_RESET_RELEASE and BAPI_PO_RELEASE when I am testing the BAPI stand alone in the method it changes my Release indicator from Blocked to unblock in ME29N but when the same thing happens through workflow the release indicator doesn't change. Kindly help me for the same. I am attaching the code I have written in the method.



Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    Posted on Oct 15, 2015 at 07:02 AM


    I suggest after every BAPI remove Wait up to statements and BAPI_TRANSACTION_COMMIT with WAIT parameter. Please try after this.

    Have you tested same in Business object methods SWO1 transaction?

    For temporary purpose, Add BAPIRETURN parameter as export in workflow. Then you can check in workflow log.

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member RUSHIKESH YEOLE

      Hi Rushikesh

      Yea this step is the last step and yes after the user decision has been taken. Yes this step is in the background. No there are no dumps . As I told when I doing the same thing through a program I am able to unblock the PO .Only through the workflow I am not able to do the same which is happening through the program.

      Can you please explain synchronous?

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.