2010 Jun 08 11:09 AM
Hello Everybody,
I´m using BAPI_PO_CHANGE to modify an existing Purchase Order. It works fine. When it finishes, I execute a Bapi_transaction_commit and make a Call Transaction to MB01 but it gives me 'The PO 450000000 is blocked by MYUSER'.
Is there any way to unblock the PO?
Thanks!
2010 Jun 08 1:31 PM
Hi,
As suggested you use BAPI_PO_RELEASE and then LEAVE TO TRANSACTION 'MB01'. I think you are getting the error because when you call transaction the current processing block is preserved since when you fifnish the call the processing resumes from where the call was inititated.
Hope this helps.
Best Regards,
Navin Fernandes.
Hello Everybody,
I´m using BAPI_PO_CHANGE to modify an existing Purchase Order. It works fine. When it finishes, I execute a Bapi_transaction_commit and make a Call Transaction to MB01 but it gives me 'The PO 450000000 is blocked by MYUSER'.
Is there any way to unblock the PO?
Thanks!
2010 Jun 08 1:04 PM
You can use BAPI_PO_RELEASE. However, the changes that result in a PO getting blocked and needing to be released eg increasing the value of the PO will be defined in your config and should be there for a purpose, so perhaps you should find out first whether just releasing the PO straightaway in your program is appropriate.
2010 Jun 08 1:31 PM
Hi,
As suggested you use BAPI_PO_RELEASE and then LEAVE TO TRANSACTION 'MB01'. I think you are getting the error because when you call transaction the current processing block is preserved since when you fifnish the call the processing resumes from where the call was inititated.
Hope this helps.
Best Regards,
Navin Fernandes.
2010 Jun 09 5:03 AM
Hi,
Call BAPI_TRANSACTION_COMMIT with parameter WAIT = 'X'.
Regards
Vinod