SAP RSAR_ISOURCE_TD_USABLE Function Module for BIW: Returns a list of InfoSource with activated Comm. structures
RSAR_ISOURCE_TD_USABLE is a standard rsar isource td usable 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: Returns a list of InfoSource with activated Comm. structures 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 isource td usable FM, simply by entering the name RSAR_ISOURCE_TD_USABLE into the relevant SAP transaction such as SE37 or SE38.
Function Group: RSAC
Program Name: SAPLRSAC
Main Program: SAPLRSAC
Appliation area: B
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function RSAR_ISOURCE_TD_USABLE 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_ISOURCE_TD_USABLE'"BIW: Returns a list of InfoSource with activated Comm. structures.
EXPORTING
* I_APPLNM = "
* I_OBJVERS = RS_C_OBJVERS-ACTIVE "
* I_ISSRCTYPE = '%' "InfoSource type (generated from ODS / InfoCube / ...)
* I_DISPLAY_IS_NON3X = ' ' "'X': Neither 3.x InfoSource are displayed
IMPORTING
E_T_IS = "Table of activated InfoSources
E_T_IST = "Texts for the activated InfoSources
IMPORTING Parameters details for RSAR_ISOURCE_TD_USABLE
I_APPLNM -
Data type: RSA_APPLNMOptional: Yes
Call by Reference: No ( called with pass by value option)
I_OBJVERS -
Data type: RS_OBJVERSDefault: RS_C_OBJVERS-ACTIVE
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_ISSRCTYPE - InfoSource type (generated from ODS / InfoCube / ...)
Data type: RSISSRCTYPEDefault: '%'
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_DISPLAY_IS_NON3X - 'X': Neither 3.x InfoSource are displayed
Data type: RS_BOOLDefault: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for RSAR_ISOURCE_TD_USABLE
E_T_IS - Table of activated InfoSources
Data type: RSARC_T_RSISOptional: No
Call by Reference: No ( called with pass by value option)
E_T_IST - Texts for the activated InfoSources
Data type: RSARC_T_RSISTOptional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for RSAR_ISOURCE_TD_USABLE 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_t_is | TYPE RSARC_T_RSIS, " | |||
| lv_i_applnm | TYPE RSA_APPLNM, " | |||
| lv_e_t_ist | TYPE RSARC_T_RSIST, " | |||
| lv_i_objvers | TYPE RS_OBJVERS, " RS_C_OBJVERS-ACTIVE | |||
| lv_i_issrctype | TYPE RSISSRCTYPE, " '%' | |||
| lv_i_display_is_non3x | TYPE RS_BOOL. " ' ' |
|   CALL FUNCTION 'RSAR_ISOURCE_TD_USABLE' "BIW: Returns a list of InfoSource with activated Comm. structures |
| EXPORTING | ||
| I_APPLNM | = lv_i_applnm | |
| I_OBJVERS | = lv_i_objvers | |
| I_ISSRCTYPE | = lv_i_issrctype | |
| I_DISPLAY_IS_NON3X | = lv_i_display_is_non3x | |
| IMPORTING | ||
| E_T_IS | = lv_e_t_is | |
| E_T_IST | = lv_e_t_ist | |
| . " RSAR_ISOURCE_TD_USABLE | ||
ABAP code using 7.40 inline data declarations to call FM RSAR_ISOURCE_TD_USABLE
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_issrctype) | = '%'. | |||
| DATA(ld_i_display_is_non3x) | = ' '. | |||
Search for further information about these or an SAP related objects