Hi All,
I am creating a new PO using BAPI_PO_CREATE1, this PO is generating successfully, after this PO is created I am passing this new PO number to BAPI_OUTB_DELIVERY_CREATE_STO, as stock_trans_item-ref_number = New PO number. But no new delivery is being created and I get error message as "No instance of object type OutboundDelivery has been created. External reference:" . But when I pass the same PO number in this BAPI using SE37, delivery is created successfully. I am not able to figure out the reason behind it. Can someone help me with this issue?