03-26-2008 8:56 AM
Hi ,
What is the filed name to pass the QUANTITY in the lineitems table*(PO_ITEMS) for the Bapi BAPI_PO_CREATE.
I have to use BAPI_PO_CREATE and not BAPI_PO_CREATE1 beacuse i have to pass multiple DELIVERY SCHEDULES and BAPI_PO_CREATE1 will not suit for multiple delivery schedules
FIleld name DISP_QUAN is not accepting the Quantity and showing the error as ENTER QUANTITY
when BAPI is executed.
Regards
Ajay
03-26-2008 11:28 AM
BAPIMEPOITEM-QUANTITY can be used for that.
it will be there @ POITEM-QUANTITY
g_bapimepoitem-po_item = it_itab-po_item.
g_bapimepoitem-short_text = it_itab-short_text.
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
EXPORTING
input = it_itab-material
IMPORTING
output = it_itab-material.
g_bapimepoitem-material = it_itab-material.
g_bapimepoitem-plant = it_itab-plant.
*g_bapimepoitem-quantity = it_itab-quantity.*
APPEND g_bapimepoitem.
Reward if useful.
03-26-2008 11:28 AM
BAPIMEPOITEM-QUANTITY can be used for that.
it will be there @ POITEM-QUANTITY
g_bapimepoitem-po_item = it_itab-po_item.
g_bapimepoitem-short_text = it_itab-short_text.
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
EXPORTING
input = it_itab-material
IMPORTING
output = it_itab-material.
g_bapimepoitem-material = it_itab-material.
g_bapimepoitem-plant = it_itab-plant.
*g_bapimepoitem-quantity = it_itab-quantity.*
APPEND g_bapimepoitem.
Reward if useful.