08-12-2009 12:26 PM
hi
i have a vbeln. i want to create delivery . i'm using these :BAPI_OUTB_DELIVERY_CREATE_SLS and BAPI_DELIVERYPROCESSING_EXEC but i don't create delivery .
you think how can i created delivery .
Note :BAPI_OUTB_DELIVERY_CREATE_SLS created delivery number but this program stoped after delivery number is ebsent.
Thanks.
08-12-2009 3:52 PM
After calling the BAPI use the BAPI BAPI_TRANSACTION_COMMIT to commit the delivery document then it will save the document.Otherwise its like you are simulating delivery but not creating.
08-12-2009 1:42 PM
check the following link
http://abapreports.blogspot.com/2008/06/bapi-code-for-outbound-delivery-change.html
08-12-2009 2:01 PM
Hi,
These Function Module help to create delivery.
BBP_INB_DELIVERY_CREATE
GN_DELIVERY_CREATE
SHP_VL10_DELIVERY_CREATE_PARA
RV_DELIVERY_CREATE_SINGLE
SHP_VL10_DELIVERY_CREATE
Regards,
Shamma
08-12-2009 3:00 PM
hi
i used this bapi ,BAPI_OUTB_DELIVERY_CREATE_SLS to create outbound delivery from sales order and return value was:
id = VL
message type= S
delivery number = 80004138
message = saved
and
id = BAPI
Message type = S
Message = OutboundDelivery 80004138 created external referance
Although it is a success message, eventually the delivery was not created when i checked document flow. Can you please help?
regards
08-12-2009 3:39 PM
hi
i used this bapi ,BAPI_OUTB_DELIVERY_CREATE_SLS to create outbound delivery from sales order and return value was:
id = VL
message type= S
delivery number = 80004138
message = saved
and
id = BAPI
Message type = S
Message = OutboundDelivery 80004138 created external referance
Although it is a success message, eventually the delivery was not created when i checked document flow. Can you please help?
regards
08-12-2009 3:52 PM
After calling the BAPI use the BAPI BAPI_TRANSACTION_COMMIT to commit the delivery document then it will save the document.Otherwise its like you are simulating delivery but not creating.
08-13-2009 8:31 AM
08-13-2009 11:44 AM
Hi again,
I could creat the outbound delivery document but I also have to post the goods issue with bapi. So I used BAPI_GOODSMVT_CREATE to post goods issue. But when i execute this bapi I get the following error message :
CODE is not supported by BAPI2017_GOODSMVT_CREATE
I use the parameters :
GOODSMVT_HEADER-PSTNG_DATe = due_date.
GOODSMVT_HEADER-DOC_DATE = due_date.
GOODSMVT_HEADER-REF_DOC_NO = DELIVERY.
can you help with this?
regards,
08-13-2009 12:02 PM
Hi,
Refer to this link...
http://www.sap-img.com/abap/bapi-goodsmvt-create-to-post-goods-movement.htm
Regards
Milan
08-21-2009 2:26 PM