Menu

SAP Function Module GM_CHECK_GRANT_NUMBER

Get and or validate the grant number for grant creation

The Function Module GM_CHECK_GRANT_NUMBER (Get and or validate the grant number for grant creation) is a standard Function Module in SAP ERP and is part of the function group GMGR within the package GMMASTERDATA_E.

Technical Information

Function Module GM_CHECK_GRANT_NUMBER
Short Text Get and or validate the grant number for grant creation
Function Group GMGR
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_COPY_SOURCE TYPE GM_COPY_SOURCE Source grant for BADI
I_GRANT_TYPE TYPE GM_GRANT_TYPE Grant Type
I_SPONSOR TYPE GM_SPONSOR Grant Sponsor for BADI
I_USE_BUS_MESSAGE_HANDLER TYPE XFELD Call BUS_MESSAGE_STORE

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
C_GRANT_NBR TYPE GM_GRANT_NBR Grant

Table Parameters

This function module does not define any TABLE parameters.

Exceptions

These are the Exceptions of this function module.

Exception Name Short Text
DUPLICATE_GRANT_NBR Duplicate grant number
EXT_ASSIGNMENT_NOT_ALLOWED External number assignment not allowed
GRANT_NUMBER_REQUIRED Grant number required for external assignment
INTERNAL_ASSIGNMENT_ONLY Do not specify grant. internal assignment only
INVALID_GRANT_TYPE Grant type is invalid
INVALID_NR_OBJECT Invalid number range object
INVALID_NUMBER_RANGE_INTERVAL Invalid number range interval
MISSING_INTERNAL_NUMBER_RANGE Internal number range missing
NUMBER_NOT_ALLOWED Disallowed by external number range
NUMBER_RANGE_ERROR Unspecified error from NUMBER_GET_INFO
NUMBER_RANGE_NOT_EXTERNAL External number range is internal
NUMBER_RANGE_NOT_INTERNAL Internal number range is external
TEMP_NUMBER_PREFIX Prefix not allowed