SAP RSAX_RSSH_HIERARCHY_CATALOG Function Module for









RSAX_RSSH_HIERARCHY_CATALOG is a standard rsax rssh hierarchy catalog SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, 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 rsax rssh hierarchy catalog FM, simply by entering the name RSAX_RSSH_HIERARCHY_CATALOG into the relevant SAP transaction such as SE37 or SE38.

Function Group: RSAX
Program Name: SAPLRSAX
Main Program: SAPLRSAX
Appliation area: B
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function RSAX_RSSH_HIERARCHY_CATALOG 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 'RSAX_RSSH_HIERARCHY_CATALOG'"
EXPORTING
* I_S_HIEBAS = "Requested Basic Characteristic/Hierarchy Class
* I_S_HIEFLAG = "Hierarchy Control Indicator for Basic Characteristics

TABLES
* I_T_LANGU = "Language Required
* E_T_HIERS = "

EXCEPTIONS
INVALID_CHABASNM_HCLASS = 1 INVALID_HIERARCHY_FLAG = 2 LANGU_NOT_SUPPORTED = 3 HIERARCHY_NOT_FOUND = 4 DATA_MARTS_ERROR = 5
.



IMPORTING Parameters details for RSAX_RSSH_HIERARCHY_CATALOG

I_S_HIEBAS - Requested Basic Characteristic/Hierarchy Class

Data type: RSAP_S_HIEBAS
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_S_HIEFLAG - Hierarchy Control Indicator for Basic Characteristics

Data type: RSAP_S_HIEFLAG
Optional: Yes
Call by Reference: No ( called with pass by value option)

TABLES Parameters details for RSAX_RSSH_HIERARCHY_CATALOG

I_T_LANGU - Language Required

Data type: SBIWA_T_LANGU
Optional: Yes
Call by Reference: No ( called with pass by value option)

E_T_HIERS -

Data type: RSAP_T_HIERS
Optional: Yes
Call by Reference: No ( called with pass by value option)

EXCEPTIONS details

INVALID_CHABASNM_HCLASS -

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

INVALID_HIERARCHY_FLAG -

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

LANGU_NOT_SUPPORTED -

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

HIERARCHY_NOT_FOUND -

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

DATA_MARTS_ERROR -

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

Copy and paste ABAP code example for RSAX_RSSH_HIERARCHY_CATALOG 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_t_langu  TYPE STANDARD TABLE OF SBIWA_T_LANGU, "   
lv_i_s_hiebas  TYPE RSAP_S_HIEBAS, "   
lv_invalid_chabasnm_hclass  TYPE RSAP_S_HIEBAS, "   
lt_e_t_hiers  TYPE STANDARD TABLE OF RSAP_T_HIERS, "   
lv_i_s_hieflag  TYPE RSAP_S_HIEFLAG, "   
lv_invalid_hierarchy_flag  TYPE RSAP_S_HIEFLAG, "   
lv_langu_not_supported  TYPE RSAP_S_HIEFLAG, "   
lv_hierarchy_not_found  TYPE RSAP_S_HIEFLAG, "   
lv_data_marts_error  TYPE RSAP_S_HIEFLAG. "   

  CALL FUNCTION 'RSAX_RSSH_HIERARCHY_CATALOG'  "
    EXPORTING
         I_S_HIEBAS = lv_i_s_hiebas
         I_S_HIEFLAG = lv_i_s_hieflag
    TABLES
         I_T_LANGU = lt_i_t_langu
         E_T_HIERS = lt_e_t_hiers
    EXCEPTIONS
        INVALID_CHABASNM_HCLASS = 1
        INVALID_HIERARCHY_FLAG = 2
        LANGU_NOT_SUPPORTED = 3
        HIERARCHY_NOT_FOUND = 4
        DATA_MARTS_ERROR = 5
. " RSAX_RSSH_HIERARCHY_CATALOG




ABAP code using 7.40 inline data declarations to call FM RSAX_RSSH_HIERARCHY_CATALOG

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.

 
 
 
 
 
 
 
 
 


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!