SAP CLFC_OBJECTS_HIERARCHY_INIT Function Module for NOTRANSL: Aufruf der Hierarchie-Funktionsbaustein der Anwendung (temporär?
CLFC_OBJECTS_HIERARCHY_INIT is a standard clfc objects hierarchy init SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for NOTRANSL: Aufruf der Hierarchie-Funktionsbaustein der Anwendung (temporär? processing and below is the pattern details for this FM, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.
See here to view full function module documentation and code listing for clfc objects hierarchy init FM, simply by entering the name CLFC_OBJECTS_HIERARCHY_INIT into the relevant SAP transaction such as SE37 or SE38.
Function Group: CLFC
Program Name: SAPLCLFC
Main Program: SAPLCLFC
Appliation area: M
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function CLFC_OBJECTS_HIERARCHY_INIT pattern details
In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.CALL FUNCTION 'CLFC_OBJECTS_HIERARCHY_INIT'"NOTRANSL: Aufruf der Hierarchie-Funktionsbaustein der Anwendung (temporär?.
EXPORTING
I_RSTHVKEY = "Field string for selection (cross-application)
* I_SEL = ' ' "Field string for selection (application-specific)
* OP_MODE = '0' "Mode: select, supplement, etc.
* REQUESTER = ' ' "
* SELLEVEL = ' ' "
* SELMODE = ' ' "
* WITH_TEXTS = ' ' "
TABLES
* I_RSTHIE = "Internal hierarchy table
* I_RSTINT = "Int. table of intervals for objects of RSTHIE
* I_RSTTYP = "Int. table for allocation of type in RSTHIE
* I_RSTTXT = "Int. text table for nodes
* I_RSTADD = "Int. table of additional fields for RSTHIE
IMPORTING Parameters details for CLFC_OBJECTS_HIERARCHY_INIT
I_RSTHVKEY - Field string for selection (cross-application)
Data type: RSTHVKEYOptional: No
Call by Reference: No ( called with pass by value option)
I_SEL - Field string for selection (application-specific)
Data type:Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
OP_MODE - Mode: select, supplement, etc.
Data type: RSTHDIVERS-OP_MODEDefault: '0'
Optional: Yes
Call by Reference: No ( called with pass by value option)
REQUESTER -
Data type: RSTHDIVERS-REQUESTERDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
SELLEVEL -
Data type:Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
SELMODE -
Data type: RSTHDIVERS-SELMODEDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
WITH_TEXTS -
Data type:Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for CLFC_OBJECTS_HIERARCHY_INIT
I_RSTHIE - Internal hierarchy table
Data type: RSTHIEOptional: Yes
Call by Reference: No ( called with pass by value option)
I_RSTINT - Int. table of intervals for objects of RSTHIE
Data type: RSTINTOptional: Yes
Call by Reference: No ( called with pass by value option)
I_RSTTYP - Int. table for allocation of type in RSTHIE
Data type: RSTTYPOptional: Yes
Call by Reference: No ( called with pass by value option)
I_RSTTXT - Int. text table for nodes
Data type: RSTTXTOptional: Yes
Call by Reference: No ( called with pass by value option)
I_RSTADD - Int. table of additional fields for RSTHIE
Data type: RSTADDOptional: Yes
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for CLFC_OBJECTS_HIERARCHY_INIT Function Module
The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the newer method of declaring data variables on the fly. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8), which i why i have stuck to the origianl for this example.| DATA: | ||||
| lt_i_rsthie | TYPE STANDARD TABLE OF RSTHIE, " | |||
| lv_i_rsthvkey | TYPE RSTHVKEY, " | |||
| lv_i_sel | TYPE RSTHVKEY, " SPACE | |||
| lt_i_rstint | TYPE STANDARD TABLE OF RSTINT, " | |||
| lv_op_mode | TYPE RSTHDIVERS-OP_MODE, " '0' | |||
| lt_i_rsttyp | TYPE STANDARD TABLE OF RSTTYP, " | |||
| lt_i_rsttxt | TYPE STANDARD TABLE OF RSTTXT, " | |||
| lv_requester | TYPE RSTHDIVERS-REQUESTER, " SPACE | |||
| lt_i_rstadd | TYPE STANDARD TABLE OF RSTADD, " | |||
| lv_sellevel | TYPE RSTADD, " SPACE | |||
| lv_selmode | TYPE RSTHDIVERS-SELMODE, " SPACE | |||
| lv_with_texts | TYPE RSTHDIVERS. " SPACE |
|   CALL FUNCTION 'CLFC_OBJECTS_HIERARCHY_INIT' "NOTRANSL: Aufruf der Hierarchie-Funktionsbaustein der Anwendung (temporär? |
| EXPORTING | ||
| I_RSTHVKEY | = lv_i_rsthvkey | |
| I_SEL | = lv_i_sel | |
| OP_MODE | = lv_op_mode | |
| REQUESTER | = lv_requester | |
| SELLEVEL | = lv_sellevel | |
| SELMODE | = lv_selmode | |
| WITH_TEXTS | = lv_with_texts | |
| TABLES | ||
| I_RSTHIE | = lt_i_rsthie | |
| I_RSTINT | = lt_i_rstint | |
| I_RSTTYP | = lt_i_rsttyp | |
| I_RSTTXT | = lt_i_rsttxt | |
| I_RSTADD | = lt_i_rstadd | |
| . " CLFC_OBJECTS_HIERARCHY_INIT | ||
ABAP code using 7.40 inline data declarations to call FM CLFC_OBJECTS_HIERARCHY_INIT
The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8.| DATA(ld_i_sel) | = ' '. | |||
| "SELECT single OP_MODE FROM RSTHDIVERS INTO @DATA(ld_op_mode). | ||||
| DATA(ld_op_mode) | = '0'. | |||
| "SELECT single REQUESTER FROM RSTHDIVERS INTO @DATA(ld_requester). | ||||
| DATA(ld_requester) | = ' '. | |||
| DATA(ld_sellevel) | = ' '. | |||
| "SELECT single SELMODE FROM RSTHDIVERS INTO @DATA(ld_selmode). | ||||
| DATA(ld_selmode) | = ' '. | |||
| DATA(ld_with_texts) | = ' '. | |||
Search for further information about these or an SAP related objects