Menu

SAP Function Module GM_CHOOSE_NEXT_STATUS

Change status of grant

The Function Module GM_CHOOSE_NEXT_STATUS (Change status of grant) is a standard Function Module in SAP ERP and is part of the function group GMSTATUS within the package GMMASTERDATA_E.

Technical Information

Function Module GM_CHOOSE_NEXT_STATUS
Short Text Change status of grant
Function Group GMSTATUS
Package GMMASTERDATA_E
Module Type Normal Module

Importing Parameters

These are the IMPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
I_GRANT_TYPE TYPE GM_GRANT_TYPE Grant Type
I_LIFECYCLE_STATUS TYPE GM_LIFECYCLE_STATUS Lifecycle status
I_USER_STATUS TYPE GM_USER_STATUS User status

Exporting Parameters

These are the EXPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
E_NEXT_LIFECYCLE_STATUS TYPE GM_USER_STATUS User status
E_NEXT_USER_STATUS TYPE GM_LIFECYCLE_STATUS Lifecycle status

Changing Parameters

This function module does not define any CHANGING parameters.

Table Parameters

This function module does not define any TABLE parameters.

Exceptions

These are the Exceptions of this function module.

Exception Name Short Text
INVALID_GRANT_TYPE Grant type is invalid
INVALID_SYSTEM_STATUS_CONFIG Next system status cannot be determined
INVALID_USER_STATUS User status is not valid
MISSING_USER_STATUS User status is missing
NOWHERE_TO_GO End of network reached. No choices possible.