‎2008 Mar 14 6:07 AM
Hi Experts,
I am using BAPI_PO_CREATE1 for creating POs from a file
While creating, I am getting the following error
"Account assignment mandatory for material". The materials I am using in the file do not have account assignment category.
And not linked with any cost center or accounting.
Then why the BAPI is asking for account assignment?
While creating PO manually using ME21N transaction, I am not getting any error for the materials in the file. I guess while populating data into BAPI, there is some tweak to be done to avoid this error. Please suggest
Thanks
Ricky
‎2008 Mar 14 2:37 PM
‎2008 Mar 14 3:00 PM
Hello,
Can you checkup the format of material just before submission to BAPI in debugger? It is in table BAPIMEPOITEM-MATERIAL. Probably, you need to use conversion routine CONVERSION_EXIT_MATN1_INPUT.
Thanks,
Venu