Show TOC Start of Content Area

Object documentationIDoc for Sending WTs to a Non-SAP System Locate the document in its SAP Library structure

Definition

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

Use

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. 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.

      Based on the 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 EWM message, which you have 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:

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 WT

      WT for inbound or outbound delivery

      WT for warehouse process type

Handling-unit-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 field NLENR.

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

      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.

Recommendation

You determine the content on the IDoc for the individual customers. We recommend creating test warehouse tasks 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 partner agreement outbound for message type /SCWM/WMTORD.

Segments

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

      /SCWM/E1LTOIRH (warehouse task header)

      /SCWM/E1LTOIRH (warehouse task items)

      /SCWM/E1LPHUX (pick-handling unit)

      /SCWM/E1LCRSE (serial numbers for warehouse tasks)

Segment definition /SCWM/E2LTORH0040 (WT header)

Field

Format

Description

Required Entry

Comments

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

 

 

Fields for segment /SCWM/E2LTORI0004 (WT items)

Field

Format

Description

Required Entry

Comments

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

 

 

Segment definition /SCWM/E2LPHUX000 (pick-handling unit)

Field

Data Type

Description

Required Entry

Comments

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

 

 

Segment definition /SCWM/E1LCRSE (serial numbers for warehouse tasks)

Field

Data Type

Description

Required Entry

Comments

SERID

CHAR 30

Serial number

 

 

 

 

 

End of Content Area