Menu

SAP Function Module L_TO_CANCEL_SU

Cancel transfer order for storage unit

The Function Module L_TO_CANCEL_SU (Cancel transfer order for storage unit) is a standard Function Module in SAP ERP and is part of the function group L03B within the package LVS.

Technical Information

Function Module L_TO_CANCEL_SU
Short Text Cancel transfer order for storage unit
Function Group L03B
Package LVS
Module Type Remote-Enabled

Importing Parameters

These are the IMPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
I_CANCL LIKE RL03B-CANCL SPACE Cancel all open items
I_COMMIT_WORK LIKE RL03B-COMIT 'X' Indicator whether COMMIT WORK in function module
I_LENUM LIKE LEIN-LENUM Storage unit
I_QNAME LIKE LTAP-QNAME SY-UNAME User who is executing the cancellation
I_SUBST LIKE RL03T-SUBST SPACE Control subsystem
I_UPDATE_TASK LIKE RL03A-VERBU SPACE Indicator: update via update task

Exporting Parameters

This function module does not define any EXPORTING parameters.

Changing Parameters

This function module does not define any CHANGING parameters.

Table Parameters

These are the TABLE parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
T_LTAP_CANCL LIKE LTAP_CANCL Table of individual items to be cancelled

Exceptions

These are the Exceptions of this function module.

Exception Name Short Text
DOUBLE_LINES In T_LTAP_CANCL there are multiple entries
FOREIGN_LOCK An SAP block has been set by another user
ITEM_CONFIRMED TO item already confirmed
ITEM_DOESNT_EXIST TO item does not exist
NOTHING_TO_DO Acc.to transf.parameter, no proc.required
NO_AUTHORITY No authorization
SU_CONFIRMED Update via update task only using Commit
SU_DOESNT_EXIST Storage unit does not exist
SU_MOVEMENT_PARTLY_CONFIRMED SU movement already partially confirmed
UPDATE_WITHOUT_COMMIT Update via update task only using Commit
XFELD_WRONG Incorrect value for checkbox