CreateFromData
This function module creates a new shipment based on the data supplied in the R/3 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 appropriate
number range and returned if it was not specified explicitly. Thetransportation planning point is also optional and can be determined based on Customizing settings. Global dates for the shipment (start of shipment, start of loading, andso 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 (tableSTAGEDEADLINE). Because not all deliveries necessarily need to have
the same starting point and destination, the deliveries are assigned tostages using table ITEMONSTAGE. The addresses of the stage startingpoints 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.
|