SAP API_RE_RC_CHANGE Function Module for Change Parcel Update
API_RE_RC_CHANGE is a standard api re rc change SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Change Parcel Update 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 api re rc change FM, simply by entering the name API_RE_RC_CHANGE 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_CHANGE 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_CHANGE'"Change Parcel Update.
EXPORTING
* ID_RCCATEGORY = "Parcel Update Category(RC, Land Reallocation, Appropriation)
* IT_PARTNER = "Partner
* IT_TEXT = "Texts/Memos - Internal - Change
* IT_RESUBM_RULE = "Reminder Rules
* IT_RESUBM_DATE = "Reminder Dates
* IT_STATUS = "Status
* IS_CI_DATA = "Data of CI Include
* IF_CI_DATA_X = ' ' "
* IT_EXT_DATA = "Enhancements: Data
* ID_TRANS = "Business Transaction
* IF_TEST_RUN = ' ' "
* ID_SURVEYOFFICE = "Survey Office
* IF_MSGLIST_INSTEAD_OF_EXC = ' ' "
* IO_MSGLIST = "
* ID_RCNO = "Parcel Update - Internal - Key Fields
* ID_INTRENO = "Internal Key of Real Estate Object
* ID_OBJNR = "Object Number
* IO_OBJECT = "
* IS_RECORD_CHANGE = "Parcel Update - Internal
* IS_RECORD_CHANGE_X = "Parcel Update - Internal - Change Fields
* IT_RC_PL_REL = "Change in Holdings - Internal
IMPORTING
EF_STORED = "
EXCEPTIONS
ERROR = 1
IMPORTING Parameters details for API_RE_RC_CHANGE
ID_RCCATEGORY - Parcel Update Category(RC, Land Reallocation, Appropriation)
Data type: BAPI_RE_RECORD_CHANGE_INTK-RCCATEGORYOptional: Yes
Call by Reference: Yes
IT_PARTNER - Partner
Data type: BAPI_RE_T_PARTNER_INTCOptional: Yes
Call by Reference: Yes
IT_TEXT - Texts/Memos - Internal - Change
Data type: BAPI_RE_T_TEXT_INTCOptional: Yes
Call by Reference: Yes
IT_RESUBM_RULE - Reminder Rules
Data type: BAPI_RE_T_RESUBM_RULE_INTCOptional: Yes
Call by Reference: Yes
IT_RESUBM_DATE - Reminder Dates
Data type: BAPI_RE_T_RESUBM_DATE_INTCOptional: Yes
Call by Reference: Yes
IT_STATUS - Status
Data type: BAPI_RE_T_STATUS_INTCOptional: Yes
Call by Reference: Yes
IS_CI_DATA - Data of CI Include
Data type: RELM_RECORD_CHANGE_CIOptional: Yes
Call by Reference: Yes
IF_CI_DATA_X -
Data type: RECABOOLDefault: ' '
Optional: Yes
Call by Reference: Yes
IT_EXT_DATA - Enhancements: Data
Data type: RE_T_EXT_DATAOptional: Yes
Call by Reference: Yes
ID_TRANS - Business Transaction
Data type: BAPI_RE_ADDITIONAL_FIELDS-TRANSOptional: Yes
Call by Reference: Yes
IF_TEST_RUN -
Data type: BAPI_RE_ADDITIONAL_FIELDS-TESTRUNDefault: ' '
Optional: Yes
Call by Reference: Yes
ID_SURVEYOFFICE - Survey Office
Data type: BAPI_RE_RECORD_CHANGE_INTK-SURVEYOFFICEOptional: Yes
Call by Reference: Yes
IF_MSGLIST_INSTEAD_OF_EXC -
Data type: RECABOOLDefault: ' '
Optional: Yes
Call by Reference: Yes
IO_MSGLIST -
Data type: OBJECTOptional: Yes
Call by Reference: Yes
ID_RCNO - Parcel Update - Internal - Key Fields
Data type: BAPI_RE_RECORD_CHANGE_INTK-RCNOOptional: Yes
Call by Reference: Yes
ID_INTRENO - Internal Key of Real Estate Object
Data type: RECAINTRENOOptional: Yes
Call by Reference: Yes
ID_OBJNR - Object Number
Data type: RECAOBJNROptional: Yes
Call by Reference: Yes
IO_OBJECT -
Data type: OBJECTOptional: Yes
Call by Reference: Yes
IS_RECORD_CHANGE - Parcel Update - Internal
Data type: BAPI_RE_RECORD_CHANGE_INTOptional: Yes
Call by Reference: Yes
IS_RECORD_CHANGE_X - Parcel Update - Internal - Change Fields
Data type: BAPI_RE_RECORD_CHANGE_INTXOptional: Yes
Call by Reference: Yes
IT_RC_PL_REL - Change in Holdings - Internal
Data type: BAPI_RE_T_RC_PL_REL_INTCOptional: Yes
Call by Reference: Yes
EXPORTING Parameters details for API_RE_RC_CHANGE
EF_STORED -
Data type: RECABOOLOptional: No
Call by Reference: Yes
EXCEPTIONS details
ERROR - Change Error
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for API_RE_RC_CHANGE 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_ef_stored | TYPE RECABOOL, " | |||
| lv_id_rccategory | TYPE BAPI_RE_RECORD_CHANGE_INTK-RCCATEGORY, " | |||
| lv_it_partner | TYPE BAPI_RE_T_PARTNER_INTC, " | |||
| lv_it_text | TYPE BAPI_RE_T_TEXT_INTC, " | |||
| lv_it_resubm_rule | TYPE BAPI_RE_T_RESUBM_RULE_INTC, " | |||
| lv_it_resubm_date | TYPE BAPI_RE_T_RESUBM_DATE_INTC, " | |||
| lv_it_status | TYPE BAPI_RE_T_STATUS_INTC, " | |||
| lv_is_ci_data | TYPE RELM_RECORD_CHANGE_CI, " | |||
| lv_if_ci_data_x | TYPE RECABOOL, " ' ' | |||
| lv_it_ext_data | TYPE RE_T_EXT_DATA, " | |||
| lv_id_trans | TYPE BAPI_RE_ADDITIONAL_FIELDS-TRANS, " | |||
| lv_if_test_run | TYPE BAPI_RE_ADDITIONAL_FIELDS-TESTRUN, " ' ' | |||
| lv_id_surveyoffice | TYPE BAPI_RE_RECORD_CHANGE_INTK-SURVEYOFFICE, " | |||
| lv_if_msglist_instead_of_exc | TYPE RECABOOL, " ' ' | |||
| lv_io_msglist | TYPE OBJECT, " | |||
| lv_id_rcno | TYPE BAPI_RE_RECORD_CHANGE_INTK-RCNO, " | |||
| lv_id_intreno | TYPE RECAINTRENO, " | |||
| lv_id_objnr | TYPE RECAOBJNR, " | |||
| lv_io_object | TYPE OBJECT, " | |||
| lv_is_record_change | TYPE BAPI_RE_RECORD_CHANGE_INT, " | |||
| lv_is_record_change_x | TYPE BAPI_RE_RECORD_CHANGE_INTX, " | |||
| lv_it_rc_pl_rel | TYPE BAPI_RE_T_RC_PL_REL_INTC. " |
|   CALL FUNCTION 'API_RE_RC_CHANGE' "Change Parcel Update |
| EXPORTING | ||
| ID_RCCATEGORY | = lv_id_rccategory | |
| IT_PARTNER | = lv_it_partner | |
| IT_TEXT | = lv_it_text | |
| IT_RESUBM_RULE | = lv_it_resubm_rule | |
| IT_RESUBM_DATE | = lv_it_resubm_date | |
| IT_STATUS | = lv_it_status | |
| IS_CI_DATA | = lv_is_ci_data | |
| IF_CI_DATA_X | = lv_if_ci_data_x | |
| IT_EXT_DATA | = lv_it_ext_data | |
| ID_TRANS | = lv_id_trans | |
| IF_TEST_RUN | = lv_if_test_run | |
| ID_SURVEYOFFICE | = lv_id_surveyoffice | |
| IF_MSGLIST_INSTEAD_OF_EXC | = lv_if_msglist_instead_of_exc | |
| IO_MSGLIST | = lv_io_msglist | |
| ID_RCNO | = lv_id_rcno | |
| ID_INTRENO | = lv_id_intreno | |
| ID_OBJNR | = lv_id_objnr | |
| IO_OBJECT | = lv_io_object | |
| IS_RECORD_CHANGE | = lv_is_record_change | |
| IS_RECORD_CHANGE_X | = lv_is_record_change_x | |
| IT_RC_PL_REL | = lv_it_rc_pl_rel | |
| IMPORTING | ||
| EF_STORED | = lv_ef_stored | |
| EXCEPTIONS | ||
| ERROR = 1 | ||
| . " API_RE_RC_CHANGE | ||
ABAP code using 7.40 inline data declarations to call FM API_RE_RC_CHANGE
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 RCCATEGORY FROM BAPI_RE_RECORD_CHANGE_INTK INTO @DATA(ld_id_rccategory). | ||||
| DATA(ld_if_ci_data_x) | = ' '. | |||
| "SELECT single TRANS FROM BAPI_RE_ADDITIONAL_FIELDS INTO @DATA(ld_id_trans). | ||||
| "SELECT single TESTRUN FROM BAPI_RE_ADDITIONAL_FIELDS INTO @DATA(ld_if_test_run). | ||||
| DATA(ld_if_test_run) | = ' '. | |||
| "SELECT single SURVEYOFFICE FROM BAPI_RE_RECORD_CHANGE_INTK INTO @DATA(ld_id_surveyoffice). | ||||
| DATA(ld_if_msglist_instead_of_exc) | = ' '. | |||
| "SELECT single RCNO FROM BAPI_RE_RECORD_CHANGE_INTK INTO @DATA(ld_id_rcno). | ||||
Search for further information about these or an SAP related objects