Skip to Content
0
Oct 21, 2009 at 04:55 PM

BAPI_PO_CREATE1 - PO not created due to wrong account assignment

782 Views

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ã