Skip to Content
0
Former Member
Dec 11, 2006 at 10:44 PM

Help using /AFS/BAPI_PO_CREATE with multiple schedule lines

87 Views

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?