Menu

SAP Function Module G_VARIABLE_CHECK_SET

Checks Set to be esed for a Set Variable

The Function Module G_VARIABLE_CHECK_SET (Checks Set to be esed for a Set Variable) is a standard Function Module in SAP ERP and is part of the function group GSSM within the package GBSE.

Technical Information

Function Module G_VARIABLE_CHECK_SET
Short Text Checks Set to be esed for a Set Variable
Function Group GSSM
Package GBSE
Module Type Normal Module

Importing Parameters

These are the IMPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
KOKRS LIKE SETHIER-KOKRS SPACE Controlling Area for CO Groups
OLD_SETID LIKE SETHIER-SETID SPACE Set ID for repeated checks
SETCLASS LIKE SETHEADER-SETCLASS SPACE Set class
SETNAME TYPE C Short Name of Set (not Set ID)
VARIABLE LIKE RGSGV-VARIABLE Name of the Variables (beginning with '&')

Exporting Parameters

These are the EXPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
NEW_SETID LIKE SETHIER-SETID ID of set found

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
CO_AREAS_DONT_MATCH Set is from a Different Controlling Area
FIELDS_DONT_MATCH Set does not match Variables Field
FORMULA_IN_SET Set Contains a Formula
NO_SET_FOUND No set found
NO_SET_PICKED_FROM_POPUP Several Sets Found but None Selected
SET_IS_EMPTY Set does not Contain any Entries
VARIABLE_NOT_FOUND Variable does not exist