RSZ_COMPONENT_TREE_GET is a standard SAP function module available within R/3 SAP systems depending on your version and release level. Below is the pattern details for this FM showing its interface including any import and export parameters, exceptions etc as well as any documentation contributions (Comments) specific to the object.
See here to view full function module documentation and code listing, simply by entering the name RSZ_COMPONENT_TREE_GET into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
RZS2
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'RSZ_COMPONENT_TREE_GET' "Selection of Components Using Tree OCX
* EXPORTING
* i_objvers = RS_C_OBJVERS-ACTIVE " rs_objvers
* i_deftp = RZD1_C_DEFTP-REPORT " rzd1_s_eltdir-deftp
* i_screen_start_colum = 15 "
* i_screen_start_line = 1 "
* i_screen_end_column = 95 "
* i_screen_end_line = 25 "
* i_title = " spop-titel Title in POPUP_TO_CONFIRM....
* i_tree_header = " treev_hdr-heading
* i_ok_button_text = " rsmpe-menu
* i_exclude_definition = RS_C_TRUE " rs_bool
* i_exclude_new = RS_C_TRUE " rs_bool
IMPORTING
e_infocube = " rsd_infocube
e_compid = " rzd1_compid
e_compuid = " rsz_uid
e_genuniid = " rsz_uid
e_comp_txt = " rs_txtlg
e_infocube_txt = " rs_txtlg
e_event = " rs_fcode
. " RSZ_COMPONENT_TREE_GET
The ABAP code below is a full code listing to execute function module RSZ_COMPONENT_TREE_GET including all data declarations. The code uses 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 original method of declaring data variables up front. 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).
| ld_e_infocube | TYPE RSD_INFOCUBE , |
| ld_e_compid | TYPE RZD1_COMPID , |
| ld_e_compuid | TYPE RSZ_UID , |
| ld_e_genuniid | TYPE RSZ_UID , |
| ld_e_comp_txt | TYPE RS_TXTLG , |
| ld_e_infocube_txt | TYPE RS_TXTLG , |
| ld_e_event | TYPE RS_FCODE . |
The below ABAP code uses the older none in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. It may also be useful if you are using an older version of SAP as some of the newer syntax above, such as the @DATA is not available until 4.70 EHP 8.
DATA:
| ld_e_infocube | TYPE RSD_INFOCUBE , |
| ld_i_objvers | TYPE RS_OBJVERS , |
| ld_e_compid | TYPE RZD1_COMPID , |
| ld_i_deftp | TYPE RZD1_S_ELTDIR-DEFTP , |
| ld_e_compuid | TYPE RSZ_UID , |
| ld_i_screen_start_colum | TYPE STRING , |
| ld_e_genuniid | TYPE RSZ_UID , |
| ld_i_screen_start_line | TYPE STRING , |
| ld_e_comp_txt | TYPE RS_TXTLG , |
| ld_i_screen_end_column | TYPE STRING , |
| ld_e_infocube_txt | TYPE RS_TXTLG , |
| ld_i_screen_end_line | TYPE STRING , |
| ld_e_event | TYPE RS_FCODE , |
| ld_i_title | TYPE SPOP-TITEL , |
| ld_i_tree_header | TYPE TREEV_HDR-HEADING , |
| ld_i_ok_button_text | TYPE RSMPE-MENU , |
| ld_i_exclude_definition | TYPE RS_BOOL , |
| ld_i_exclude_new | TYPE RS_BOOL . |
Please help keep this info upto date and use the comments section below to add useful hints, tips and information specific to this SAP function. This will then be available for you and other users to easily find by simply searching on the object name RSZ_COMPONENT_TREE_GET or its description.
RSZ_COMPONENT_TREE_GET - Selection of Components Using Tree OCX RSZ_0_IGS_CHARTMIGRATOR_CMP - TEST: Before/After Comparison for Chart Migration RSZ_0_DB_TREESTRUCTURE - TEST: Read Structure of SAP Table Tree RSZ_0_DB_ELT_GET - TEST: Load Element and All Its Dependent Elements RSZ_0_DB_COMP_GET - TEST: Load Component and All Its Dependent Components RSZ_0_DB_CHECK_XREF - TEST: Tests Consistency of RSZELTXREF