Menu

SAP Function Module G_SET_TREE_GENERATE

Hierarchie anlegen oder ändern

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_SET_TREE_GENERATE (Hierarchie anlegen oder ändern) 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_SET_TREE_GENERATE
Short Text Hierarchie anlegen oder ändern
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
CREATE_TOP_NODE_ONLY LIKE SY-DATAR SPACE Test Temp. Sets !!! Do Not Use !!!
LANGU LIKE SY-LANGU SPACE Language of Hierarchy
TOLERATE_AMBIGUITY LIKE SY-DATAR SPACE Suppress Uniqueness Check

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
SET_HIERARCHY LIKE SETHIER Table of Sets
SET_VALUES LIKE SETVALUES Table of Set Values

Exceptions

These are the Exceptions of this function module.

Exception Name Short Text
BAD_FORMULA Error in a Formula
DOUBLE_FIELD Field used Repeatedly in the Set
ENTRY_NOT_FOUND Unknown entry
HIERARCHY_NOT_CORRECT Incorrect Hierarchy Table
NOT_UNIQUE Set is not unique, although required
OLD_SET_HAS_WRONG_DATA_ELEMENT Set with same name but different set data element
OLD_SET_HAS_WRONG_TYPE Set with same name but different type
SETNAME_TOO_LONG Set name is too long for a temporary set
SET_IS_RECURSIVE Subset used contains the highest set
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
TEMPORARY_IN_PERMANENT_SET Set contains temporary set
VARIABLE_DOES_NOT_EXIST Variable used does not exist
VARIABLE_HAS_WRONG_DATA_ELEM Variable used has a different set data element
VARIABLE_HAS_WRONG_TABLE Set variable belongs to wrong table
VARIABLE_HAS_WRONG_TYPE Variable used has incorrect type
WRONG_INTERVAL Interval with From value > To Value
WRONG_SETCLASS Incorrect set class (for M/D general sets only)