SAP RSD_IOBC_ATTR_INSERT Function Module for Set attributes when creating a InfoObject Catalogs









RSD_IOBC_ATTR_INSERT is a standard rsd iobc attr insert SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Set attributes when creating a InfoObject Catalogs 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 iobc attr insert FM, simply by entering the name RSD_IOBC_ATTR_INSERT into the relevant SAP transaction such as SE37 or SE38.

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



Function RSD_IOBC_ATTR_INSERT 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_IOBC_ATTR_INSERT'"Set attributes when creating a InfoObject Catalogs
EXPORTING
* I_DISPLAY = RS_C_FALSE "Flag: Display Only
* I_EXIST = RS_C_FALSE "Flag: already exists

IMPORTING
E_OKCOD = "Return Code

CHANGING
C_INFOOBJCAT = "InfoObject Catalog
* C_TXTLG = "Description
* C_REFNM = "Template InfoObject Catalog
* C_INFOAREA = 'NODESNOTCONNECTED' "InfoArea
* C_IOBJTP = "InfoObject Type
* C_BWAPPL = "BW Application (Namespace)

EXCEPTIONS
SCREEN_CANCELLED = 1
.



IMPORTING Parameters details for RSD_IOBC_ATTR_INSERT

I_DISPLAY - Flag: Display Only

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

I_EXIST - Flag: already exists

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

EXPORTING Parameters details for RSD_IOBC_ATTR_INSERT

E_OKCOD - Return Code

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

CHANGING Parameters details for RSD_IOBC_ATTR_INSERT

C_INFOOBJCAT - InfoObject Catalog

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

C_TXTLG - Description

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

C_REFNM - Template InfoObject Catalog

Data type: RSDSGPAR-REFNM
Optional: Yes
Call by Reference: Yes

C_INFOAREA - InfoArea

Data type: RSD_INFOAREA
Default: 'NODESNOTCONNECTED'
Optional: Yes
Call by Reference: Yes

C_IOBJTP - InfoObject Type

Data type: RSD_IOBJTP
Optional: Yes
Call by Reference: Yes

C_BWAPPL - BW Application (Namespace)

Data type: RSBWAPPL
Optional: Yes
Call by Reference: Yes

EXCEPTIONS details

SCREEN_CANCELLED - Image canceled

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

Copy and paste ABAP code example for RSD_IOBC_ATTR_INSERT 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_okcod  TYPE RSDG_FUNC, "   
lv_i_display  TYPE RS_BOOL, "   RS_C_FALSE
lv_c_infoobjcat  TYPE RSD_INFOOBJCAT, "   
lv_screen_cancelled  TYPE RSD_INFOOBJCAT, "   
lv_c_txtlg  TYPE RSTXTLG, "   
lv_i_exist  TYPE RS_BOOL, "   RS_C_FALSE
lv_c_refnm  TYPE RSDSGPAR-REFNM, "   
lv_c_infoarea  TYPE RSD_INFOAREA, "   'NODESNOTCONNECTED'
lv_c_iobjtp  TYPE RSD_IOBJTP, "   
lv_c_bwappl  TYPE RSBWAPPL. "   

  CALL FUNCTION 'RSD_IOBC_ATTR_INSERT'  "Set attributes when creating a InfoObject Catalogs
    EXPORTING
         I_DISPLAY = lv_i_display
         I_EXIST = lv_i_exist
    IMPORTING
         E_OKCOD = lv_e_okcod
    CHANGING
         C_INFOOBJCAT = lv_c_infoobjcat
         C_TXTLG = lv_c_txtlg
         C_REFNM = lv_c_refnm
         C_INFOAREA = lv_c_infoarea
         C_IOBJTP = lv_c_iobjtp
         C_BWAPPL = lv_c_bwappl
    EXCEPTIONS
        SCREEN_CANCELLED = 1
. " RSD_IOBC_ATTR_INSERT




ABAP code using 7.40 inline data declarations to call FM RSD_IOBC_ATTR_INSERT

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_display) = RS_C_FALSE.
 
 
 
 
DATA(ld_i_exist) = RS_C_FALSE.
 
"SELECT single REFNM FROM RSDSGPAR INTO @DATA(ld_c_refnm).
 
DATA(ld_c_infoarea) = 'NODESNOTCONNECTED'.
 
 
 


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!