Verification of Shipping Unit Data 
The IDOC SDPAID01 is used to verify the packaging in the delivery document.
It comprises three segments, namely E2VPACD (delivery reference), E2VPACD (header data for shipping element) and E2VPACI (item data).
You must maintain the partner profile input for the message type SDPACK. The segments and their possible applications are described in the following.
E2VPACD
Fields |
Format |
Designation |
Req. |
Comments |
VBELN |
CHAR 10 |
Delivery |
X |
Establishes a reference to the delivery |
E2VPACH
Fields |
Format |
Designation |
Req. |
Comments |
EXIDV |
CHAR 20 |
External shipping unit ID |
X |
|
EXIDA |
CHAR 1 |
Type of external shipment ID |
||
VSTEL |
CHAR 4 |
Shipping point |
||
LSTEL |
CHAR 2 |
Loading point |
||
BRGEW |
CHAR 15 |
Total weight |
Unit GEWEI_MAX | |
NTGEW |
CHAR 15 |
Loading weight |
Unit GEWEI_MAX | |
MAGEW |
CHAR 15 |
Allowed weight |
Unit GEWEI_MAX | |
TARAG |
CHAR 15 |
Tare weight |
Unit GEWEI | |
GEWEI |
CHAR 3 |
Unit of weight |
||
BTVOL |
CHAR 15 |
Total volume |
Unit VOLEH_MAX | |
NTVOL |
CHAR 15 |
Loading volume |
Unit VOLEH_MAX | |
MAVOL |
CHAR 15 |
Allowed volume |
Unit VOLEH_MAX | |
TAVOL |
CHAR 15 |
Tare volume |
Unit VOLEH | |
VOLEH |
CHAR 3 |
Volume unit |
||
ANZGL |
CHAR 5 |
R/2 table |
Function currently not implemented | |
ERNAM |
CHAR 12 |
Name of the user who created the object |
||
ERDAT |
DATS D 8 |
Date on which the record was created |
||
ERUHR |
TIMS T 6 |
Entry time |
||
AENAM |
CHAR 12 |
Name of user who changed record |
Function currently not implemented | |
AEDAT |
DATS D 8 |
Changed on |
Function currently not implemented | |
AEZET |
TIMS T 6 |
Time last change was made |
Function currently not implemented | |
SORTL |
CHAR 10 |
Sort field |
||
VEGR1 |
CHAR 5 |
Shipping unit group 1 |
Spare for customer | |
VEGR2 |
CHAR 5 |
Shipping unit group 2 |
Spare for customer | |
VEGR3 |
CHAR 5 |
Shipping unit group 3 |
Spare for customer | |
VEGR4 |
CHAR 5 |
Shipping unit group 4 |
Spare for customer | |
VEGR5 |
CHAR 5 |
Shipping unit group 5 |
Spare for customer | |
VHILM |
CHAR 18 |
Shipping material |
X |
Material number of shipping material |
LAENG |
CHAR 13 |
Character field 13 digits |
Function currently not implemented | |
BREIT |
CHAR 13 |
Character field 13 digits |
Function currently not implemented | |
HOEHE |
CHAR 13 |
Character field 13 digits |
Function currently not implemented | |
MEABM |
CHAR 3 |
Field length of 3 bytes |
Function currently not implemented | |
ERLKZ |
CHAR 1 |
Status (at this time without functionality) |
Function currently not implemented | |
GEWTO |
CHAR 3 |
Weight tolerance |
Function currently not implemented | |
VOLTO |
CHAR 3 |
Volume tolerance |
Function currently not implemented | |
MEINS |
CHAR 3 |
Unit of measure |
Function currently not implemented | |
VOLEH_MAX |
CHAR 3 |
Volume unit |
||
GEWEI_MAX |
CHAR 3 |
Unit of weight |
||
INHALT |
CHAR 40 |
Description of shipping unit content |
Text field, freely definable | |
WERKS |
CHAR 4 |
Plant |
see note | |
PSTYV |
CHAR 4 |
SD document item category |
see note | |
LADLG |
CHAR 6 |
Loading weight |
in loading unit of length | |
LADEH |
CHAR 3 |
Loading unit of length |
||
FARZT |
CHAR 6 |
Journey time |
||
FAREH |
CHAR 3 |
Journey time unit |
||
ENTFE |
CHAR 6 |
Distance travelled |
||
EHENT |
CHAR 3 |
Unit of distance |
||
LGORT |
CHAR 4 |
Storage location |
see note | |
GEWFX |
CHAR 1 |
Weight and volume fixed |
E2VPACI
Fields |
Format |
Designation |
Versions | ||
EXIDV_OB |
CHAR 20 |
ID of the (preceding) shipping unit in which goods are packed |
1 |
2 |
3 |
EXIDV |
CHAR 20 |
Following shipping unit ID |
1 |
||
VBELN |
CHAR 10 |
Delivery |
2 |
3 | |
POSNR |
NUMC N 6 |
Delivery item |
2 |
||
TMENG |
CHAR 15 |
Packed quantity |
2 |
3 | |
VRKME |
CHAR 3 |
Field length of 3 bytes |
|||
MATNR |
CHAR 18 |
Material number |
3 | ||
CHARG |
CHAR 10 |
Batch number |
3 | ||
The following matrix maps the possible IDOC applications:
E2VPACD = D
E2VPACH = H
E2VPACI = I
At least one E2VPACD and one E2VPACH must be sent.
SDPAID01 options
Segments |
Version |
Meaning |
D + H |
Reporting a shipping element without reference to the delivery item | |
D + H + I |
1 |
Reporting a shipping element in the shipping element (EXIDV in EXIDV_OB) |
D + H + I |
2 |
Reporting packed delivery items. The material number and batch need not be specified if the item is specified |
D + H + I |
3 |
Reporting packed materials with quantities and batch. Version 3 is necessary as additional delivery items that are not yet known to the external system are generated in the event of a batch split |
A shipping unit consists of a single packing material, the shipping material (SHM). One shipping material is a material with material type VERP. Each material (regardless of the material type) that is to be packed must be assigned to an shipping material group (SHM group). This partitioning of materials takes place in the material master record. This way, a check is made as to whether a particular packaging for a material is permitted. For this purpose, the shipping materials are assigned to a shipping material type (SHM type). You also maintain this characteristic in the material master record. The assignment of the SHM group group to the SHM type determines what materials are permitted. You define SHM groups and SHM types and their assignments in Customizing (Shipping/Packaging).


Irrespective of how the shipping element is reported, it is possible to specify in the SD customizing application whether a shipping element is to generate a delivery item so that it can then be invoiced and processed by the Inventory Management system or whether it is merely to be noted in the delivery for information purposes. As a rule, the associated plant or storage location is determined automatically in this case. This can, however, be specified explicitly in the fields WERKS and LGORT. If the plant (and also the storage location) are automatically specified, a determination rule must be stored in the SHM type (see above). The same applies for the field PSTYV (item type). An item type can be stored in Customizing (Shipping/Delivery/Item type search) for the usage PACK.