Fonction SAP BAPI_SHIPMENT_CREATE - Create Shipment

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
HEADERDATA BAPISHIPMENTHEADER u 666 Shipment BAPI, Header Data

Paramètre Reférence Type Long. Description
SHIPMENTGUID BAPISHIPMENTIDS-GUID C 22 Globally Unique Identifier (Linked to Time Segment, etc)
TRANSPORT BAPISHIPMENTIDS-SHIPMENTNUM C 10 Shipment Number

Paramètre Reférence Long. Facultatif Description
ADDRESS BAPISHIPMENTADDRESS 1276 X Shipment BAPI, Addresses
HDUNHEADER BAPISHIPMENTHDUNHEADER 450 X Shipment BAPI, Handling Unit Header Data
HDUNITEM BAPISHIPMENTHDUNITEM 235 X Shipment BAPI, Handling Unit Items
HEADERDEADLINE BAPISHIPMENTHEADERDEADLINE 24 X Shipment BAPI, Deadlines
ITEMDATA BAPISHIPMENTITEM 14 X Shipment BAPI, Items
ITEMONSTAGE BAPISHIPMENTITEMONSTAGE 14 X Shipment BAPI, Items on Stages
RETURN BAPIRET2 548 Return Parameter
STAGEDATA BAPISHIPMENTSTAGE 339 X Shipment BAPI, Stages
STAGEDEADLINE BAPISHIPMENTSTAGEDEADLINE 28 X Shipment BAPI, Deadlines

Functionality
This function module creates a new shipment based on the data suppliedin the ERP System.
The global data for the shipment must be specified in structureHEADERDATA. To create a shipment, the system needs to know the shipmenttype. The shipment number is optional and is taken from the appropriatenumber range and returned if it was not specified explicitly. Thetransportation planning point is also optional and can be determinedbased on Customizing settings.
Global dates for the shipment (start of shipment, start of loading, andso on) can be supplied by table HEADERDEADLINE. Which deliveries shouldbe assigned to the shipment needs to be specified in table ITEMDATA. Thedata 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 startingpoint and destination, the deliveries are assigned to stages using tableITEMONSTAGE. The addresses of the stage starting points and destinationscan be specified in detail from table ADDRESS. Tables HDUNHEADER andHDUNITEM let you inform the shipment that the deliveries should bepacked and which shipping units should be used.
After the function module is called, table RETURN contains all the logentries generated during the process.

Description
This parameter returns the generated GUID (internationally unique key)for the transport in the receiving system.

Description
This parameter returns the transport number generated in the receivingsystem.

Description
The general header data for the transport are copied into thisstructure.

Description
Address data that is different from the partner's master data is madeavailable in this parameter table.

Description
The header data for the handling units are copied into this table.

Description
The item data for the handling units are copied into this table.

Description
The header dates are copied into this table in time stamp format(YYYYMMDDHHMMSS). The separate date fields are qualified as follows inthe BAPIDLVDEADLN-TIMETYPE field:
- WSHDRLFDAT Delivery date
- WSHDRWADAT Goods issue date (Plan)
- WSHDRLDDAT Loading date
- WSHDRTDDAT Transportation planning date
- WSHDRKODAT Pick date

Description
This table contains the transport items, in other words, the numbers ofthe deliveries belonging to the transport and the number of theitinerary.

Description
The assignments of transportation items to shipment stages are copiedinto this table.

Description
Any messages are collected here, and the calling program is returned.

Description
The data for shipment stages is copied into this table.

Description
This table contains the dates for the shipment stages.

724274Batch input capability of new shipment transactions
791894Too many handling units provided
424327Activity profile in shipment processing