RSZ_X_COMPONENT_SET_NEW 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_X_COMPONENT_SET_NEW into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
RZX0
Released Date:
Not Released
Processing type: Remote-Enabled
CALL FUNCTION 'RSZ_X_COMPONENT_SET_NEW' "Save Component with All Dependent Elements
EXPORTING
i_compuid = " sysuuid_25 Unique ID
* i_objvers = 'A' " rsobjvers Version (Active, Inactive, ...)
* i_copy_mode = ' ' " rs_bool Data Element for BOOLE Domain: TRUE (='X') and FALSE (=' ')
* i_role = " agr_name Role Name
* i_node = " num10 Counter for Menu ID
* i_language = SY-LANGU " sylangu SAP R/3 System, Current Language
* i_no_transport = ' ' " rs_bool Do Not Write Transport Entry
* i_qd_version = '700' " char5 Version of Calling QD
IMPORTING
e_genuniid = " sysuuid_25 UUID in Compressed Form
e_subrc = " sysubrc Return Code
e_force_message_read = " rs_bool inform the frontend about existing messages on server
TABLES
c_t_eltdir = " rsz_x_eltdir Element List
c_t_eltprop = " rsz_x_eltprop
c_t_eltprio = " rsz_x_eltprio
* c_t_eltprio_2 = " rsz_x_eltprio_2 RFC: Priorities for Element Collisions 2
c_t_eltattr = " rsz_x_eltattr
c_t_eltxref = " rsz_x_eltxref Cross References Between Elements
c_t_compdir = " rsz_x_compdir Component List
c_t_compic = " rsz_x_compic Assignments Component - InfoCube
c_t_select = " rsz_x_select Selection Elements
c_t_range = " rsz_x_range Ranges for Selection Elements
c_t_calc = " rsz_x_calc Formula Elements
c_t_cell = " rsz_x_cel RFC: Query Designer: Directory of Cells
* c_t_var = " rsz_x_var Variables
* c_t_uid_server = " rsz_x_uid_server
* c_t_elttxt = " rszelttxt Texts of reporting component elements
. " RSZ_X_COMPONENT_SET_NEW
The ABAP code below is a full code listing to execute function module RSZ_X_COMPONENT_SET_NEW 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_genuniid | TYPE SYSUUID_25 , |
| ld_e_subrc | TYPE SYSUBRC , |
| ld_e_force_message_read | TYPE RS_BOOL , |
| it_c_t_eltdir | TYPE STANDARD TABLE OF RSZ_X_ELTDIR,"TABLES PARAM |
| wa_c_t_eltdir | LIKE LINE OF it_c_t_eltdir , |
| it_c_t_eltprop | TYPE STANDARD TABLE OF RSZ_X_ELTPROP,"TABLES PARAM |
| wa_c_t_eltprop | LIKE LINE OF it_c_t_eltprop , |
| it_c_t_eltprio | TYPE STANDARD TABLE OF RSZ_X_ELTPRIO,"TABLES PARAM |
| wa_c_t_eltprio | LIKE LINE OF it_c_t_eltprio , |
| it_c_t_eltprio_2 | TYPE STANDARD TABLE OF RSZ_X_ELTPRIO_2,"TABLES PARAM |
| wa_c_t_eltprio_2 | LIKE LINE OF it_c_t_eltprio_2 , |
| it_c_t_eltattr | TYPE STANDARD TABLE OF RSZ_X_ELTATTR,"TABLES PARAM |
| wa_c_t_eltattr | LIKE LINE OF it_c_t_eltattr , |
| it_c_t_eltxref | TYPE STANDARD TABLE OF RSZ_X_ELTXREF,"TABLES PARAM |
| wa_c_t_eltxref | LIKE LINE OF it_c_t_eltxref , |
| it_c_t_compdir | TYPE STANDARD TABLE OF RSZ_X_COMPDIR,"TABLES PARAM |
| wa_c_t_compdir | LIKE LINE OF it_c_t_compdir , |
| it_c_t_compic | TYPE STANDARD TABLE OF RSZ_X_COMPIC,"TABLES PARAM |
| wa_c_t_compic | LIKE LINE OF it_c_t_compic , |
| it_c_t_select | TYPE STANDARD TABLE OF RSZ_X_SELECT,"TABLES PARAM |
| wa_c_t_select | LIKE LINE OF it_c_t_select , |
| it_c_t_range | TYPE STANDARD TABLE OF RSZ_X_RANGE,"TABLES PARAM |
| wa_c_t_range | LIKE LINE OF it_c_t_range , |
| it_c_t_calc | TYPE STANDARD TABLE OF RSZ_X_CALC,"TABLES PARAM |
| wa_c_t_calc | LIKE LINE OF it_c_t_calc , |
| it_c_t_cell | TYPE STANDARD TABLE OF RSZ_X_CEL,"TABLES PARAM |
| wa_c_t_cell | LIKE LINE OF it_c_t_cell , |
| it_c_t_var | TYPE STANDARD TABLE OF RSZ_X_VAR,"TABLES PARAM |
| wa_c_t_var | LIKE LINE OF it_c_t_var , |
| it_c_t_uid_server | TYPE STANDARD TABLE OF RSZ_X_UID_SERVER,"TABLES PARAM |
| wa_c_t_uid_server | LIKE LINE OF it_c_t_uid_server , |
| it_c_t_elttxt | TYPE STANDARD TABLE OF RSZELTTXT,"TABLES PARAM |
| wa_c_t_elttxt | LIKE LINE OF it_c_t_elttxt . |
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_genuniid | TYPE SYSUUID_25 , |
| it_c_t_eltdir | TYPE STANDARD TABLE OF RSZ_X_ELTDIR , |
| wa_c_t_eltdir | LIKE LINE OF it_c_t_eltdir, |
| ld_i_compuid | TYPE SYSUUID_25 , |
| it_c_t_eltprop | TYPE STANDARD TABLE OF RSZ_X_ELTPROP , |
| wa_c_t_eltprop | LIKE LINE OF it_c_t_eltprop, |
| ld_i_objvers | TYPE RSOBJVERS , |
| ld_e_subrc | TYPE SYSUBRC , |
| ld_i_copy_mode | TYPE RS_BOOL , |
| ld_e_force_message_read | TYPE RS_BOOL , |
| it_c_t_eltprio | TYPE STANDARD TABLE OF RSZ_X_ELTPRIO , |
| wa_c_t_eltprio | LIKE LINE OF it_c_t_eltprio, |
| ld_i_role | TYPE AGR_NAME , |
| it_c_t_eltprio_2 | TYPE STANDARD TABLE OF RSZ_X_ELTPRIO_2 , |
| wa_c_t_eltprio_2 | LIKE LINE OF it_c_t_eltprio_2, |
| ld_i_node | TYPE NUM10 , |
| it_c_t_eltattr | TYPE STANDARD TABLE OF RSZ_X_ELTATTR , |
| wa_c_t_eltattr | LIKE LINE OF it_c_t_eltattr, |
| ld_i_language | TYPE SYLANGU , |
| it_c_t_eltxref | TYPE STANDARD TABLE OF RSZ_X_ELTXREF , |
| wa_c_t_eltxref | LIKE LINE OF it_c_t_eltxref, |
| ld_i_no_transport | TYPE RS_BOOL , |
| it_c_t_compdir | TYPE STANDARD TABLE OF RSZ_X_COMPDIR , |
| wa_c_t_compdir | LIKE LINE OF it_c_t_compdir, |
| ld_i_qd_version | TYPE CHAR5 , |
| it_c_t_compic | TYPE STANDARD TABLE OF RSZ_X_COMPIC , |
| wa_c_t_compic | LIKE LINE OF it_c_t_compic, |
| it_c_t_select | TYPE STANDARD TABLE OF RSZ_X_SELECT , |
| wa_c_t_select | LIKE LINE OF it_c_t_select, |
| it_c_t_range | TYPE STANDARD TABLE OF RSZ_X_RANGE , |
| wa_c_t_range | LIKE LINE OF it_c_t_range, |
| it_c_t_calc | TYPE STANDARD TABLE OF RSZ_X_CALC , |
| wa_c_t_calc | LIKE LINE OF it_c_t_calc, |
| it_c_t_cell | TYPE STANDARD TABLE OF RSZ_X_CEL , |
| wa_c_t_cell | LIKE LINE OF it_c_t_cell, |
| it_c_t_var | TYPE STANDARD TABLE OF RSZ_X_VAR , |
| wa_c_t_var | LIKE LINE OF it_c_t_var, |
| it_c_t_uid_server | TYPE STANDARD TABLE OF RSZ_X_UID_SERVER , |
| wa_c_t_uid_server | LIKE LINE OF it_c_t_uid_server, |
| it_c_t_elttxt | TYPE STANDARD TABLE OF RSZELTTXT , |
| wa_c_t_elttxt | LIKE LINE OF it_c_t_elttxt. |
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_X_COMPONENT_SET_NEW or its description.
RSZ_X_COMPONENT_SET_NEW - Save Component with All Dependent Elements RSZ_X_COMPONENT_SET - Save Component with All Dependent Elements RSZ_X_COMPONENT_PROP_TXT_GET - Returns Properties for Component List RSZ_X_COMPONENT_NAME_CHECK - Checks Technical Name According to Naming Convention RSZ_X_COMPONENT_LIST_GET - Returns Components by InfoArea and InfoCube (Incl. Texts) RSZ_X_COMPONENT_LIST_FIND - Searches for a String and Returns Components