‎2008 Jun 17 11:24 AM
Dear Friends,
I am using BAPI_PO_CHANGE and trying to set the delivery completed Indicator in the Purchase order.
Code is as below.
poitem-no_MORE_GR = 'X'.
poitem-deliv_compl = 'X'.
I am using BAPI_PO_CHANGE and BAPI_TRANSACTION_COMMIT both.
But even after running this, my Delivery completed Indicator in PO does'nt get checked.
Kindly help.
Thanks & Regards
‎2008 Jun 17 11:26 AM
‎2008 Jun 17 11:31 AM
‎2008 Jun 17 11:46 AM
Hi,
You need to pass the poitemx structure and pass the value as 'X' .
poitemx-no_MORE_GR = 'X'.
poitemx-deliv_compl = 'X'.
So that it will change the value of indicator. Otherwise just passing the value to poitem structure doesn't help.
-Umesh
‎2008 Jun 19 6:23 AM
I have changed poItemx and it's working for the POs without release strategy but if POs are with release strategy and release indicator is 4(Approved), this bapi is not working even after putting poheader release indicator to '1' and 'X' in the POheaderX. Kindly help.
‎2008 Jun 19 6:39 AM
Hi,
I think we cant change a PO which is already released.
Regards
Sandipan
‎2008 Jun 19 7:07 AM