SAP RSD_IOBC_COMP_DIALOG Function Module for Dialogue to compare / select InfoObjectCatalog properties
RSD_IOBC_COMP_DIALOG is a standard rsd iobc comp dialog SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Dialogue to compare / select InfoObjectCatalog properties 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 comp dialog FM, simply by entering the name RSD_IOBC_COMP_DIALOG 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_COMP_DIALOG 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_COMP_DIALOG'"Dialogue to compare / select InfoObjectCatalog properties.
EXPORTING
* I_SHOW_DIFF_ONLY = RS_C_TRUE "= 'X': Only Display Differences
I_T_IOBCT2 = "Texts for InfoObject Catalog 2 in all languages
I_T_IOBC_IOBJ2 = "InfoObjects of the InfoObjectCatalog 2
* I_ENABLE_SELECT = RS_C_FALSE "= 'X': Item Selection Permitted
* I_WITH_DIALOG = RS_C_TRUE "=' ' Without Dialog (Messages Only)
* I_TEXT_COLUMN1 = "
I_S_IOBC1 = "InfoObjectCatalog 1
I_T_IOBCT1 = "Texts for InfoObject Catalog 1 in all languages
I_T_IOBC_IOBJ1 = "InfoObjects of the InfoObjectCatalog 1
* I_TEXT_COLUMN2 = "Heading Column 2
I_S_IOBC2 = "InfoObjectCatalog 2
CHANGING
* C_S_IOBC = "modified ObjectCatalog toolbar
* C_T_IOBCT = "changed ObjectCatalogtexts
* C_T_IOBC_IOBJ = "revised list of InfoObject of Object Catalog
* C_T_MSG = "BW: Table with Messages (Application Log)
* C_SUBRC = "Return Code
EXCEPTIONS
CANCEL = 1
IMPORTING Parameters details for RSD_IOBC_COMP_DIALOG
I_SHOW_DIFF_ONLY - = 'X': Only Display Differences
Data type: RS_BOOLDefault: RS_C_TRUE
Optional: Yes
Call by Reference: Yes
I_T_IOBCT2 - Texts for InfoObject Catalog 2 in all languages
Data type: RSD_T_IOBCTOptional: No
Call by Reference: Yes
I_T_IOBC_IOBJ2 - InfoObjects of the InfoObjectCatalog 2
Data type: RSD_T_IOBC_IOBJOptional: No
Call by Reference: Yes
I_ENABLE_SELECT - = 'X': Item Selection Permitted
Data type: RS_BOOLDefault: RS_C_FALSE
Optional: Yes
Call by Reference: Yes
I_WITH_DIALOG - =' ' Without Dialog (Messages Only)
Data type: RS_BOOLDefault: RS_C_TRUE
Optional: Yes
Call by Reference: Yes
I_TEXT_COLUMN1 -
Data type: STRINGOptional: Yes
Call by Reference: Yes
I_S_IOBC1 - InfoObjectCatalog 1
Data type: RSD_S_IOBCOptional: No
Call by Reference: Yes
I_T_IOBCT1 - Texts for InfoObject Catalog 1 in all languages
Data type: RSD_T_IOBCTOptional: No
Call by Reference: Yes
I_T_IOBC_IOBJ1 - InfoObjects of the InfoObjectCatalog 1
Data type: RSD_T_IOBC_IOBJOptional: No
Call by Reference: Yes
I_TEXT_COLUMN2 - Heading Column 2
Data type: STRINGOptional: Yes
Call by Reference: Yes
I_S_IOBC2 - InfoObjectCatalog 2
Data type: RSD_S_IOBCOptional: No
Call by Reference: Yes
CHANGING Parameters details for RSD_IOBC_COMP_DIALOG
C_S_IOBC - modified ObjectCatalog toolbar
Data type: RSD_S_IOBCOptional: Yes
Call by Reference: Yes
C_T_IOBCT - changed ObjectCatalogtexts
Data type: RSD_T_IOBCTOptional: Yes
Call by Reference: Yes
C_T_IOBC_IOBJ - revised list of InfoObject of Object Catalog
Data type: RSD_T_IOBC_IOBJOptional: Yes
Call by Reference: Yes
C_T_MSG - BW: Table with Messages (Application Log)
Data type: RS_T_MSGOptional: Yes
Call by Reference: Yes
C_SUBRC - Return Code
Data type: SYSUBRCOptional: Yes
Call by Reference: Yes
EXCEPTIONS details
CANCEL - Cancellation
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for RSD_IOBC_COMP_DIALOG 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_cancel | TYPE STRING, " | |||
lv_c_s_iobc | TYPE RSD_S_IOBC, " | |||
lv_i_show_diff_only | TYPE RS_BOOL, " RS_C_TRUE | |||
lv_i_t_iobct2 | TYPE RSD_T_IOBCT, " | |||
lv_i_t_iobc_iobj2 | TYPE RSD_T_IOBC_IOBJ, " | |||
lv_c_t_iobct | TYPE RSD_T_IOBCT, " | |||
lv_i_enable_select | TYPE RS_BOOL, " RS_C_FALSE | |||
lv_c_t_iobc_iobj | TYPE RSD_T_IOBC_IOBJ, " | |||
lv_i_with_dialog | TYPE RS_BOOL, " RS_C_TRUE | |||
lv_c_t_msg | TYPE RS_T_MSG, " | |||
lv_i_text_column1 | TYPE STRING, " | |||
lv_c_subrc | TYPE SYSUBRC, " | |||
lv_i_s_iobc1 | TYPE RSD_S_IOBC, " | |||
lv_i_t_iobct1 | TYPE RSD_T_IOBCT, " | |||
lv_i_t_iobc_iobj1 | TYPE RSD_T_IOBC_IOBJ, " | |||
lv_i_text_column2 | TYPE STRING, " | |||
lv_i_s_iobc2 | TYPE RSD_S_IOBC. " |
  CALL FUNCTION 'RSD_IOBC_COMP_DIALOG' "Dialogue to compare / select InfoObjectCatalog properties |
EXPORTING | ||
I_SHOW_DIFF_ONLY | = lv_i_show_diff_only | |
I_T_IOBCT2 | = lv_i_t_iobct2 | |
I_T_IOBC_IOBJ2 | = lv_i_t_iobc_iobj2 | |
I_ENABLE_SELECT | = lv_i_enable_select | |
I_WITH_DIALOG | = lv_i_with_dialog | |
I_TEXT_COLUMN1 | = lv_i_text_column1 | |
I_S_IOBC1 | = lv_i_s_iobc1 | |
I_T_IOBCT1 | = lv_i_t_iobct1 | |
I_T_IOBC_IOBJ1 | = lv_i_t_iobc_iobj1 | |
I_TEXT_COLUMN2 | = lv_i_text_column2 | |
I_S_IOBC2 | = lv_i_s_iobc2 | |
CHANGING | ||
C_S_IOBC | = lv_c_s_iobc | |
C_T_IOBCT | = lv_c_t_iobct | |
C_T_IOBC_IOBJ | = lv_c_t_iobc_iobj | |
C_T_MSG | = lv_c_t_msg | |
C_SUBRC | = lv_c_subrc | |
EXCEPTIONS | ||
CANCEL = 1 | ||
. " RSD_IOBC_COMP_DIALOG |
ABAP code using 7.40 inline data declarations to call FM RSD_IOBC_COMP_DIALOG
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_show_diff_only) | = RS_C_TRUE. | |||
DATA(ld_i_enable_select) | = RS_C_FALSE. | |||
DATA(ld_i_with_dialog) | = RS_C_TRUE. | |||
Search for further information about these or an SAP related objects