Skip to Content
avatar image
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.

Thanks

Aditi

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

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

    HI,

    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 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?