‎2010 Sep 06 3:01 AM
Hi,
I met a problem when i using fm:bapi_po_create1 to upload a open po for Asset. the error data like this:
T ID NUM MESSAGE
E BAPI 001 No instance of object type PurchaseOrder has been created. External reference:
E MEPO 046 Purchase order item 00010 still contains faulty account assignments
W ME 330 Contract exists for this material group
E ME 083 Enter Asset
I search the related thread in SDN. Ii have enter a value for field 'asset_no" of "poaccount" table and the message told me to enter asset? and the message record two and three, i dont know how to solve it? Can anybody help about this?
Best Regards
Steven
‎2010 Sep 06 5:15 AM
Hi,
The message number 2 is either a configuration problem or you are passing the incorrect Account number to the BAPI and in both of the case the account number conflicts with the other configurations so it is showing the faulty account assignment.
The message number 3 is just the warning so it is not going to create any problem for you and take care of the message 2.
‎2010 Sep 06 5:55 AM
Hi,
Try to pass the poitem , quantity, costcenter, item number, tax code, asset no, sub asset number and internal order values in the account assignment table and also make the poaccountx table for all those fields with the item number.
‎2010 Sep 06 7:14 AM
The second message that you get in the BAPI is because there is some inconsistency in your account assignment table.
Since you know that you have to enter asset number. Once you do this your second message would be gone.
This kind of message generally appears for inconsistent data in any of your tables and this is succeded by the relevant error message below.
don't worry about the warning messages they won't hinder the process..
About first message it is generally to indicate if the PO was created or no.....
Simple check for all error messages and don't bother about messages like first and second one.....
Try fixing the fourth error and see if you find anything else....
Regards,
Lalit Mohan Gupta
‎2010 Sep 06 7:23 AM
Hi Steve,
Check if you have passed 'X' to POACCOUNTX-ASSET_NO?
Hope it helps
Sujay
‎2010 Sep 06 9:34 AM
Thanks buddy above which reply me. The problem is solved. It caused by the input without the prefix-zero.
maintain it met the length requirement and OK.
Best Regards
Steven