Skip to Content
0
Jul 11, 2007 at 06:10 AM

Can I add PO items using BAPI_PO_CHANGE?

81 Views

Hi,

currently I'm trying to use BAPI_PO_CHANGE to add another item to an already existing purchase order <i>(Rel. 4.6C - slightly out of date, I know 😉)</i>.

I therefore fill table parameters poitem, poitemx, poaccount und poaccountx. When I fill fields PO_ITEM in these tables with the expected new item no (e.g. adding a third item with # 30 to an PO with two existing items # 10 and # 20), I get in return the error message

<b>MEPO 071 Item 00030 does not exist</b>

Instead, with clearing fields PO_ITEM in these tables and letting the system compute item numbers by itself, I get for instance error message

<b>ME 083 Please enter costcenter</b>

Does anyone knoe a way to correctly add new PO items using this BAPI? SAP documentation is not very elaborate in this case 😔

Thanks in advance,

Klaus