on 05-16-2006 3:04 AM
Hello...
I am using BAPI_SHIPMENT_CREATE for the creation of shipment document... I don't know what are the obligatory fields which I need to pass to create the shipment document... Please guide ... any example...
Thanks
Ankur
Hi Ankur,
Please check standard SAP program <b>SDVTTK01</b> for sample codes. This program uses BAPI_SHIPMENT_CREATE.
CALL FUNCTION 'BAPI_SHIPMENT_CREATE'
EXPORTING
HEADERDATA = HEADERDATA
IMPORTING
SHIPMENTGUID = SHIPMENTGUID
TRANSPORT = OBJECT-KEY-TRANSPORT
TABLES
ADDRESS = ADDRESS
HDUNHEADER = HDUNHEADER
HDUNITEM = HDUNITEM
RETURN = RETURN
ITEMONSTAGE = ITEMONSTAGE
STAGEDEADLINE = STAGEDEADLINE
STAGEDATA = STAGEDATA
ITEMDATA = ITEMDATA
HEADERDEADLINE = HEADERDEADLINE
EXCEPTIONS
OTHERS = 01.
Hope this will help.
Regards,
Ferry Lianto
Please reward points if helpful.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ankur,
Here are the details...
Global dates for the shipment (start of shipment, start of loading, and so on) can be supplied by table HEADERDEADLINE. Which deliveries should be assigned to the shipment needs to be specified in table ITEMDATA. The data for the shipment stages is taken from table STAGEDATA. gelesen. Dates can also be supplied for each stage (table STAGEDEADLINE). Because not all deliveries necessarily need to have the same starting point and destination, the deliveries are assigned to stages using table ITEMONSTAGE. The addresses of the stage starting points and destinations can be specified in detail from table ADDRESS. Tables HDUNHEADER and HDUNITEM let you inform the shipment that the deliveries should be packed and which shipping units should be used.
After the function module is called, table RETURN contains all the log entries generated during the process.
Cheers,
Nilesh
Hi Ankur,
U need to pass these fields :
Header data : GUID,SHIPMENT_TYPE,TRANS_PLAN_PT,SHIPMENT_ROUTE,CONTAINER_ID, EXTERNAL_ID_1.
Itemdata : DELIVERY number, Itwem number
If found useful, award poinrs please...
Regards,
Bharadwaj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ankur,
Shipment type needs to be passed which is part of the header data and the deliveries assigned to shipment needs to be passed which is part of item data (ITEMDATA).
Regards,
Arun.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.