SAP RSD_IOBJNM_PARSE Function Module for Gets InfoObject from Navigation Attribute or from InfoObject in InfoSet









RSD_IOBJNM_PARSE is a standard rsd iobjnm parse SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Gets InfoObject from Navigation Attribute or from InfoObject in InfoSet processing and below is the pattern details for this FM, 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 iobjnm parse FM, simply by entering the name RSD_IOBJNM_PARSE into the relevant SAP transaction such as SE37 or SE38.

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



Function RSD_IOBJNM_PARSE 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_IOBJNM_PARSE'"Gets InfoObject from Navigation Attribute or from InfoObject in InfoSet
EXPORTING
I_IOBJNM = "Name of InfoObject from Structure RSD_S_DTA_PRO
* I_OBJVERS = RS_C_OBJVERS-ACTIVE "Version (Only 'A' or 'D' for InfoSet IO)

IMPORTING
E_IOBJNM = "Name of Underlying InfoObject
E_S_AGGRINFO = "Information About Aggregation
E_IS_ATR_NAV = "= 'X' I_IOBJNM Was Name of Navigation Attribute
E_CHANM = "Characteristic That This Attribute Has (If E_IS_ATR_NAV = 'X')
E_INFOSET_UNINM = "InfoObject Units
E_IS_IOBJNM_IN_INFOSET = "= 'X' I_IOBJNM Was the Name of an InfoObject in the InfoSet
E_INFOSET = "InfoSet (If E_IS_ISET_IOBJ = 'X')
E_INFOSET_FIELDNM = "Field Name in InfoSet (If...)
E_IOBJ_INFOSET_TEXT = "Description of InfoObject in InfoSet
E_T_IOBJ_CMP_ISET = "Compounding (If E_IS_ISET_IOBJ = 'X')

EXCEPTIONS
NAME_ERROR = 1
.



IMPORTING Parameters details for RSD_IOBJNM_PARSE

I_IOBJNM - Name of InfoObject from Structure RSD_S_DTA_PRO

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

I_OBJVERS - Version (Only 'A' or 'D' for InfoSet IO)

Data type: RSOBJVERS
Default: RS_C_OBJVERS-ACTIVE
Optional: Yes
Call by Reference: No ( called with pass by value option)

EXPORTING Parameters details for RSD_IOBJNM_PARSE

E_IOBJNM - Name of Underlying InfoObject

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

E_S_AGGRINFO - Information About Aggregation

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

E_IS_ATR_NAV - = 'X' I_IOBJNM Was Name of Navigation Attribute

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

E_CHANM - Characteristic That This Attribute Has (If E_IS_ATR_NAV = 'X')

Data type: RSD_S_ATR_NAV-CHANM
Optional: No
Call by Reference: Yes

E_INFOSET_UNINM - InfoObject Units

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

E_IS_IOBJNM_IN_INFOSET - = 'X' I_IOBJNM Was the Name of an InfoObject in the InfoSet

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

E_INFOSET - InfoSet (If E_IS_ISET_IOBJ = 'X')

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

E_INFOSET_FIELDNM - Field Name in InfoSet (If...)

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

E_IOBJ_INFOSET_TEXT - Description of InfoObject in InfoSet

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

E_T_IOBJ_CMP_ISET - Compounding (If E_IS_ISET_IOBJ = 'X')

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

EXCEPTIONS details

NAME_ERROR - Cannot Identify InfoObject

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for RSD_IOBJNM_PARSE 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_e_iobjnm  TYPE RSIOBJNM, "   
lv_i_iobjnm  TYPE RSIOBJNM, "   
lv_name_error  TYPE RSIOBJNM, "   
lv_e_s_aggrinfo  TYPE RSD_S_AGGRINFO, "   
lv_i_objvers  TYPE RSOBJVERS, "   RS_C_OBJVERS-ACTIVE
lv_e_is_atr_nav  TYPE RS_BOOL, "   
lv_e_chanm  TYPE RSD_S_ATR_NAV-CHANM, "   
lv_e_infoset_uninm  TYPE RSUNINM, "   
lv_e_is_iobjnm_in_infoset  TYPE RS_BOOL, "   
lv_e_infoset  TYPE RSQINFOSET, "   
lv_e_infoset_fieldnm  TYPE FIELDNAME, "   
lv_e_iobj_infoset_text  TYPE RSTXTLG, "   
lv_e_t_iobj_cmp_iset  TYPE RSD_T_IOBJ_CMP. "   

  CALL FUNCTION 'RSD_IOBJNM_PARSE'  "Gets InfoObject from Navigation Attribute or from InfoObject in InfoSet
    EXPORTING
         I_IOBJNM = lv_i_iobjnm
         I_OBJVERS = lv_i_objvers
    IMPORTING
         E_IOBJNM = lv_e_iobjnm
         E_S_AGGRINFO = lv_e_s_aggrinfo
         E_IS_ATR_NAV = lv_e_is_atr_nav
         E_CHANM = lv_e_chanm
         E_INFOSET_UNINM = lv_e_infoset_uninm
         E_IS_IOBJNM_IN_INFOSET = lv_e_is_iobjnm_in_infoset
         E_INFOSET = lv_e_infoset
         E_INFOSET_FIELDNM = lv_e_infoset_fieldnm
         E_IOBJ_INFOSET_TEXT = lv_e_iobj_infoset_text
         E_T_IOBJ_CMP_ISET = lv_e_t_iobj_cmp_iset
    EXCEPTIONS
        NAME_ERROR = 1
. " RSD_IOBJNM_PARSE




ABAP code using 7.40 inline data declarations to call FM RSD_IOBJNM_PARSE

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.
 
 
"SELECT single CHANM FROM RSD_S_ATR_NAV INTO @DATA(ld_e_chanm).
 
 
 
 
 
 
 


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!