Is there other known FM that can be used to simulate deliveries aside from FM SD_SCD_SIMULATE_DELIVERIES
? This FM SD_SCD_SIMULATE_DELIVERIES
needs SALES_ORDER
as mandatory importing parameter and I don't have SALES_ORDER
. Please advise.
Thanks!
-CZa
For creating deliveries without reference to a sales order, you can use BAPI_OUTB_DELIVERY_CREATENOREF.
Parameter | Opt. | Description
Import
Export
Parameter | Opt | Direction | Description
Tables
DATES | | Import | Delivery date
DLV_ITEMS | | Import | Delivery items to be created without reference
SERIAL_NUMBERS | X | Import | Serial numbers
EXTENSION_IN | X | Import | Additional input data
DELIVERIES | X | Export | Generated deliveries
CREATED_ITEMS | X | Export | Generated delivery items
EXTENSION_OUT | X | Export | Additional output data
RETURN | X | Export | Error log
I'm not sure if there is such a BAPI that only simulates an outbound delivery. A workaround you could use is to call this BAPI without calling BAPI_TRANSACTION_COMMIT, and then do a ROLLBACK WORK in case there was already a COMMIT.