RSDG_IOBJ_MULTI_SAVE 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 RSDG_IOBJ_MULTI_SAVE into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
RSDG_IOBJ_DB
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'RSDG_IOBJ_MULTI_SAVE' "Data Basis: Saves a Range of InfoObjects (with Commits)
* EXPORTING
* i_with_enqueue = RS_C_FALSE " rs_bool Lock InfoObjects (Indicator)
* i_write_protocol = RS_C_TRUE " rs_bool Write Log (Indicator)
* i_set_time_stamp = RS_C_TRUE " rs_bool Write Time Stamp? (Indicator)
* i_t_iobjt = " rsd_t_iobjt Additional Texts (Overwrites Texts in C_T_VIOBJ)
* i_t_atrnavt = " rsd_t_atrnavt Additional Navigation Texts
* i_langu = SY-LANGU " sy-langu Language of Texts in C_T_VIOBJ
* i_infoobjcat = " rsd_infoobjcat InfoObject Catalog for New InfoObjects
* i_t_rsarout = " rsaa_t_arout Transfer Routines of InfoObjects (via IOBJROUT)
* i_t_rsaroutt = " rsaa_t_aroutt Transfer Routine Texts
* i_t_rsaabap = " rsaa_t_aabap ABAP of Transfer Routines
IMPORTING
e_subrc = " sy-subrc Return Code = 4: Error
e_t_msg = " rs_t_msg Messages
CHANGING
c_t_viobj = " rsd_t_viobj InfoObjects (Incorrect IOs Are Marked)
* c_t_iobj_cmp = " rsd_t_iobj_cmp Compounding of InfoObjects
* c_t_atr = " rsd_t_atr Master Data Attributes (Basic Characteristic Level)
* c_t_atr_nav = " rsd_t_atr_nav Navigation Attributes (Characteristic Level)
* c_t_hana_attr = " rsd_t_iprov_mapping TTyp: Mapping of INfoProvider fields to HANA/ODP fields
. " RSDG_IOBJ_MULTI_SAVE
The ABAP code below is a full code listing to execute function module RSDG_IOBJ_MULTI_SAVE 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_subrc | TYPE SY-SUBRC , |
| ld_e_t_msg | TYPE RS_T_MSG . |
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_c_t_viobj | TYPE RSD_T_VIOBJ , |
| ld_e_subrc | TYPE SY-SUBRC , |
| ld_i_with_enqueue | TYPE RS_BOOL , |
| ld_c_t_iobj_cmp | TYPE RSD_T_IOBJ_CMP , |
| ld_e_t_msg | TYPE RS_T_MSG , |
| ld_i_write_protocol | TYPE RS_BOOL , |
| ld_c_t_atr | TYPE RSD_T_ATR , |
| ld_i_set_time_stamp | TYPE RS_BOOL , |
| ld_c_t_atr_nav | TYPE RSD_T_ATR_NAV , |
| ld_i_t_iobjt | TYPE RSD_T_IOBJT , |
| ld_c_t_hana_attr | TYPE RSD_T_IPROV_MAPPING , |
| ld_i_t_atrnavt | TYPE RSD_T_ATRNAVT , |
| ld_i_langu | TYPE SY-LANGU , |
| ld_i_infoobjcat | TYPE RSD_INFOOBJCAT , |
| ld_i_t_rsarout | TYPE RSAA_T_AROUT , |
| ld_i_t_rsaroutt | TYPE RSAA_T_AROUTT , |
| ld_i_t_rsaabap | TYPE RSAA_T_AABAP . |
This function module saves multiple InfoObjects. The InfoObjects are
saved sequentially. A "Commit Work" is performed after an InfoObject is
...See here for full SAP fm documentation
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 RSDG_IOBJ_MULTI_SAVE or its description.
RSDG_IOBJ_MULTI_SAVE - Data Basis: Saves a Range of InfoObjects (with Commits) RSDG_IOBJ_MULTI_DELETE - Data Basis: Deletes a Range of InfoObjects RSDG_IOBJ_MULTI_CHECK - Checks a Range of InfoObjects (Internal and External Consistency) RSDG_IOBJ_MULTI_ACTIVATE - Data Basis: Activates a Range of InfoObjects RSDG_IOBJ_IS_INFOSOURCE - Checks Whether the InfoObject Is a Potential InfoSource RSDG_IOBJ_INSERT_TO_IOBC - Data Basis: Adds a Range of InfoObjects to an InfoObject Catalog