Hi Experts,
This is SPROXY inbound interface and I am using BAPI_PO_CREATE1 for creating / changing Purchase orders.
For a single line item, the input quantity (passing into poitem and poshcedule) is working fine and created as expected (no doubling) but when we creating for multiple line items, the input quantity is doubling.
Please note, the input UOM is LB and the PO conversion (by the system settings and no ABAP logic is declared) quantity is to KG. But, as noted the conversion to KG is happening correctly in the 1st line item but it's doubling (to KG) from the 2nd line item.
Clear command used and noticed the quantity values were passed to the table parameters correctly as passed from the input.
After created, we noticed the PO was created with incorrect quantities (doubled) from line item 2, the line item 1 was posted correctly.
Any help on resolving is greatly appreciated.
Thanks.
Regards.