Hello,
I'm trying to use this BAPI for a PO that I can create with ME21n, so I'm asking you what can be wrong with my input data. Here are the facts:
A - Message returned: KI / 265: Cost Center 1000 / 1000 does not exist;
B - Account Assignment Category = 'K' (Cost Center);
C - G/L account exists and is valid for the PO date;
D - Cost center exists and is valid for the PO date;
Here's how I'm filling the POACCOUNT table (one item only)
PO_ITEM = 00010
SERIAL_NO = 01
CREAT_DATE = 20.10.2009
GL_ACCOUNT = 614000
COSTCENTER = 1000
CO_AREA = 1000
In the POACCOUNTX table I filled the appropriate fields
Please remind that the PO enters fine with ME21n.
Any clues?
Regards,
Joã