‎2010 Mar 04 3:55 AM
Dear Experts,
I am using BAPI_PO_CREATE1 to create a purchase order. I am able to create a po for all normal process except for 'Sub-Contracting' process. I need to add componennts to the items and I am passing data to POCOMPONENTS and POCOMPONENTSX but I am getting the following error messages.
E
This function only possible for subcontracting items.
On the ME21n screen, we pass 'L' to item category to mark it as subcontracting item. How do I pass it in BAPI. There is no field in the bapi to pass 'L'.
Please help.
Regards,
M.Madhusudan Rao.
‎2010 Mar 04 4:02 AM
Hi,
try to Pass the item category to the BAPIMEPOITEM field ITEM_CAT equal to 'L' and
also pass BAPIMEPOITEMX field ITEM_CAT = 'X'
‎2010 Mar 04 4:02 AM
Hi,
try to Pass the item category to the BAPIMEPOITEM field ITEM_CAT equal to 'L' and
also pass BAPIMEPOITEMX field ITEM_CAT = 'X'
‎2010 Mar 04 4:13 AM
Hi Niraj,
Thanks for the quickest reply. I really wonder how I missed out Item_cat field in items table.
Now the BAPI is working
Regards,
Madhu.