Entering content frameObject documentation IDoc for Canceling Transfer Orders Locate the document in its SAP Library structure

Definition

Using IDoc WMCAID01, you can send a cancellation request to an external system, or confirm execution of a cancellation movement to the Warehouse Management system (WMS).

Use

When physical stock movements are executed via the connected external system, the WMS cannot determine whether the TOs transferred to the external system have already been executed. For this reason, the WMS can only send a cancellation request to the external system.

The external system then decides whether or not the movement has already been executed. If the stock movement has already been executed, the external system confirms to the WMS that the stock movement has already been completed and that cancellation is therefore no longer possible. In this case, the user receives a corresponding message in the WMS.

You decide for each individual case what should happen with a TO item that cannot be cancelled. In this case, you make the necessary adjustments manually in the system.

Note

You can only cancel these transfer orders (TOs) if they have not yet been confirmed.

Sending a Cancellation Request from the WMS to the External System

To send a cancellation request from the WMS, fill the following fields in IDoc WMCAID01:

Segment

Field

E2LTCAH

LGNUM

 

TANUM

 

CANRQ

E2LTCAI

TAPOS

 

VLENR (if SU-management is active)

 

 

NLENR (if SU-management is active)

Sending a Cancellation from the External System to the WMS

To send a cancellation of a TO to the WMS, fill the following fields in IDoc WMCAID01:

Cancellation is possible

Segment

Field

E2LTCAH

LGNUM

 

TANUM

 

CANCL

E2LTCAI

TAPOS

Cancellation is not possible

Segment

Field

E2LTCAH

LGNUM

 

TANUM

 

CANCL

E2LTCAI

TAPOS

 

SFEHL

 

SFTXT

Note

You can also cancel a transfer order from the external system and send the cancellation to the WMS, even if the WMS has not sent a cancellation request first.

Recommendation

We recommend that you simulate sending a cancellation reply from the external system to the WMS, in order to test the relevant cancellation processes. Reports RLCATO00 and RLCATO10 are available for testing cancellation.

Structure

Message Type

You define message type WMCATO for the inbound and outbound partner profile.

Segments

IDoc WMCAID01 is made up of two segments:

Segment definition E2LTCAH001 (as of release 4.0A)

Field

Data Type

Description

Required Entry

Note

LGNUM

CHAR 3

Warehouse number

X

 

TANUM

CHAR 10

Transfer order number

X

 

CNAME

CHAR 12

User name for TO cancellation

   

CANRQ

CHAR 1

Request cancellation transfer order

X

X for cancellation request

CANCL

CHAR 1

Response cancellation transfer order

X

X for cancellation from external system

SOLEX

CHAR 15

Target processing time from external system

 

The system resets the target processing time when you send a cancellation request

If you cancel the TO via the IDoc, you can transfer the target processing time determined by the external system to the TO

 

Segment definition E2LTCAI (as of release 3.0A)

Field

Data Type

Description

Required Entry

Note

TAPOS

CHAR 4

Transfer order item

X

 

VLENR

CHAR 20

Source storage unit number

X

 

NLENR

CHAR 20

Destination storage unit number

X

 

SFEHL

CHAR 1

Error during cancellation

   

SFTXT

CHAR 80

Error text for cancellation

 

This text appears in the inbox for error messages

KZFOL

CHAR 1

Indicator: Subsequent actions

 

You can use this field individually, for example to trigger a user-defined process via a user exit. You can, for example, trigger a user-defined follow-up action for differences.

 

 

Leaving content frame