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. |