SAP Function Modules

RSD_DIME_IOBJ_GET SAP Function module - Gets where-used list Dimension - InfoObject







RSD_DIME_IOBJ_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 RSD_DIME_IOBJ_GET into the relevant SAP transaction such as SE37 or SE80.

Associated Function Group: RSDG_DIME_DB_READ
Released Date: Not Released
Processing type: Normal fucntion module
Normal function module settings


Pattern for FM RSD_DIME_IOBJ_GET - RSD DIME IOBJ GET





CALL FUNCTION 'RSD_DIME_IOBJ_GET' "Gets where-used list Dimension - InfoObject
  EXPORTING
    i_infocube =                " rsd_infocube  InfoCube
*   i_objvers = RS_C_OBJVERS-ACTIVE  " rs_objvers  Version
*   i_read_all = RS_C_FALSE     " rs_bool       All dimensions read? (Flag)
*   i_dimension =               " rsd_dimension  Dimension
*   i_incl_append = RS_C_TRUE   " rs_bool       With Appends
*   i_bypass_buffer = RS_C_FALSE  " rs_bool     Bypass and Refresh Buffer (Indicator)
*   i_with_atr_nav = RS_C_FALSE  " rs_bool      Navigation attributes to be looked up (flag)
  IMPORTING
    e_t_dime_iobj =             " rsd_t_dime_iobj  Dimension - InfoObjects
* CHANGING
*   c_s_cube =                  " rsdcubev      View of InfoCubes with texts
*   c_cubetype =                " rsd_cubetype  Type of Infocube (base/remote/Aggregat)
  EXCEPTIONS
    INFOCUBE_NOT_FOUND = 1      "               InfoCube does not exist
    DIME_IOBJ_NOT_FOUND = 2     "               Dimension characteristics not found
    ILLEGAL_INPUT = 3           "               Invalid Entry
    .  "  RSD_DIME_IOBJ_GET

ABAP code example for Function Module RSD_DIME_IOBJ_GET





The ABAP code below is a full code listing to execute function module RSD_DIME_IOBJ_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).

DATA:
ld_e_t_dime_iobj  TYPE RSD_T_DIME_IOBJ .

DATA(ld_c_s_cube) = 'Check type of data required'.
DATA(ld_c_cubetype) = 'Check type of data required'.
DATA(ld_i_infocube) = 'Check type of data required'.
DATA(ld_i_objvers) = 'Check type of data required'.
DATA(ld_i_read_all) = 'Check type of data required'.
DATA(ld_i_dimension) = 'Check type of data required'.
DATA(ld_i_incl_append) = 'Check type of data required'.
DATA(ld_i_bypass_buffer) = 'Check type of data required'.
DATA(ld_i_with_atr_nav) = 'Check type of data required'. . CALL FUNCTION 'RSD_DIME_IOBJ_GET' EXPORTING i_infocube = ld_i_infocube * i_objvers = ld_i_objvers * i_read_all = ld_i_read_all * i_dimension = ld_i_dimension * i_incl_append = ld_i_incl_append * i_bypass_buffer = ld_i_bypass_buffer * i_with_atr_nav = ld_i_with_atr_nav IMPORTING e_t_dime_iobj = ld_e_t_dime_iobj * CHANGING * c_s_cube = ld_c_s_cube * c_cubetype = ld_c_cubetype EXCEPTIONS INFOCUBE_NOT_FOUND = 1 DIME_IOBJ_NOT_FOUND = 2 ILLEGAL_INPUT = 3 . " RSD_DIME_IOBJ_GET
IF SY-SUBRC EQ 0. "All OK ELSEIF SY-SUBRC EQ 1. "Exception "Add code for exception here ELSEIF SY-SUBRC EQ 2. "Exception "Add code for exception here ELSEIF SY-SUBRC EQ 3. "Exception "Add code for exception here ENDIF.







ABAP code to compare 7.40 inline data declaration with original syntax

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 RSDCUBEV ,
ld_e_t_dime_iobj  TYPE RSD_T_DIME_IOBJ ,
ld_i_infocube  TYPE RSD_INFOCUBE ,
ld_c_cubetype  TYPE RSD_CUBETYPE ,
ld_i_objvers  TYPE RS_OBJVERS ,
ld_i_read_all  TYPE RS_BOOL ,
ld_i_dimension  TYPE RSD_DIMENSION ,
ld_i_incl_append  TYPE RS_BOOL ,
ld_i_bypass_buffer  TYPE RS_BOOL ,
ld_i_with_atr_nav  TYPE RS_BOOL .

ld_c_s_cube = 'Check type of data required'.
ld_i_infocube = 'Check type of data required'.
ld_c_cubetype = 'Check type of data required'.
ld_i_objvers = 'Check type of data required'.
ld_i_read_all = 'Check type of data required'.
ld_i_dimension = 'Check type of data required'.
ld_i_incl_append = 'Check type of data required'.
ld_i_bypass_buffer = 'Check type of data required'.
ld_i_with_atr_nav = 'Check type of data required'.

Contribute (Add Comments)

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 RSD_DIME_IOBJ_GET or its description.