09-10-2007 3:40 AM
Hi all, When I use BAPI_PO_CHANGE to delete PO items, I meet some problem.
My problem is that: when I use this BAPI to delete PO items, there are messages:
1, PO could not be changed using the Enjoy-BAPI
2, Purchase order still contains faulty items
3, Quantity delivered and invoiced smaller than quantity ordered
In ME23N, I delete the PO item manually, it has a warning message 'Quantity delivered and invoiced smaller than quantity ordered', but I still can delete it. When using BAPI, I can't delete. Can we ignore the warning message, and delete the PO using the BAPI?
09-10-2007 5:35 AM
Anyone can help me?
Can I use BAPI_PO_CHANGE to delete PO items even through there is warning message, for example 'Quantity delivered and invoiced smaller than quantity ordered', I can delete it manually in ME23N, but can not delete using the BAPI.
09-17-2007 10:27 AM
05-07-2010 1:10 AM
Hello Yu Huali,
I am having the same issue as described above and noticed you have a solution. I hope you can share your resolution. Thank you.
05-07-2010 5:14 AM
Hello ,
you need to pass
PO_ITEM-DELETE_IND = 'X'
PO_ITEMX-DELETE_IND = 'X'
and then commit work if no error encountered.
regards
Johnny Taghoy