SAP RSAR_ISOURCE_TD_GET Function Module for Read an InfoSource for transaction data
RSAR_ISOURCE_TD_GET is a standard rsar isource td get SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Read an InfoSource for transaction data 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 get FM, simply by entering the name RSAR_ISOURCE_TD_GET 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_GET 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_GET'"Read an InfoSource for transaction data.
EXPORTING
* I_LANGU = SY-LANGU "Requested Language
I_ISOURCE = "InfoSource
* I_OBJVERS = RS_C_OBJVERS-ACTIVE "Requested object version
* I_COBJVERS = RS_C_OBJVERS-MODIFIED "Requested object version (KS)
* I_WITHOUT_AUTHORITY = "
IMPORTING
E_S_IS = "InfoSource header details
E_ODS_UPDTYPE = "Update Mode for ODS
E_S_IST = "Determined texts for an iInfoSource
E_T_FIELD = "Fields with technical properties
E_T_FIELDTXT = "Fields marked with text and technical PROPERTY CARACTERISTIQUE TECHNIQUE
E_ICON = "Icon of InfoSource type (active / inactive)
E_S_CS = "
E_T_CSFIELD = "
E_T_CSFIELDTXT = "
E_STOCKFLG = "Indicator: Non-Cumulative InfoSource
EXCEPTIONS
ISOURCE_NOT_FOUND = 1 UNAUTHORIZED = 2
IMPORTING Parameters details for RSAR_ISOURCE_TD_GET
I_LANGU - Requested Language
Data type: SY-LANGUDefault: SY-LANGU
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_ISOURCE - InfoSource
Data type: RSA_ISOURCEOptional: No
Call by Reference: No ( called with pass by value option)
I_OBJVERS - Requested object version
Data type: RS_OBJVERSDefault: RS_C_OBJVERS-ACTIVE
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_COBJVERS - Requested object version (KS)
Data type: RS_OBJVERSDefault: RS_C_OBJVERS-MODIFIED
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_WITHOUT_AUTHORITY -
Data type: RS_BOOLOptional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for RSAR_ISOURCE_TD_GET
E_S_IS - InfoSource header details
Data type: RSARC_S_RSISOptional: No
Call by Reference: No ( called with pass by value option)
E_ODS_UPDTYPE - Update Mode for ODS
Data type: RSARC_ODS_UPDTYPEOptional: No
Call by Reference: Yes
E_S_IST - Determined texts for an iInfoSource
Data type: RSARC_S_RSISTOptional: No
Call by Reference: No ( called with pass by value option)
E_T_FIELD - Fields with technical properties
Data type: RSARC_T_RSFIELDOptional: No
Call by Reference: No ( called with pass by value option)
E_T_FIELDTXT - Fields marked with text and technical PROPERTY CARACTERISTIQUE TECHNIQUE
Data type: RSARC_T_RSFIELDTXTOptional: No
Call by Reference: No ( called with pass by value option)
E_ICON - Icon of InfoSource type (active / inactive)
Data type: RS_ICONOptional: No
Call by Reference: No ( called with pass by value option)
E_S_CS -
Data type: RSARC_S_RSKSOptional: No
Call by Reference: No ( called with pass by value option)
E_T_CSFIELD -
Data type: RSARC_T_RSKSFIELDOptional: No
Call by Reference: No ( called with pass by value option)
E_T_CSFIELDTXT -
Data type: RSARC_T_RSKSFIELDTXTOptional: No
Call by Reference: No ( called with pass by value option)
E_STOCKFLG - Indicator: Non-Cumulative InfoSource
Data type: RS_BOOLOptional: No
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
ISOURCE_NOT_FOUND - InfoSource does not exist
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
UNAUTHORIZED -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for RSAR_ISOURCE_TD_GET 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_s_is | TYPE RSARC_S_RSIS, " | |||
| lv_i_langu | TYPE SY-LANGU, " SY-LANGU | |||
| lv_isource_not_found | TYPE SY, " | |||
| lv_e_ods_updtype | TYPE RSARC_ODS_UPDTYPE, " | |||
| lv_e_s_ist | TYPE RSARC_S_RSIST, " | |||
| lv_i_isource | TYPE RSA_ISOURCE, " | |||
| lv_unauthorized | TYPE RSA_ISOURCE, " | |||
| lv_e_t_field | TYPE RSARC_T_RSFIELD, " | |||
| lv_i_objvers | TYPE RS_OBJVERS, " RS_C_OBJVERS-ACTIVE | |||
| lv_i_cobjvers | TYPE RS_OBJVERS, " RS_C_OBJVERS-MODIFIED | |||
| lv_e_t_fieldtxt | TYPE RSARC_T_RSFIELDTXT, " | |||
| lv_e_icon | TYPE RS_ICON, " | |||
| lv_i_without_authority | TYPE RS_BOOL, " | |||
| lv_e_s_cs | TYPE RSARC_S_RSKS, " | |||
| lv_e_t_csfield | TYPE RSARC_T_RSKSFIELD, " | |||
| lv_e_t_csfieldtxt | TYPE RSARC_T_RSKSFIELDTXT, " | |||
| lv_e_stockflg | TYPE RS_BOOL. " |
|   CALL FUNCTION 'RSAR_ISOURCE_TD_GET' "Read an InfoSource for transaction data |
| EXPORTING | ||
| I_LANGU | = lv_i_langu | |
| I_ISOURCE | = lv_i_isource | |
| I_OBJVERS | = lv_i_objvers | |
| I_COBJVERS | = lv_i_cobjvers | |
| I_WITHOUT_AUTHORITY | = lv_i_without_authority | |
| IMPORTING | ||
| E_S_IS | = lv_e_s_is | |
| E_ODS_UPDTYPE | = lv_e_ods_updtype | |
| E_S_IST | = lv_e_s_ist | |
| E_T_FIELD | = lv_e_t_field | |
| E_T_FIELDTXT | = lv_e_t_fieldtxt | |
| E_ICON | = lv_e_icon | |
| E_S_CS | = lv_e_s_cs | |
| E_T_CSFIELD | = lv_e_t_csfield | |
| E_T_CSFIELDTXT | = lv_e_t_csfieldtxt | |
| E_STOCKFLG | = lv_e_stockflg | |
| EXCEPTIONS | ||
| ISOURCE_NOT_FOUND = 1 | ||
| UNAUTHORIZED = 2 | ||
| . " RSAR_ISOURCE_TD_GET | ||
ABAP code using 7.40 inline data declarations to call FM RSAR_ISOURCE_TD_GET
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.| "SELECT single LANGU FROM SY INTO @DATA(ld_i_langu). | ||||
| DATA(ld_i_langu) | = SY-LANGU. | |||
| DATA(ld_i_objvers) | = RS_C_OBJVERS-ACTIVE. | |||
| DATA(ld_i_cobjvers) | = RS_C_OBJVERS-MODIFIED. | |||
Search for further information about these or an SAP related objects