RSDG_CUBE_DDIC_SAVE_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 RSDG_CUBE_DDIC_SAVE_GET into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
RSDG_CUBE_DB_WRITE
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'RSDG_CUBE_DDIC_SAVE_GET' "Save and / or collecting the DDIC objects of an InfoCube
EXPORTING
* i_only_collect = RS_C_FALSE " rs_bool 'X': only collect (not save) the DDIC Obj
* i_progress = RS_C_TRUE " rs_bool Display Progress
* i_langu = SY-LANGU " sy-langu Language of the texts in I_T_CUBET
i_t_cube_iobj = " rsd_t_cube_iobj InfoObjects in InfoCube
* i_t_cubet = " rsd_t_cubet More InfoCube texts
* i_t_dimet = " rsd_t_dimet Additional dimension texts
* i_t_dime_iobj = " rsd_t_dime_iobj Relation: Dimension - InfoObject
* i_t_ic_val_iobj = " rsd_t_ic_val_iobj InfoObjects of the validation table
IMPORTING
e_t_mage = " rsdg_t_mage DDIC objects that were created
e_t_ddstorage = " rsdu_t_ddstorage List of indices for ADD_DDSTORAGE
e_t_dd12v = " rsdg_t_dd12v List of Indexes
e_t_dd17v = " rsdg_t_dd17v List of index fields
e_t_msg = " rs_t_msg Messages
e_subrc = " sy-subrc Return code: <> 0 = error
CHANGING
c_s_cube = " rsd_s_cube InfoCube
* c_t_dime = " rsd_t_dime Dimensions
* c_s_db_par = " rsdg_s_db_par DB parameter bar
. " RSDG_CUBE_DDIC_SAVE_GET
The ABAP code below is a full code listing to execute function module RSDG_CUBE_DDIC_SAVE_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_t_mage | TYPE RSDG_T_MAGE , |
| ld_e_t_ddstorage | TYPE RSDU_T_DDSTORAGE , |
| ld_e_t_dd12v | TYPE RSDG_T_DD12V , |
| ld_e_t_dd17v | TYPE RSDG_T_DD17V , |
| ld_e_t_msg | TYPE RS_T_MSG , |
| ld_e_subrc | TYPE SY-SUBRC . |
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_s_cube | TYPE RSD_S_CUBE , |
| ld_e_t_mage | TYPE RSDG_T_MAGE , |
| ld_i_only_collect | TYPE RS_BOOL , |
| ld_c_t_dime | TYPE RSD_T_DIME , |
| ld_e_t_ddstorage | TYPE RSDU_T_DDSTORAGE , |
| ld_i_progress | TYPE RS_BOOL , |
| ld_c_s_db_par | TYPE RSDG_S_DB_PAR , |
| ld_e_t_dd12v | TYPE RSDG_T_DD12V , |
| ld_i_langu | TYPE SY-LANGU , |
| ld_e_t_dd17v | TYPE RSDG_T_DD17V , |
| ld_i_t_cube_iobj | TYPE RSD_T_CUBE_IOBJ , |
| ld_e_t_msg | TYPE RS_T_MSG , |
| ld_i_t_cubet | TYPE RSD_T_CUBET , |
| ld_e_subrc | TYPE SY-SUBRC , |
| ld_i_t_dimet | TYPE RSD_T_DIMET , |
| ld_i_t_dime_iobj | TYPE RSD_T_DIME_IOBJ , |
| ld_i_t_ic_val_iobj | TYPE RSD_T_IC_VAL_IOBJ . |
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_CUBE_DDIC_SAVE_GET or its description.
RSDG_CUBE_DDIC_SAVE_GET - Save and / or collecting the DDIC objects of an InfoCube RSDG_CUBE_DB_TAB_DROP_RECREATE - Deletes the database tables for the InfoCube and creates them in new RSDG_CUBE_COPY_TO_VERSION - Copies one InfoCube to another version RSDG_CUBE_CLEAR_ACTIVFL - Resets the active flag of an InfoCube RSDG_CUBE_CHECK_DDIC - Checks/lists DDIC objects of an InfoCube RSDG_CUBE_CHECK - Checks an InfoCube / MultiProvider