SAP API_RE_RC_GET_LIST Function Module for
API_RE_RC_GET_LIST is a standard api re rc get list SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, 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 api re rc get list FM, simply by entering the name API_RE_RC_GET_LIST into the relevant SAP transaction such as SE37 or SE38.
Function Group: RELM_API_RECORD_CHANGE
Program Name: SAPLRELM_API_RECORD_CHANGE
Main Program: SAPLRELM_API_RECORD_CHANGE
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function API_RE_RC_GET_LIST 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 'API_RE_RC_GET_LIST'".
EXPORTING
* IT_SELOPTION = "Selection Options
* ITO_OBJECT = "Table with object references
* ID_DETAIL_DATA_FROM = "Date: Detailed Data Valid From
* ID_DETAIL_DATA_TO = "Date: Detailed Data Valid To
* IF_OLD_DATA = ' ' "
* ID_MAX_ROWS = 0 "Maximum Number of Lines of Hits
IMPORTING
ET_RECORD_CHANGE = "Parcel Update - Internal
ET_RC_PL_REL = "Change in Holdings - Internal
ET_PARTNER = "Partner
ET_TEXT = "Texts/Memos - Internal
ET_RESUBM_RULE = "Reminder Rules
ET_RESUBM_DATE = "Reminder Dates
ET_STATUS = "Status
ET_CI_DATA = "
ET_EXT_DATA = "Enhancements: Data with ID
EXCEPTIONS
ERROR = 1
IMPORTING Parameters details for API_RE_RC_GET_LIST
IT_SELOPTION - Selection Options
Data type: BAPI_RE_T_SELOPTION_INTOptional: Yes
Call by Reference: Yes
ITO_OBJECT - Table with object references
Data type: RE_T_OBJECTOptional: Yes
Call by Reference: Yes
ID_DETAIL_DATA_FROM - Date: Detailed Data Valid From
Data type: BAPI_RE_ADDITIONAL_FIELDS_INT-DETAILVALIDFROMOptional: Yes
Call by Reference: Yes
ID_DETAIL_DATA_TO - Date: Detailed Data Valid To
Data type: BAPI_RE_ADDITIONAL_FIELDS_INT-DETAILVALIDTOOptional: Yes
Call by Reference: Yes
IF_OLD_DATA -
Data type: RECABOOLDefault: ' '
Optional: Yes
Call by Reference: Yes
ID_MAX_ROWS - Maximum Number of Lines of Hits
Data type: BAPIMAXROWOptional: Yes
Call by Reference: Yes
EXPORTING Parameters details for API_RE_RC_GET_LIST
ET_RECORD_CHANGE - Parcel Update - Internal
Data type: BAPI_RE_T_RECORD_CHANGE_INTOptional: No
Call by Reference: Yes
ET_RC_PL_REL - Change in Holdings - Internal
Data type: BAPI_RE_T_RC_PL_REL_INTOptional: No
Call by Reference: Yes
ET_PARTNER - Partner
Data type: BAPI_RE_T_PARTNER_INTOptional: No
Call by Reference: Yes
ET_TEXT - Texts/Memos - Internal
Data type: BAPI_RE_T_TEXT_INTOptional: No
Call by Reference: Yes
ET_RESUBM_RULE - Reminder Rules
Data type: BAPI_RE_T_RESUBM_RULE_INTOptional: No
Call by Reference: Yes
ET_RESUBM_DATE - Reminder Dates
Data type: BAPI_RE_T_RESUBM_DATE_INTOptional: No
Call by Reference: Yes
ET_STATUS - Status
Data type: BAPI_RE_T_STATUS_INTOptional: No
Call by Reference: Yes
ET_CI_DATA -
Data type: RE_T_RECORD_CHANGE_IDENT_CIOptional: No
Call by Reference: Yes
ET_EXT_DATA - Enhancements: Data with ID
Data type: RE_T_EXT_DATA_IDENTOptional: No
Call by Reference: Yes
EXCEPTIONS details
ERROR - Error Occurred While Determining the Data
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for API_RE_RC_GET_LIST 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_error | TYPE STRING, " | |||
| lv_it_seloption | TYPE BAPI_RE_T_SELOPTION_INT, " | |||
| lv_et_record_change | TYPE BAPI_RE_T_RECORD_CHANGE_INT, " | |||
| lv_ito_object | TYPE RE_T_OBJECT, " | |||
| lv_et_rc_pl_rel | TYPE BAPI_RE_T_RC_PL_REL_INT, " | |||
| lv_et_partner | TYPE BAPI_RE_T_PARTNER_INT, " | |||
| lv_id_detail_data_from | TYPE BAPI_RE_ADDITIONAL_FIELDS_INT-DETAILVALIDFROM, " | |||
| lv_et_text | TYPE BAPI_RE_T_TEXT_INT, " | |||
| lv_id_detail_data_to | TYPE BAPI_RE_ADDITIONAL_FIELDS_INT-DETAILVALIDTO, " | |||
| lv_if_old_data | TYPE RECABOOL, " ' ' | |||
| lv_et_resubm_rule | TYPE BAPI_RE_T_RESUBM_RULE_INT, " | |||
| lv_id_max_rows | TYPE BAPIMAXROW, " 0 | |||
| lv_et_resubm_date | TYPE BAPI_RE_T_RESUBM_DATE_INT, " | |||
| lv_et_status | TYPE BAPI_RE_T_STATUS_INT, " | |||
| lv_et_ci_data | TYPE RE_T_RECORD_CHANGE_IDENT_CI, " | |||
| lv_et_ext_data | TYPE RE_T_EXT_DATA_IDENT. " |
|   CALL FUNCTION 'API_RE_RC_GET_LIST' " |
| EXPORTING | ||
| IT_SELOPTION | = lv_it_seloption | |
| ITO_OBJECT | = lv_ito_object | |
| ID_DETAIL_DATA_FROM | = lv_id_detail_data_from | |
| ID_DETAIL_DATA_TO | = lv_id_detail_data_to | |
| IF_OLD_DATA | = lv_if_old_data | |
| ID_MAX_ROWS | = lv_id_max_rows | |
| IMPORTING | ||
| ET_RECORD_CHANGE | = lv_et_record_change | |
| ET_RC_PL_REL | = lv_et_rc_pl_rel | |
| ET_PARTNER | = lv_et_partner | |
| ET_TEXT | = lv_et_text | |
| ET_RESUBM_RULE | = lv_et_resubm_rule | |
| ET_RESUBM_DATE | = lv_et_resubm_date | |
| ET_STATUS | = lv_et_status | |
| ET_CI_DATA | = lv_et_ci_data | |
| ET_EXT_DATA | = lv_et_ext_data | |
| EXCEPTIONS | ||
| ERROR = 1 | ||
| . " API_RE_RC_GET_LIST | ||
ABAP code using 7.40 inline data declarations to call FM API_RE_RC_GET_LIST
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 DETAILVALIDFROM FROM BAPI_RE_ADDITIONAL_FIELDS_INT INTO @DATA(ld_id_detail_data_from). | ||||
| "SELECT single DETAILVALIDTO FROM BAPI_RE_ADDITIONAL_FIELDS_INT INTO @DATA(ld_id_detail_data_to). | ||||
| DATA(ld_if_old_data) | = ' '. | |||
Search for further information about these or an SAP related objects