Menu

SAP Function Module G_GENERATE_SINGLE_SET

Generieren eines Single-Sets

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 G_GENERATE_SINGLE_SET (Generieren eines Single-Sets) is a standard Function Module in SAP ERP and is part of the function group GSGF within the package GBSE.

Technical Information

Function Module G_GENERATE_SINGLE_SET
Short Text Generieren eines Single-Sets
Function Group GSGF
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
CLIENT LIKE SY-MANDT SPACE Client in which set is to be created
FLAG_USE_RGSBS_USER LIKE SY-DATAR SPACE Internal use (take user from header)
LANGU LIKE SY-LANGU SY-LANGU Language of text
NOTHING_CHANGED LIKE SY-DATAR SPACE Internal use only (set not changed)
REF_SET LIKE RGSBS-SETNR SPACE Name of reference set
SET_HEADER LIKE RGSBS Header of the S set
TOLERATE_AMBIGUITY LIKE SY-DATAR SPACE 'X': Unambiguity indicator ignored

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
FORMULA_LINES LIKE RGSBF Table with formulas for the values
SET_LINES LIKE RGSB1 Table with set lines
SET_LINES_BASIC LIKE RGSBV Table with values of single set

Exceptions

These are the Exceptions of this function module.

Exception Name Short Text
NOT_UNIQUE Set is not unique, although required
OLD_SET_HAS_WRONG_DATA_ELEMENT Set with same name but different data element
OLD_SET_HAS_WRONG_TYPE Set with same name but different type
SETNAME_TOO_LONG Set name too long for temporary set
SET_IS_RECURSIVE Subset used contains the highest set
SUBSET_DOES_NOT_EXIST Subset used does not exist
SUBSET_HAS_WRONG_CLASS Subset used has a different class
SUBSET_HAS_WRONG_DATA_ELEMENT Subset used has a different set data element
SUBSET_HAS_WRONG_TYPE Subset used has incorrect type (M/D)
TABLE_OR_FIELDNAME_MISSING Table or field name has not been specified
TEMPORARY_IN_PERMANENT_SET Set contains temporary set
VARIABLE_DOES_NOT_EXIST Variable used does not exist