SAP REOR_API_SR_PARAM_CHG Function Module for
REOR_API_SR_PARAM_CHG is a standard reor api sr param chg 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 reor api sr param chg FM, simply by entering the name REOR_API_SR_PARAM_CHG into the relevant SAP transaction such as SE37 or SE38.
Function Group: REOR_BAPI_SR_PARAM
Program Name: SAPLREOR_BAPI_SR_PARAM
Main Program: SAPLREOR_BAPI_SR_PARAM
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function REOR_API_SR_PARAM_CHG 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 'REOR_API_SR_PARAM_CHG'".
EXPORTING
IO_RENTAL_REQUEST = "
* IT_SR_NBHD = "
* IT_SR_AECCHAR = "
IO_MSGLIST = "
* IT_SR_BUSENT = "
* IT_SR_CHARACT = "
* IT_SR_FLOOR = "
* IT_SR_DISTLOC = "
* IT_SR_REG_LOC = "
* IT_SR_LOC = "
* IT_SR_LOC_NE = "
* IT_SR_TR_CONN = "
IMPORTING Parameters details for REOR_API_SR_PARAM_CHG
IO_RENTAL_REQUEST -
Data type: IF_REOR_RENTAL_REQUESTOptional: No
Call by Reference: No ( called with pass by value option)
IT_SR_NBHD -
Data type: BAPI_RE_T_SR_NBHD_INTCOptional: Yes
Call by Reference: Yes
IT_SR_AECCHAR -
Data type: BAPI_RE_T_SR_AECCHAR_INTCOptional: Yes
Call by Reference: Yes
IO_MSGLIST -
Data type: IF_RECA_MESSAGE_LISTOptional: No
Call by Reference: No ( called with pass by value option)
IT_SR_BUSENT -
Data type: BAPI_RE_T_SR_BUSENT_INTCOptional: Yes
Call by Reference: Yes
IT_SR_CHARACT -
Data type: BAPI_RE_T_SR_CHARACT_INTCOptional: Yes
Call by Reference: Yes
IT_SR_FLOOR -
Data type: BAPI_RE_T_SR_FLOOR_INTCOptional: Yes
Call by Reference: Yes
IT_SR_DISTLOC -
Data type: BAPI_RE_T_SR_DISTLOC_INTCOptional: Yes
Call by Reference: Yes
IT_SR_REG_LOC -
Data type: BAPI_RE_T_SR_REG_LOC_INTCOptional: Yes
Call by Reference: Yes
IT_SR_LOC -
Data type: BAPI_RE_T_SR_LOC_INTCOptional: Yes
Call by Reference: Yes
IT_SR_LOC_NE -
Data type: BAPI_RE_T_SR_LOC_INTCOptional: Yes
Call by Reference: Yes
IT_SR_TR_CONN -
Data type: BAPI_RE_T_SR_TR_CONN_INTCOptional: Yes
Call by Reference: Yes
Copy and paste ABAP code example for REOR_API_SR_PARAM_CHG 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_io_rental_request | TYPE IF_REOR_RENTAL_REQUEST, " | |||
| lv_it_sr_nbhd | TYPE BAPI_RE_T_SR_NBHD_INTC, " | |||
| lv_it_sr_aecchar | TYPE BAPI_RE_T_SR_AECCHAR_INTC, " | |||
| lv_io_msglist | TYPE IF_RECA_MESSAGE_LIST, " | |||
| lv_it_sr_busent | TYPE BAPI_RE_T_SR_BUSENT_INTC, " | |||
| lv_it_sr_charact | TYPE BAPI_RE_T_SR_CHARACT_INTC, " | |||
| lv_it_sr_floor | TYPE BAPI_RE_T_SR_FLOOR_INTC, " | |||
| lv_it_sr_distloc | TYPE BAPI_RE_T_SR_DISTLOC_INTC, " | |||
| lv_it_sr_reg_loc | TYPE BAPI_RE_T_SR_REG_LOC_INTC, " | |||
| lv_it_sr_loc | TYPE BAPI_RE_T_SR_LOC_INTC, " | |||
| lv_it_sr_loc_ne | TYPE BAPI_RE_T_SR_LOC_INTC, " | |||
| lv_it_sr_tr_conn | TYPE BAPI_RE_T_SR_TR_CONN_INTC. " |
|   CALL FUNCTION 'REOR_API_SR_PARAM_CHG' " |
| EXPORTING | ||
| IO_RENTAL_REQUEST | = lv_io_rental_request | |
| IT_SR_NBHD | = lv_it_sr_nbhd | |
| IT_SR_AECCHAR | = lv_it_sr_aecchar | |
| IO_MSGLIST | = lv_io_msglist | |
| IT_SR_BUSENT | = lv_it_sr_busent | |
| IT_SR_CHARACT | = lv_it_sr_charact | |
| IT_SR_FLOOR | = lv_it_sr_floor | |
| IT_SR_DISTLOC | = lv_it_sr_distloc | |
| IT_SR_REG_LOC | = lv_it_sr_reg_loc | |
| IT_SR_LOC | = lv_it_sr_loc | |
| IT_SR_LOC_NE | = lv_it_sr_loc_ne | |
| IT_SR_TR_CONN | = lv_it_sr_tr_conn | |
| . " REOR_API_SR_PARAM_CHG | ||
ABAP code using 7.40 inline data declarations to call FM REOR_API_SR_PARAM_CHG
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.Search for further information about these or an SAP related objects