TPSSHT01 - Create/Change/Delete Shipment
IDoc TPSSHT01 is used for data transfer in both directions between the R/3 system and the forwarding agent. The structure of the IDoc represents a shipment document, although it will be in a form that differs in part from that used in the R/3 system.
During TPS -> R/3 communication, IDoc TPSSHT01 is used to transfer planned, changed or deleted shipment documents. The individual segments occur as shown in the following table.
During R/3 ->TPS communication, IDoc TPSSHT01 is only transmitted with the shipment header and the action code. It is only used to confirm the status of an externally planned shipment in the TPS (changeable / non-changeable).
Segment |
Segment name |
Mandatory segment |
Number |
Shipment header |
E2TPSHH |
X |
1 |
Action code |
E2TPACC |
X |
1 |
Costs |
E2TPFRC |
n | |
Process |
E2EDT10 |
n | |
Means of transport |
E2TPEQT |
n | |
Means of transport dimensions |
E2TPDIS |
1 | |
Transportation points |
E2TPSLS |
n | |
Location identification |
E2TPTRM |
X |
1 |
Address |
E2TPLOC |
1 | |
Process |
E2EDT17 |
n | |
Leg data |
E2TPSHT |
1 | |
Action |
E2TPSHA |
n | |
Deliveries |
E2TPSHI |
n | |
Delivery costs |
E2TPDLC |
n | |
Railway data |
E2TPSHR |
n |
This IDoc contains a segment E2TPSLS and sub-segments for the description of the geographic processing of a shipment (load transfer point). A sequence of locations with the corresponding actions at that location is described in this part of the IDoc.
In the SAP R/3 system, this is carried out using a sequence of legs (links from one location to another) as well as with load transfer points and border crossing points in the shipment document. Generally, legs and border crossing points/load transfer points are represented as stages of a shipment (table VTTS). Deliveries can also be assigned to a stage (table VTSP).
For this reason, conversion is necessary when processing the incoming IDoc. The rules for conversion are explained for each segment.
If ACTCD = X, only segments: SHH; ACC; SHI