SAP RSAR_INFOSOURCE_DIALOG Function Module for BIW: InfoSource dialog function module
RSAR_INFOSOURCE_DIALOG is a standard rsar infosource 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 BIW: InfoSource dialog function module 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 rsar infosource dialog FM, simply by entering the name RSAR_INFOSOURCE_DIALOG into the relevant SAP transaction such as SE37 or SE38.
Function Group: RSAD
Program Name: SAPLRSAD
Main Program: SAPLRSAD
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function RSAR_INFOSOURCE_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 'RSAR_INFOSOURCE_DIALOG'"BIW: InfoSource dialog function module.
EXPORTING
I_ISOURCE = "InfoSource
I_T_TS = "Table of Header Information on Transfer Structures
I_T_CSMULTI = "Help Table for Transfer Structures with Fields Table
I_T_CSOLTPFIELD = "
I_T_TSMULTI = "Help Table for Transfer Structures with Fields Table
I_T_RULMULTI = "Help Table for Transfer Structure with Rules Table
I_T_ISOSMAP = "Mapping between InfoSources and OLTP Sources
I_T_OLTPSOURCE = "Replicate Table for OLTP Sources in BW
I_T_OLTPSOURCET = "Texts for OLTP Sources
I_T_OSOURCEFIELD = "OLTP Source Fields
I_T_OSOURCEFIELDT = "Texts for OLTP Source Fields
I_ISTYPE = "Type of requested data
I_T_OSFIELDMAP = "Feld <-> InfoObject Mapping of an OLTP Source
I_T_OHIECOM = "Compounding Information for Hierarchy DataSources
I_T_OLTPMULTI = "Help Table for DataSources with Fields Table
I_T_SYS = "Log Sys. with Text and Type, also Flag
I_MODUS = "Processing mode
I_1STSCR = "Definition for which screen is displayed in the IS dialog
I_TX_SEGMENTS = "DataSource Segments
I_TX_OSSEGMAP = "Mapping for Segments of a DataSource
I_T_CS_IOBJ_USAGE = "Where-used List for InfoObjects in Communication Structure
* I_R_NAVIGATOR = "Access to AWB Navigator
I_S_ISOSMAP = "Mapping between InfoSources and OLTP Sources
I_S_OLTPSOURCE = "Replicate Table for OLTP Sources in BW
I_S_OLTPSOURCET = "Texts for OLTP Sources
I_S_TS = "Transfer Structure
I_S_IS = "InfoSource (Transaction Data)
I_S_OS = "InfoSource (master data, texts, hierarchies)
I_S_TXT = "InfoSource texts
EXCEPTIONS
LOCKING_ERROR = 1
IMPORTING Parameters details for RSAR_INFOSOURCE_DIALOG
I_ISOURCE - InfoSource
Data type: RSISOURCEOptional: No
Call by Reference: Yes
I_T_TS - Table of Header Information on Transfer Structures
Data type: RSAOS_T_TSOptional: No
Call by Reference: Yes
I_T_CSMULTI - Help Table for Transfer Structures with Fields Table
Data type: RSARC_T_RSKSMULTIOptional: No
Call by Reference: Yes
I_T_CSOLTPFIELD -
Data type: RSARC_T_RSSKSFIELDOptional: No
Call by Reference: Yes
I_T_TSMULTI - Help Table for Transfer Structures with Fields Table
Data type: RSARC_T_RSTSMULTIOptional: No
Call by Reference: Yes
I_T_RULMULTI - Help Table for Transfer Structure with Rules Table
Data type: RSARC_T_RSRULMULTIOptional: No
Call by Reference: Yes
I_T_ISOSMAP - Mapping between InfoSources and OLTP Sources
Data type: RSAOS_T_ISOSMAPOptional: No
Call by Reference: Yes
I_T_OLTPSOURCE - Replicate Table for OLTP Sources in BW
Data type: RSAOS_T_OLTPSOURCEOptional: No
Call by Reference: Yes
I_T_OLTPSOURCET - Texts for OLTP Sources
Data type: RSAOS_T_OLTPSOURCETOptional: No
Call by Reference: Yes
I_T_OSOURCEFIELD - OLTP Source Fields
Data type: RSAOS_T_OLTPSOURCEFIEOptional: No
Call by Reference: Yes
I_T_OSOURCEFIELDT - Texts for OLTP Source Fields
Data type: RSAOS_T_OLTPSOURCEFIETOptional: No
Call by Reference: Yes
I_ISTYPE - Type of requested data
Data type: RSREQUTYPEOptional: No
Call by Reference: Yes
I_T_OSFIELDMAP - Feld <-> InfoObject Mapping of an OLTP Source
Data type: RSAOS_T_OSFIELDMAPOptional: No
Call by Reference: Yes
I_T_OHIECOM - Compounding Information for Hierarchy DataSources
Data type: RSAOS_T_OLTPSOURCEHIECOMOptional: No
Call by Reference: Yes
I_T_OLTPMULTI - Help Table for DataSources with Fields Table
Data type: RSARC_T_RSOLTPMULTIOptional: No
Call by Reference: Yes
I_T_SYS - Log Sys. with Text and Type, also Flag
Data type: RSARC_T_SYSOptional: No
Call by Reference: Yes
I_MODUS - Processing mode
Data type: RS_MODUSOptional: No
Call by Reference: Yes
I_1STSCR - Definition for which screen is displayed in the IS dialog
Data type: RSIS1STSCROptional: No
Call by Reference: Yes
I_TX_SEGMENTS - DataSource Segments
Data type: RSAOS_TX_SEGMENTSOptional: No
Call by Reference: Yes
I_TX_OSSEGMAP - Mapping for Segments of a DataSource
Data type: RSAOS_TX_OSSEGMAPOptional: No
Call by Reference: Yes
I_T_CS_IOBJ_USAGE - Where-used List for InfoObjects in Communication Structure
Data type: RSAD_T_CS_IOBJ_USAGEOptional: No
Call by Reference: Yes
I_R_NAVIGATOR - Access to AWB Navigator
Data type: IF_RSAWBN_NAVIGATOROptional: Yes
Call by Reference: Yes
I_S_ISOSMAP - Mapping between InfoSources and OLTP Sources
Data type: RSISOSMAPOptional: No
Call by Reference: Yes
I_S_OLTPSOURCE - Replicate Table for OLTP Sources in BW
Data type: RSOLTPSOURCEOptional: No
Call by Reference: Yes
I_S_OLTPSOURCET - Texts for OLTP Sources
Data type: RSOLTPSOURCETOptional: No
Call by Reference: Yes
I_S_TS - Transfer Structure
Data type: RSTSOptional: No
Call by Reference: Yes
I_S_IS - InfoSource (Transaction Data)
Data type: RSISOptional: No
Call by Reference: Yes
I_S_OS - InfoSource (master data, texts, hierarchies)
Data type: RSARC_S_RSOSOptional: No
Call by Reference: Yes
I_S_TXT - InfoSource texts
Data type: RSISTOptional: No
Call by Reference: Yes
EXCEPTIONS details
LOCKING_ERROR - Locking Error
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for RSAR_INFOSOURCE_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_i_isource | TYPE RSISOURCE, " | |||
| lv_locking_error | TYPE RSISOURCE, " | |||
| lv_i_t_ts | TYPE RSAOS_T_TS, " | |||
| lv_i_t_csmulti | TYPE RSARC_T_RSKSMULTI, " | |||
| lv_i_t_csoltpfield | TYPE RSARC_T_RSSKSFIELD, " | |||
| lv_i_t_tsmulti | TYPE RSARC_T_RSTSMULTI, " | |||
| lv_i_t_rulmulti | TYPE RSARC_T_RSRULMULTI, " | |||
| lv_i_t_isosmap | TYPE RSAOS_T_ISOSMAP, " | |||
| lv_i_t_oltpsource | TYPE RSAOS_T_OLTPSOURCE, " | |||
| lv_i_t_oltpsourcet | TYPE RSAOS_T_OLTPSOURCET, " | |||
| lv_i_t_osourcefield | TYPE RSAOS_T_OLTPSOURCEFIE, " | |||
| lv_i_t_osourcefieldt | TYPE RSAOS_T_OLTPSOURCEFIET, " | |||
| lv_i_istype | TYPE RSREQUTYPE, " | |||
| lv_i_t_osfieldmap | TYPE RSAOS_T_OSFIELDMAP, " | |||
| lv_i_t_ohiecom | TYPE RSAOS_T_OLTPSOURCEHIECOM, " | |||
| lv_i_t_oltpmulti | TYPE RSARC_T_RSOLTPMULTI, " | |||
| lv_i_t_sys | TYPE RSARC_T_SYS, " | |||
| lv_i_modus | TYPE RS_MODUS, " | |||
| lv_i_1stscr | TYPE RSIS1STSCR, " | |||
| lv_i_tx_segments | TYPE RSAOS_TX_SEGMENTS, " | |||
| lv_i_tx_ossegmap | TYPE RSAOS_TX_OSSEGMAP, " | |||
| lv_i_t_cs_iobj_usage | TYPE RSAD_T_CS_IOBJ_USAGE, " | |||
| lv_i_r_navigator | TYPE IF_RSAWBN_NAVIGATOR, " | |||
| lv_i_s_isosmap | TYPE RSISOSMAP, " | |||
| lv_i_s_oltpsource | TYPE RSOLTPSOURCE, " | |||
| lv_i_s_oltpsourcet | TYPE RSOLTPSOURCET, " | |||
| lv_i_s_ts | TYPE RSTS, " | |||
| lv_i_s_is | TYPE RSIS, " | |||
| lv_i_s_os | TYPE RSARC_S_RSOS, " | |||
| lv_i_s_txt | TYPE RSIST. " |
|   CALL FUNCTION 'RSAR_INFOSOURCE_DIALOG' "BIW: InfoSource dialog function module |
| EXPORTING | ||
| I_ISOURCE | = lv_i_isource | |
| I_T_TS | = lv_i_t_ts | |
| I_T_CSMULTI | = lv_i_t_csmulti | |
| I_T_CSOLTPFIELD | = lv_i_t_csoltpfield | |
| I_T_TSMULTI | = lv_i_t_tsmulti | |
| I_T_RULMULTI | = lv_i_t_rulmulti | |
| I_T_ISOSMAP | = lv_i_t_isosmap | |
| I_T_OLTPSOURCE | = lv_i_t_oltpsource | |
| I_T_OLTPSOURCET | = lv_i_t_oltpsourcet | |
| I_T_OSOURCEFIELD | = lv_i_t_osourcefield | |
| I_T_OSOURCEFIELDT | = lv_i_t_osourcefieldt | |
| I_ISTYPE | = lv_i_istype | |
| I_T_OSFIELDMAP | = lv_i_t_osfieldmap | |
| I_T_OHIECOM | = lv_i_t_ohiecom | |
| I_T_OLTPMULTI | = lv_i_t_oltpmulti | |
| I_T_SYS | = lv_i_t_sys | |
| I_MODUS | = lv_i_modus | |
| I_1STSCR | = lv_i_1stscr | |
| I_TX_SEGMENTS | = lv_i_tx_segments | |
| I_TX_OSSEGMAP | = lv_i_tx_ossegmap | |
| I_T_CS_IOBJ_USAGE | = lv_i_t_cs_iobj_usage | |
| I_R_NAVIGATOR | = lv_i_r_navigator | |
| I_S_ISOSMAP | = lv_i_s_isosmap | |
| I_S_OLTPSOURCE | = lv_i_s_oltpsource | |
| I_S_OLTPSOURCET | = lv_i_s_oltpsourcet | |
| I_S_TS | = lv_i_s_ts | |
| I_S_IS | = lv_i_s_is | |
| I_S_OS | = lv_i_s_os | |
| I_S_TXT | = lv_i_s_txt | |
| EXCEPTIONS | ||
| LOCKING_ERROR = 1 | ||
| . " RSAR_INFOSOURCE_DIALOG | ||
ABAP code using 7.40 inline data declarations to call FM RSAR_INFOSOURCE_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.Search for further information about these or an SAP related objects