SAP RSD_IOBJ_GET Function Module for









RSD_IOBJ_GET is a standard rsd iobj get SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.


See here to view full function module documentation and code listing for rsd iobj get FM, simply by entering the name RSD_IOBJ_GET into the relevant SAP transaction such as SE37 or SE38.

Function Group: RSDG_IOBJ_DB_READ
Program Name: SAPLRSDG_IOBJ_DB_READ
Main Program: SAPLRSDG_IOBJ_DB_READ
Appliation area: B
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function RSD_IOBJ_GET pattern details

In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.
CALL FUNCTION 'RSD_IOBJ_GET'"
EXPORTING
I_IOBJNM = "InfoObject
* I_OBJVERS = RS_C_OBJVERS-ACTIVE "Version
* I_BYPASS_BUFFER = RS_C_FALSE "Bypass and Refresh Buffer (Indicator)
* I_IGNORE_BCTCOMP = RS_C_FALSE "= 'X': No errors for invalid BCT component; instead, return object
* I_WITH_DTEL = RS_C_TRUE "= 'X' Also Read Data Element / Domain for E_S_COB_PRO from DDIC
* I_WITH_APPENDS = RS_C_TRUE "Read with Appends

IMPORTING
E_S_VIOBJ = "View of all InfoObject types
E_T_ATR = "Attributes (only filled if occupied, ordered)
E_T_ATR_NAV = "Nav.Attr. (only filled if occupied, ordered)
E_T_ATRNAVT = "Nav.attribute texts of all languages
E_T_IOBJT = "Texts of all languages (only filled if occupied)
E_S_AROUT = "Transfer Routine of InfoObject (Only Filled If Occupied)
E_S_AROUTT = "Text of Transfer Routine (Only Filled If Occupied)
E_T_AABAP = "Transfer Routine ABAP (Only Filled If Occupied)
E_T_IOBJ_HIE = "Hierarchy Attributes for InfoObjects
E_S_IOBJ = "Properties InfoObject & texts
E_S_VCHA = "Merkmal (filled if E_OBJTP = 'CHA')
E_S_KYF = "Key figure (filled, if E_OBJTP = 'KYF')
E_S_TIM = "Time characteristic (filled if E_OBJTP = 'TIM')
E_S_UNI = "Unit (filled if E_OBJTP = 'UNI')
E_S_DPA = "Data packet char. (filled if E_OBJTP = 'DPA')
E_S_COB_PRO = "InfoObject Properties in COB PRO Structure (Without InfoCube-Spec. Properties)
E_T_IOBJ_CMP = "Compounding (only filled if occupied, ordered)

EXCEPTIONS
IOBJ_NOT_FOUND = 1 ILLEGAL_INPUT = 2 BCT_COMP_INVALID = 3
.



IMPORTING Parameters details for RSD_IOBJ_GET

I_IOBJNM - InfoObject

Data type: RSD_IOBJNM
Optional: No
Call by Reference: No ( called with pass by value option)

I_OBJVERS - Version

Data type: RS_OBJVERS
Default: RS_C_OBJVERS-ACTIVE
Optional: Yes
Call by Reference: Yes

I_BYPASS_BUFFER - Bypass and Refresh Buffer (Indicator)

Data type: RS_BOOL
Default: RS_C_FALSE
Optional: Yes
Call by Reference: Yes

I_IGNORE_BCTCOMP - = 'X': No errors for invalid BCT component; instead, return object

Data type: RS_BOOL
Default: RS_C_FALSE
Optional: Yes
Call by Reference: Yes

I_WITH_DTEL - = 'X' Also Read Data Element / Domain for E_S_COB_PRO from DDIC

Data type: RS_BOOL
Default: RS_C_TRUE
Optional: Yes
Call by Reference: Yes

I_WITH_APPENDS - Read with Appends

Data type: RS_BOOL
Default: RS_C_TRUE
Optional: Yes
Call by Reference: Yes

EXPORTING Parameters details for RSD_IOBJ_GET

E_S_VIOBJ - View of all InfoObject types

Data type: RSD_S_VIOBJ
Optional: No
Call by Reference: Yes

E_T_ATR - Attributes (only filled if occupied, ordered)

Data type: RSD_T_ATR
Optional: No
Call by Reference: Yes

E_T_ATR_NAV - Nav.Attr. (only filled if occupied, ordered)

Data type: RSD_T_ATR_NAV
Optional: No
Call by Reference: Yes

E_T_ATRNAVT - Nav.attribute texts of all languages

Data type: RSD_T_ATRNAVT
Optional: No
Call by Reference: Yes

E_T_IOBJT - Texts of all languages (only filled if occupied)

Data type: RSD_T_IOBJT
Optional: No
Call by Reference: Yes

E_S_AROUT - Transfer Routine of InfoObject (Only Filled If Occupied)

Data type: RSAA_S_AROUT
Optional: No
Call by Reference: Yes

E_S_AROUTT - Text of Transfer Routine (Only Filled If Occupied)

Data type: RSAA_S_AROUTT
Optional: No
Call by Reference: Yes

E_T_AABAP - Transfer Routine ABAP (Only Filled If Occupied)

Data type: RSAA_T_AABAP
Optional: No
Call by Reference: Yes

E_T_IOBJ_HIE - Hierarchy Attributes for InfoObjects

Data type: RSD_T_IOBJ_HIE
Optional: No
Call by Reference: Yes

E_S_IOBJ - Properties InfoObject & texts

Data type: RSD_S_IOBJ
Optional: No
Call by Reference: Yes

E_S_VCHA - Merkmal (filled if E_OBJTP = 'CHA')

Data type: RSD_S_VCHA
Optional: No
Call by Reference: Yes

E_S_KYF - Key figure (filled, if E_OBJTP = 'KYF')

Data type: RSD_S_KYF
Optional: No
Call by Reference: Yes

E_S_TIM - Time characteristic (filled if E_OBJTP = 'TIM')

Data type: RSD_S_TIM
Optional: No
Call by Reference: Yes

E_S_UNI - Unit (filled if E_OBJTP = 'UNI')

Data type: RSD_S_UNI
Optional: No
Call by Reference: Yes

E_S_DPA - Data packet char. (filled if E_OBJTP = 'DPA')

Data type: RSD_S_DPA
Optional: No
Call by Reference: Yes

E_S_COB_PRO - InfoObject Properties in COB PRO Structure (Without InfoCube-Spec. Properties)

Data type: RSD_S_COB_PRO
Optional: No
Call by Reference: Yes

E_T_IOBJ_CMP - Compounding (only filled if occupied, ordered)

Data type: RSD_T_IOBJ_CMP
Optional: No
Call by Reference: Yes

EXCEPTIONS details

IOBJ_NOT_FOUND - InfoObject not found

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

ILLEGAL_INPUT - Invalid Entry

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

BCT_COMP_INVALID - Invalid BCT Component

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for RSD_IOBJ_GET Function Module

The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than 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 newer method of declaring data variables on the fly. 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), which i why i have stuck to the origianl for this example.

DATA:
lv_i_iobjnm  TYPE RSD_IOBJNM, "   
lv_e_s_viobj  TYPE RSD_S_VIOBJ, "   
lv_iobj_not_found  TYPE RSD_S_VIOBJ, "   
lv_e_t_atr  TYPE RSD_T_ATR, "   
lv_e_t_atr_nav  TYPE RSD_T_ATR_NAV, "   
lv_e_t_atrnavt  TYPE RSD_T_ATRNAVT, "   
lv_e_t_iobjt  TYPE RSD_T_IOBJT, "   
lv_e_s_arout  TYPE RSAA_S_AROUT, "   
lv_e_s_aroutt  TYPE RSAA_S_AROUTT, "   
lv_e_t_aabap  TYPE RSAA_T_AABAP, "   
lv_e_t_iobj_hie  TYPE RSD_T_IOBJ_HIE, "   
lv_e_s_iobj  TYPE RSD_S_IOBJ, "   
lv_i_objvers  TYPE RS_OBJVERS, "   RS_C_OBJVERS-ACTIVE
lv_illegal_input  TYPE RS_OBJVERS, "   
lv_e_s_vcha  TYPE RSD_S_VCHA, "   
lv_i_bypass_buffer  TYPE RS_BOOL, "   RS_C_FALSE
lv_bct_comp_invalid  TYPE RS_BOOL, "   
lv_e_s_kyf  TYPE RSD_S_KYF, "   
lv_i_ignore_bctcomp  TYPE RS_BOOL, "   RS_C_FALSE
lv_e_s_tim  TYPE RSD_S_TIM, "   
lv_i_with_dtel  TYPE RS_BOOL, "   RS_C_TRUE
lv_e_s_uni  TYPE RSD_S_UNI, "   
lv_i_with_appends  TYPE RS_BOOL, "   RS_C_TRUE
lv_e_s_dpa  TYPE RSD_S_DPA, "   
lv_e_s_cob_pro  TYPE RSD_S_COB_PRO, "   
lv_e_t_iobj_cmp  TYPE RSD_T_IOBJ_CMP. "   

  CALL FUNCTION 'RSD_IOBJ_GET'  "
    EXPORTING
         I_IOBJNM = lv_i_iobjnm
         I_OBJVERS = lv_i_objvers
         I_BYPASS_BUFFER = lv_i_bypass_buffer
         I_IGNORE_BCTCOMP = lv_i_ignore_bctcomp
         I_WITH_DTEL = lv_i_with_dtel
         I_WITH_APPENDS = lv_i_with_appends
    IMPORTING
         E_S_VIOBJ = lv_e_s_viobj
         E_T_ATR = lv_e_t_atr
         E_T_ATR_NAV = lv_e_t_atr_nav
         E_T_ATRNAVT = lv_e_t_atrnavt
         E_T_IOBJT = lv_e_t_iobjt
         E_S_AROUT = lv_e_s_arout
         E_S_AROUTT = lv_e_s_aroutt
         E_T_AABAP = lv_e_t_aabap
         E_T_IOBJ_HIE = lv_e_t_iobj_hie
         E_S_IOBJ = lv_e_s_iobj
         E_S_VCHA = lv_e_s_vcha
         E_S_KYF = lv_e_s_kyf
         E_S_TIM = lv_e_s_tim
         E_S_UNI = lv_e_s_uni
         E_S_DPA = lv_e_s_dpa
         E_S_COB_PRO = lv_e_s_cob_pro
         E_T_IOBJ_CMP = lv_e_t_iobj_cmp
    EXCEPTIONS
        IOBJ_NOT_FOUND = 1
        ILLEGAL_INPUT = 2
        BCT_COMP_INVALID = 3
. " RSD_IOBJ_GET




ABAP code using 7.40 inline data declarations to call FM RSD_IOBJ_GET

The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8.

 
 
 
 
 
 
 
 
 
 
 
 
DATA(ld_i_objvers) = RS_C_OBJVERS-ACTIVE.
 
 
 
DATA(ld_i_bypass_buffer) = RS_C_FALSE.
 
 
 
DATA(ld_i_ignore_bctcomp) = RS_C_FALSE.
 
 
DATA(ld_i_with_dtel) = RS_C_TRUE.
 
 
DATA(ld_i_with_appends) = RS_C_TRUE.
 
 
 
 


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!