Menu

SAP Function Module I_CHECK_STATUS_CHANGE

Check if a status of an object can be changed

The Function Module I_CHECK_STATUS_CHANGE (Check if a status of an object can be changed) is a standard Function Module in SAP ERP and is part of the function group ISMPM_STATUS within the package IWMI.

Technical Information

Function Module I_CHECK_STATUS_CHANGE
Short Text Check if a status of an object can be changed
Function Group ISMPM_STATUS
Package IWMI
Module Type Normal Module

Importing Parameters

These are the IMPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
NEXT_ESTAT LIKE TJ30-ESTAT New user status to be set
STSMA LIKE JSTO-STSMA User status profile

Exporting Parameters

This function module does not define any EXPORTING parameters.

Changing Parameters

These are the CHANGING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
CURRENT_ESTAT LIKE TJ30-ESTAT Current active status (to be replaced)

Table Parameters

These are the TABLE parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
T_STATUS LIKE JSTAT Object's statuses

Exceptions

These are the Exceptions of this function module.

Exception Name Short Text
ALREADY_ACTIVE New status is already active
NOT_FOUND Wrong STSMA, T_STATUS, or NEXT_ESTAT
NOT_PERMITTED Status transition is not permitted