‎2004 Oct 22 10:45 AM
Hi Everyone,
Does anybody know of any BAPI to create an outbound delivery?
I have a java application that will pass in the sales order number to SAP, and SAP must perform an outbound delivery for this sales order automatically.
If there is no BAPI, what is the best alternative method?
Best Regards,
Junwen
‎2004 Oct 26 6:51 PM
BAPI_DELIVERYPROCESSING_EXEC
Can be used to deliver preceding documents like a sales order.
Best regards Jack Graus
‎2004 Oct 22 1:31 PM
Hi Junwen,
Try if this BAPI works
"BAPI_OUTB_DELIVERY_SAVEREPLICA"
Regards,
Srini
‎2004 Oct 25 1:22 AM
Hi,
BAPI_OUTB_DELIVERY_SAVEREPLICA requires delivery number as input. However, at the point when I pass in the information from the Java system, I will only have the sales order data. Thus, I can't use this BAPI?
Best Regards,
Junwen
‎2004 Oct 25 6:57 AM
M not sure. But there is one BAPI_SALESORDER_CREATEFROMDAT2.
‎2004 Oct 25 9:27 AM
Hi Everyone,
Will the use of IDOC help anyway in this solution? Suppose I design a form in my Java system, have user enter the required information and throw it out to SAP as an IDOC document?
However, how then do I link this document to the sales order previously created in SAP?
Best Regards,
Junwen
‎2004 Oct 26 6:51 PM
BAPI_DELIVERYPROCESSING_EXEC
Can be used to deliver preceding documents like a sales order.
Best regards Jack Graus
‎2004 Oct 27 5:25 AM
Hi Jack,
This BAPI works! It does allows me to create a DO for the sales order. Thank you!
I was trying to create the DO via BDC. This BAPI reduces a lot of work. However, the BAPI does not post a goods issue automatically, unlike when using BDC.
I tried using BAPI_GOODSMVT_CREATE but it seems that this BAPI does not support Goods Issue for DO as I got the error message 'Goods Movement not possible with mvmt type 601'.
Best Regards.
Junwen
‎2004 Dec 08 5:09 PM
We do the posting in two steps, create the delivery with the BAPI, then use a BDC on VL02 (very small) to do the PGI.
I am currently having a problem with the BAPI. I have a valid table of requests, but i get no delivery items, and nothing returned in the return table. so, i have no way of knowing what about the delivery the system did not like. any ideas?
‎2004 Dec 09 12:03 AM
Hi David,
Does calling BAPI_TRANSACTION_COMMIT help?
I also solved the outbound delivery problem via two steps, first is via BAPI_DELIVERYPROCESSING_EXEC, then via BDC to cater to the batch split.
Best Regards,
Junwen
‎2005 May 17 9:29 PM
Hey Junwen, i am trying to do exactly what you described in step one minus the goods issue. Did you have any trouble with this BAPI as it says in the function help that this is for internal use only. I am concerned that this bapi might cause problems if SAP were to change it without notification.
As well, if not too much trouble can you send me a list of parms you used to populate this bapi (test mode). I am having trouble gettting my sales order to deliver.
Thanks again. I hope this is not too much of a request.
Just really stuck.....
‎2005 Jul 01 4:17 PM
Hello,
i have the same problem,
can you send me an example of use of BAPI_TRANSACTION_COMMIT?
‎2005 Jul 01 4:17 PM
Hello,
i have the same problem,
can you send me an example of use of BAPI_DELIVERYPROCESSING_EXEC?
‎2005 Jul 01 7:32 PM
Hello,
i have the same problem,
can you send me an example of use of BAPI_DELIVERYPROCESSING_EXEC?
‎2005 Jul 01 8:43 PM
fyi all - there is actually an unreleased IDoc - DELIVERYPROCESSING_EXECUTE01 and corresponding inbound function module IDOC_INPUT_DELIVERYPROCESSING_ that then call the BAPI listed previously BAPI_DELIVERYPROCESSING_EXEC... unfortunately these are all still in the status unreleased!
‎2005 Jul 06 7:07 PM
Though it's not a BAPI formatted Function Module, we are using RV_DELIVERY_CREATE to create an outbound delivery.
For updating pick qty and do PGI, we are using SD_DELIVERY_UPDATE_PICKING_1.
Hope that can help you.
‎2006 Feb 14 1:10 AM
Hello Junwen...
i have the same problem,
can you send me an example of use of BAPI_DELIVERYPROCESSING_EXEC?
‎2006 May 02 8:09 PM
Hi Jonathan,
Would you be able send sample test data for SD_DELIVERY_UPDATE_PICKING_1 FM? Is it necessary to have a Warehouse Transfor Order in order to do the picking using this FM?
Thanks a lot.
‎2006 Apr 13 11:10 AM
I have a java application that will pass in the sales order number to SAP.but i can't use any bapi create an outbound delivery.
can you give me a create outbound delivery java source code.i see you have resolve this pro.
thank very much
‎2006 Aug 16 2:26 PM
Hello
you can create the picking confirmation and the goods issue posting by using the IDOC interface based on IDOC-Type DELVRY03, Message type WHSCON
See docu in http://help.sap.com/saphelp_46c/helpdata/en/34/60aed5ae724effe10000009b38f91f/frameset.htm
Best regards
Rauno