IDoc for Sending WTs to a Non-SAP System

Use

In SAP Extended Warehouse Management (SAP EWM), you use IDoc /SCWM/WMTOID01 to send data from warehouse tasks in SAP EWM to connected non-SAP systems.

SAP EWM creates a warehouse task order for every warehouse movement, regardless of whether the movement is putaway, stock removal, stock transfer, or a posting change. SAP EWM transfers the warehouse task data to the connected external system in the form of IDoc /SCWM/WMTOID01.

The external system requires a precise division of warehouse movements according to type. You should differentiate between the warehouse tasks according to the respective warehouse movement type as follows:

  • Based on the following data in the warehouse task:

    • Warehouse process type

    • Transfer type

  • Based on the storage types involved in the warehouse movement

  • Based on the variant of the SAP EWM message, which you defined in the definition of the movement for connection to the interface.

Which IDoc the system fills and sends to the external system depends on several criteria as follows:

Criteria

Details

Warehouse movement type

  • Putaway

  • Stock removal

  • Stock transfer

  • Posting change

Warehouse process type

Defining the warehouse process type

You define, for example, whether the goods receipt date should be set during putaway.

Cause of the warehouse task

  • Manual warehouse task

  • Warehouse task for inbound or outbound delivery

  • Warehouse task for warehouse process type

Handling-unit (HU)-managed storage types

If HU-managed storage types are affected by the warehouse movement, the system transfers the numbers of the storage units involved.

  • For putaway in HU-managed storage types, the system transfers the HU number in the NLENR field.

  • For stock removals from HU-managed storage types, the system transfers the HU number in the VLENR field.

  • For stock transfers between HU-managed storage types, the system transfers the HU number in both fields.

    If you transfer the complete HU, both HU numbers are the same. If you transfer material from one HU to another, the system transfers both HU numbers involved.

Structure

Message Type

You define the partner agreement outbound for message type /SCWM/WMTORD.

Segments

IDoc /SCWM/WMTOID01 is made up of the following segments:

  • /SCWM/E1LTORH (warehouse task header)

  • /SCWM/E1LTORI (warehouse task items)

  • /SCWM/E1LPHUX (pick-HU)

  • /SCWM/E1LCRSE (serial numbers for warehouse tasks)

    Segment Definition /SCWM/E1LTORH001 (Warehouse Task Header)

    Field

    Data Type

    Description

    Required Entry

    Comment

    LGNUM

    CHAR 3

    Warehouse number

    X

    Activate linkage in warehouse number first

    WHO

    NUMC 10

    Warehouse order

       

    QUEUE

    NUMC 10

    Queue

       

    BNAME

    CHAR 12

    User name

       

    LSD_DATE

    DATS 8

    Latest starting date (LSD) - date part

       

    LSD_TIME

    TIMS 6

    Latest starting date (LSD) - time part

       

    PLANDURA

    QUAN 15

    Planned execution time of warehouse order

       

    UNIT_T

    UNIT 3

    Warehouse order: time unit

       
    Segment Definition /SCWM/E1LTORI001 (Warehouse Task Items)

    Field

    Data Type

    Description

    TANUM

    NUMC 12

    Warehouse task

    PROCTY

    CHAR 4

    Warehouse process type

    MATNR

    CHAR 40

    Product

    ENTITLED

    CHAR 10

    Party entitled to dispose

    ENTITLED_ROLE

    CHAR 2

    Partner role

    OWNER

    CHAR 10

    Owner

    OWNER_ROLE

    CHAR 2

    Partner role

    CHARG

    CHAR 10

    Batch

    LETYP

    CHAR 4

    Handling unit type

    ANFME

    QUAN 31

    Requested quantity

    ALTME

    UNIT 3

    Alternative unit of measure (AUoM)

    OPUNIT

    UNIT 3

    Operative unit of measure (UoM)

    VSOLA

    QUAN 31

    Target quantity in AUoM

    VSOLM

    QUAN 31

    Target quantity in base UoM

    MEINS

    UNIT 3

    Base unit of measurement

    VLTYP

    CHAR 4

    Source storage type

    VLBER

    CHAR 4

    Source storage section

    VLPLA

    CHAR 18

    Source storage bin

    NLTYP

    CHAR 4

    Destination storage type

    NLBER

    CHAR 4

    Destination storage section

    NLPLA

    CHAR 18

    Destination storage bin

    VLENR

    CHAR 20

    Source HU

    NLENR

    CHAR 20

    Destination HU

    TRART

    CHAR 1

    Warehouse process category

    PROCS

    CHAR 4

    External warehouse process

    PRCES

    CHAR 4

    Warehouse process

    WDATU

    DATS 8

    GR date

    WDATZ

    TIMS 6

    GR time

    VFDAT

    DATS 8

    Expiration date

    ZEUGN

    CHAR 10

    Certificate number

    KOMPL

    CHAR 1

    Complete indicator

    SQUIT

    CHAR 1

    Confirmation indicator

    KZQUI

    CHAR 1

    Confirmation requirement

    MAKTX

    CHAR 40

    Product description

    DOCCAT

    CHAR 3

    Reference document category

    DOCNO

    CHAR 35

    Reference document number

    ITEMNO

    CHAR 10

    Reference document item

    KZNKO

    CHAR 1

    Zero stock check

    CAT

    CHAR 2

    Stock type

    STOCK_DOCCAT

    CHAR 3

    Document category

    STOCK_DOCNO

    CHAR 35

    Document number

    STOCK_ITEMNO

    CHAR 10

    Document item

    WAVE

    NUMC 10

    Wave

    FLGHUTO

    CHAR 1

    Handling unit warehouse task indicator

    PRIORITY

    INT1

    Priority

    PICK_COMP_DATE

    DATS 8

    Picking completion date

    PICK_COMP_TIME

    TIMS 6

    Picking completion time

    IDPLATE

    CHAR 20

    Identification number of stock

    PICK_ALL

    CHAR 1

    Withdraw all stock from storage bin

    DSTGRP

    CHAR 10

    Consolidation group

    Segment Definition /SCWM/E1LPHUX001 (Pick-Handling Unit)

    Field

    Data Type

    Description

    Required Entry

    Comment

    LGNUM

    CHAR 3

    Warehouse number

    X

    Switch on linkage in warehouse number

    WHO

    CHAR 10

    Warehouse order

       

    HUIDENT

    CHAR 20

    Pick-handling unit

       

    HUKNG

    NUMC 3

    HU identification

       

    PMAT

    CHAR 40

    Packaging material

       

    ANZHU

    NUMC 3

    Number of pick-HUs to create

       

    KZRTN

    CHAR 1

    Confirmation to subsystem

       

    LETYP

    CHAR4

    Handling unit type

       

    LGTYP

    CHAR 4

    Storage type

       

    LGPLA

    CHAR 18

    Storage bin

       

    TANUM

    NUMC 12

    Warehouse task

       

    RSRC

    CHAR 18

    Resource (means of transportation or user)

       
    Segment Definition /SCWM/E1LCRSE000 (Serial Numbers for Warehouse Tasks)

    Field

    Data Type

    Description

    SERID

    CHAR 30

    Serial number