Menu

SAP Function Module L_TO_CANCEL

Cancel transfer order

Recommended Now

Fire TV Stick Lite Essentials Bundle

This bundle contains Amazon Fire TV Stick Lite and Mission USB Power Cable. The USB power cable eliminates the need to find an AC outlet near your TV by powering Amazon Fire TV directly from your TV's USB port. Includes special power management circuitry that enhances the peak power capability of the USB port by storing excess energy and then releasing it as needed.

Check it out on amazon.com →

The Function Module L_TO_CANCEL (Cancel transfer order) 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
Short Text Cancel transfer order
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_LGNUM LIKE LTAK-LGNUM Warehouse number
I_QNAME LIKE LTAP-QNAME SY-UNAME User who is executing the cancellation
I_SOLEX LIKE LTAK-SOLEX 0 externer Sollaufwand
I_SUBST LIKE RL03T-SUBST SPACE Control subsystem
I_TANUM LIKE LTAK-TANUM Transfer order number
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_MOVEMENT_PARTLY_CONFIRMED SU movement already partially confirmed
TO_CONFIRMED Transfer order already confirmed
TO_DOESNT_EXIST Transfer order does not exist
UPDATE_WITHOUT_COMMIT Update via update task only using Commit
XFELD_WRONG Incorrect value for checkbox