SAP FINS_CFIN_REMOTE_FETCH_DATA Function Module for Get Remote Data
FINS_CFIN_REMOTE_FETCH_DATA is a standard fins cfin remote fetch data SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Get Remote 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 fins cfin remote fetch data FM, simply by entering the name FINS_CFIN_REMOTE_FETCH_DATA into the relevant SAP transaction such as SE37 or SE38.
Function Group: FINS_CFIN_CO_OBJECT
Program Name: SAPLFINS_CFIN_CO_OBJECT
Main Program: SAPLFINS_CFIN_CO_OBJECT
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function FINS_CFIN_REMOTE_FETCH_DATA 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 'FINS_CFIN_REMOTE_FETCH_DATA'"Get Remote Data.
EXPORTING
IT_DEST = "Logical System
LT_RANGE = "
* IT_TABNAME = "Number of Tables
* IV_MAX = 999 "
IMPORTING
ET_DATA = "transfered data
EXCEPTIONS
RFC_FAILURE = 1 ROLLNAME_NOT_FOUND = 2 NO_AUTHORIZATION = 3
IMPORTING Parameters details for FINS_CFIN_REMOTE_FETCH_DATA
IT_DEST - Logical System
Data type: RFCDESTOptional: No
Call by Reference: Yes
LT_RANGE -
Data type: RSDS_TRANGEOptional: No
Call by Reference: Yes
IT_TABNAME - Number of Tables
Data type: TTTABNAMEOptional: Yes
Call by Reference: Yes
IV_MAX -
Data type: IDefault: 999
Optional: Yes
Call by Reference: Yes
EXPORTING Parameters details for FINS_CFIN_REMOTE_FETCH_DATA
ET_DATA - transfered data
Data type: FINS_CFINY_TRANS_DATAOptional: No
Call by Reference: Yes
EXCEPTIONS details
RFC_FAILURE - RFC failure
Data type:Optional: No
Call by Reference: Yes
ROLLNAME_NOT_FOUND - Rollname not found in system
Data type:Optional: No
Call by Reference: Yes
NO_AUTHORIZATION - No authorization
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for FINS_CFIN_REMOTE_FETCH_DATA 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_et_data | TYPE FINS_CFINY_TRANS_DATA, " | |||
| lv_it_dest | TYPE RFCDEST, " | |||
| lv_rfc_failure | TYPE RFCDEST, " | |||
| lv_lt_range | TYPE RSDS_TRANGE, " | |||
| lv_rollname_not_found | TYPE RSDS_TRANGE, " | |||
| lv_it_tabname | TYPE TTTABNAME, " | |||
| lv_no_authorization | TYPE TTTABNAME, " | |||
| lv_iv_max | TYPE I. " 999 |
|   CALL FUNCTION 'FINS_CFIN_REMOTE_FETCH_DATA' "Get Remote Data |
| EXPORTING | ||
| IT_DEST | = lv_it_dest | |
| LT_RANGE | = lv_lt_range | |
| IT_TABNAME | = lv_it_tabname | |
| IV_MAX | = lv_iv_max | |
| IMPORTING | ||
| ET_DATA | = lv_et_data | |
| EXCEPTIONS | ||
| RFC_FAILURE = 1 | ||
| ROLLNAME_NOT_FOUND = 2 | ||
| NO_AUTHORIZATION = 3 | ||
| . " FINS_CFIN_REMOTE_FETCH_DATA | ||
ABAP code using 7.40 inline data declarations to call FM FINS_CFIN_REMOTE_FETCH_DATA
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_iv_max) | = 999. | |||
Search for further information about these or an SAP related objects