‎2014 Nov 15 2:29 PM
Hi all,
I am looking for a BAPI which has extensionin interface parameter to create Inbound delivery. I have searched the forums and got BBP_INB_DELIVERY_CREATE which works perfectly, but I don't have any option to transfer my custom fields value in this Function module.
Please share your thoughts if you have come across this scenario. We are into EHP7.
Thanks,
Karthikeyan
‎2014 Nov 16 11:36 PM
Check the function group V50I, there you will find:
BAPI_IBDLV_CREATE_FROM_OBDLV that creates an inbound delivery from an outbound delivery,
check also BAPI_INB_DELIVERY_SAVEREPLICA.
Regards,
Felipe
‎2014 Nov 16 11:37 AM
I doubt if function module BBP_INB_DELIVERY_CREATE is released for customer use.
‎2014 Nov 16 11:36 PM
Check the function group V50I, there you will find:
BAPI_IBDLV_CREATE_FROM_OBDLV that creates an inbound delivery from an outbound delivery,
check also BAPI_INB_DELIVERY_SAVEREPLICA.
Regards,
Felipe
‎2014 Nov 17 6:02 AM
Hi Felipe,
Yeah, I have checked that. I need to create an inbound delivery based on Purchase Order data. BAPI_IBDLV_CREATE_FROM_OBDLV - expects an outbound delivery, which I don't have at this point of time.
BAPI_INB_DELIVERY_SAVEREPLICA - HEADER_DATA expects the inbound delivery number. This FM is used to transfer the Inbound delivery to the the Warehouse system.
I have also checked GN_DELIVERY_CREATE. But I don't find any provision to send our custom fields using this FM.
Do you find any way to send the zfield data to GN_DELIVERY_CREATE.
Thanks,
Karthikeyan
‎2014 Nov 17 9:55 AM
I don't know if this is the most elegant way but you can create the inbound delivery with the function that you already know and then use BAPI_INB_DELIVERY_CHANGE to add your custom fields.
Regards,
Felipe
‎2014 Nov 17 10:18 AM
Our next process will be triggerred once the Inbound delivery is created, which depends on the value of the Zfield value. Also we don't want to have it as a 2 step process, first by creating & then by changing it. So we have decided to go with the below approach.
if anyone finds the more suitable approach, please update this thread.
Thanks,
Karthikeyan