Sapass

 Simplify SAP R/3 development with Excel VBA/VB RFC  
Home> Bapi>Shipment



Index

Shipment

Shipment


The business object Shipment is a combination of goods created
at a transportation planning point that are transported together from
the points of departure to the corresponding destinations. It is the
basis for planning, carrying out and monitoring actual physical transportation of goods.

Structure

A distinction is made between shipments for the transportation of goods
from vendors to the company (inbound shipment) and shipments for the
transportation of goods from the company to customers (outbound shipment).


An item from an inbound shipment contains the goods referred to in a
shipping notification. Correspondingly, an item in an outbound shipment contains the goods described in a sales delivery.


The geographical details of the itinerary for the shipment and the
required activities for the shipment are described in the shipment stages.


11-Dec-2005


Methods

Available Methods


  • CostEstimate : Calculate Shipment Costs of Different Forwarding Agents for Shipment [ BAPI_SHIPMENT_COST_ESTIMATE ]
  • CreateFromData : Create Shipment [ BAPI_SHIPMENT_CREATE ]

11-Dec-2005


CostEstimate

CostEstimate


No document is available


11-Dec-2005


CreateFromData

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.


11-Dec-2005