IDoc for Sending TOs to an External System
Definition
You use IDoc WMTOID01 or WMTOID02, in the Warehouse Management system (WMS), in order to send data from transfer orders from the WMS to connected external systems.
The following describes IDoc WMTOID02 only.
Use
The WMS creates a transfer order for every warehouse movement, regardless of whether the movement is a putaway, stock removal, stock transfer, or a posting change. The WMS transfers the transfer order data to the connected external system in the form of IDoc WMTOID02.
The external system requires a precise division of warehouse movements according to type. You should differentiate between the transfer orders according to the respective warehouse movement type.
Which IDoc the system fills and sends to the external system depends on several criteria:
Criteria |
Details |
Warehouse movement type |
|
Movement type |
Defining the movement type You define, for example, whether the goods receipt date should be set during putaway. |
Transfer order initiator |
|
Storage unit managed (SU-managed) storage types |
If SU-managed storage types are affected by the warehouse movement, the system transfers the numbers of the storage units involved.
If you transfer the complete SU, both SU numbers are the same. If you transfer material from one SU to another, the system transfers both SU numbers involved. |
You determine the content on the IDoc for the individual customers. We recommend creating test transfer orders for transmission to the external system, so that you can check the content of the IDocs, which the system creates.
Structure
Message Type
You define the outbound partner profile for message type WMTORD.
Segments
IDoc WMTOID02 is made up of the following segments:
Segment definition E2LTORH004 (TA header) (released as of SAP R/3 4.6C)
Field |
Format |
Description |
Required Entry |
Note |
LGNUM |
CHAR 3 |
Warehouse number |
X |
Activate linkage in warehouse number first |
TANUM |
NUMC 10 |
Transfer order number |
||
BWLVS |
NUMC 3 |
Movement type Warehouse Management |
X |
|
TBPRI |
CHAR 1 |
Transfer priority |
||
TRART |
CHAR 1 |
Transfer type |
E = Putaway, A = Stock Removal U = Stock Transfer |
|
REFNR |
CHAR 10 |
Group |
Grouping individual TOs possible |
|
BETYP |
CHAR 1 |
Requirement type |
||
BENUM |
CHAR 10 |
Requirement number |
||
KZPLA |
CHAR 1 |
Planned TO |
||
PLDAT |
DATS 8 |
Planned execution date |
||
PLZEI |
TIMS 6 |
Planned execution time |
||
LZNUM |
CHAR 20 |
Additional reference number to transfer |
||
BNAME |
CHAR 12 |
User name |
||
KISTZ |
CHAR 1 |
Actual time required in TO |
||
KZLEI |
CHAR 1 |
Performance Data |
||
PERNR |
NUMC 8 –R- |
User’s personnel number |
||
SOLWM |
QUAN 15 |
Planned processing time from WMS |
||
SOLEX |
QUAN 15 –R- |
Planned processing time from external system |
Processing time determined externally, which is added to the internally determined processing time to calculate performance (useful in special cases, when the internal logic does not cover all details) |
|
ISTWM |
QUAN 15 |
Actually time of WMS transfer order |
||
ZEIEI |
UNIT 3 |
Time unit for performance data |
||
STDAT |
DATS 8 |
TO start date |
||
ENDAT |
DATS 8 |
TO end date |
||
STUZT |
TIMS 6 |
TO start time |
||
ENUZT |
TIMS 6 |
TO end time |
||
L2SKA |
CHAR 1 |
Type of TO within 2-step picking |
||
LGTOR |
CHAR 3 |
(Goods receipt/issue) gate of warehouse number |
||
LGBZO |
CHAR 10 |
Staging area of warehouse number |
||
NOSPL |
CHAR 1 –R- |
No TO split |
The split criteria predefined in the system are ignored |
|
SWABW |
NUMC 4 |
Threshold value of variance from planned/actual time in TO |
Determined during TO creation and adopted in the outbound IDoc |
|
AUSFB |
CHAR 4 |
TO processing comment code |
Allows confirmation of an indicator for TO execution |
|
VBTYP |
CHAR 1 |
Sales document type |
The preceding document to which the TO refers (for example, inbound delivery, outbound delivery, return delivery) |
|
QUEUE |
CHAR 10 |
Queue |
||
KGVNQ |
CHAR 1 |
Separate confirmation possible |
||
TAPRI |
NUMC 2 |
TO priority |
||
INCOM |
CHAR 1 |
Create transfer order, even if the requested quantity is only partly met. |
||
KVQUI |
CHAR 1 |
Confirmation of stock removal occurs |
Fields of segment E2LTORI004 (TO items) (released as of release 6.20)
Field |
Format |
Description |
Required Entry |
Note |
TAPOS |
NUMC 4 |
Transfer order item |
X |
|
MATNR |
CHAR 18 |
Material number |
||
WERKS |
CHAR 4 |
Plant |
X |
|
CHARG |
CHAR 10 |
Batch number |
X |
If material is subject to batch management |
BESTQ |
CHAR 1 |
Stock category in Warehouse Management system |
X |
If stock has category |
SOBKZ |
CHAR 1 |
Special stock indicator |
X |
If special stock |
LSONR |
CHAR 24 |
Special stock number |
X |
If special stock |
MEINS |
UNIT 3 |
Base unit of measure |
X |
|
LETYP |
CHAR 3 |
Storage unit type |
||
KZQUI |
CHAR 1 |
Subject to confirmation |
See IDoc for Confirming TOs |
|
KZNKO |
CHAR 1 |
Execute zero stock check |
||
WEMPF |
CHAR 12 |
Goods recipient |
||
ABLAD |
CHAR 25 |
Unloading point |
||
WDATU |
DATS 8 |
Goods receipt date |
||
WENUM |
CHAR 10 |
Goods receipt number |
||
WEPOS |
NUMC 4 |
Goods receipt item |
||
ZEUGN |
CHAR 10 |
Certificate number |
||
VLTYP |
CHAR 3 |
Source storage type |
X |
|
VLBER |
CHAR 3 |
Source storage area |
X |
|
VLPLA |
CHAR 10 |
Source storage bin |
X |
|
VPPOS |
CHAR 2 |
Item in source storage bin |
||
VSOLM |
QUAN 15 |
Source target quantity in stockkeeping unit |
X |
|
NLTYP |
CHAR 3 |
Destination storage type |
X |
|
NLBER |
CHAR 3 |
Destination storage area |
X |
|
NLPLA |
CHAR 10 |
Destination storage bin |
X |
|
NPPOS |
CHAR 2 |
Item in source storage bin |
||
NSOLM |
QUAN 15 |
Destination target quantity in stockkeeping unit |
X |
|
RLTYP |
CHAR 3 |
Return storage Type |
||
RLBER |
CHAR 3 |
Return storage area |
||
RLPLA |
CHAR 10 |
Return storage bin |
||
RPPOS |
CHAR 2 |
Item in return storage bin |
||
RSOLM |
QUAN 15 |
Return target quantity in stockkeeping unit |
||
MAKTX |
CHAR 40 |
Material description |
||
VLENR |
CHAR 20 |
Source storage unit number |
||
NLENR |
CHAR 20 |
Destination storage unit number |
||
VFDAT |
DATS 8 |
Shelf life expiration date |
X |
If material is SLED-required |
HOMVE |
CHAR 1 |
Indicator: Removal of an entire homogeneous storage unit from stock |
||
QPLOS |
NUMC 12 |
Inspection lot number |
||
QPLOA |
NUMC 12 |
Inspection lot from which usage decision was met |
||
KZSTI |
CHAR 1 |
Indicator: Inspection sample |
||
KOBER |
CHAR 3 |
Picking area |
||
LGORT |
CHAR 4 –R- |
Storage location |
||
SOLPO |
QUAN 15 |
Target expense for transfer order item |
||
ZEIEI |
UNIT 3 |
Time unit for performance data |
||
L2SKR |
CHAR 1 |
Relevance for two-step picking |
||
VOLUM |
QUAN 15 |
Volume |
||
VOLEH |
UNIT 3 |
Volume unit |
||
KGVNQ |
CHAR 1 |
Separate confirmation possible |
||
NPLEI |
CHAR 1 |
Destination storage bin can be changed on confirmation |
||
QUSUB |
CHAR 1 |
Two-step confimation for external system |
||
NWIRM |
QUAN 15 |
Transferred active ingredient quantity |
||
WIRME |
UNIT 3 |
Active ingredient unit of measure |
||
PVQUIT |
CHAR 1 |
Material withdrawal has been confirmed |
||
FHUTA |
CHAR 1 |
TO item is HU-TO item |
||
VNEST |
CHAR 1 |
Source SU is a nested HU |
||
VHILM |
CHAR 18 |
Packaging material |
||
VDUMM |
CHAR 1 |
Source SU is a pseudo SU (only HUs) |
||
NDUMM |
CHAR 1 |
Destination SU is a pseudo SU (only HUs) |
||
VSERI |
CHAR 1 |
Source SU is an HU with serial numbers |
||
MATNR_EXTERNAL |
CHAR 40 |
Long material number (future development) |
||
MATNR_VERSION |
CHAR 10 |
Version number (future development) |
||
MATNR_GUID |
CHAR 32 |
External GUID (future development) |
Segment definition E2LPHUX001 (pick handling unit) (released as of release 4.6C)
Field |
Data Type |
Description |
Required Entry |
Note |
LGNUM |
CHAR 3 |
Warehouse number |
X |
Switch on linkage in warehouse number |
TANUM |
NUMC 10 |
Transfer order number |
X |
|
EXIDV |
CHAR 20 |
External HU ID |
||
HUKNN |
CHAR 18 |
Identifaction of an HU in a TO |
||
VHILM |
CHAR 18 |
Packaging material |
||
LETYP |
CHAR 3 |
Storage unit type |
||
LGTYP |
CHAR 3 |
Storage type |
||
LGPLA |
CHAR 10 |
Storage bin |
||
VBELN |
CHAR 10 |
Delivery |
||
KZFIX |
CHAR 1 |
Pick HU must not be changed |
||
KZRTN |
CHAR 1 |
Pick HU transferred to initiator |
||
ANZHU |
DEC 4 |
Number of HUs needed |
||
VHILM_EXTERNAL |
CHAR 40 |
Long material number (future development) for field VHILM |
||
VHILM_VERSION |
CHAR 10 |
Long version number (future development) for field VHILM |
||
VHILM_GUID |
CHAR 32 |
External version number (future development) for field VHILM |