Menu

SAP Function Module G_SET_TREE_GENERATE

Hierarchie anlegen oder ändern

Unsere Literaturempfehlung

IDoc-Entwicklung für SAP: Customizing, Erweiterung, Eigenentwicklung

Wenn der Standard nicht ausreicht: Mit diesem Buch lernen Sie, IDocs selbstständig zu programmieren und zu erweitern. Die Autorin beschreibt Customizing-Techniken, die Erweiterung der Standardbausteine und komplette Eigenentwicklungen. Ob Rückmeldungen von Statuswerten, E-Mail-Workflows oder Serialisierung – für alle Aufgaben finden Sie Anleitungen und Tipps aus der Programmierpraxis. Neu in dieser Auflage: Überwachung und Fehlerbehandlung mit dem SAP Application Interface Framework.

Bei amazon.de ansehen →

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)