‎2006 Dec 11 10:44 PM
I'm using /AFS/BAPI_PO_CREATE to create POs and everything works fine until I pass an item with multiple schedule lines.
When you pass multiple schedules it is giving each of the schedule lines under an item the same grid value! So if I want to order one black, one white shirt... both grid values are changed to black when the PO is created.
I'm wondering if you need to pass some sort of sequence value into the BAPI when you have multiple schedule lines for an item. Does anyone know?
‎2006 Dec 12 1:54 AM
Hi Justin
Please make sure that you are specifying the <b>item number</b> while passing the ITEM Details and their correponding SCHEDULE lines.
Though i couldnt find FM: /AFS/BAPI_PO_CREATE in our system, i guess it is similar to BAPI_PO_CREATE.
Kind Regards
Eswar
‎2006 Dec 12 1:51 PM
I am definitely passing <b>item number</b> on both the schedule and item lines. I'm wondering if there is some sort of sequence number required in the schedule line table.
Message was edited by:
Justin Pepin