SAP RERA_COMP_RENTAL_ADJUSTMENT Function Module for
RERA_COMP_RENTAL_ADJUSTMENT is a standard rera comp rental adjustment 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 rera comp rental adjustment FM, simply by entering the name RERA_COMP_RENTAL_ADJUSTMENT into the relevant SAP transaction such as SE37 or SE38.
Function Group: FVMA00
Program Name: SAPLFVMA00
Main Program: SAPLFVMA00
Appliation area: F
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function RERA_COMP_RENTAL_ADJUSTMENT 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 'RERA_COMP_RENTAL_ADJUSTMENT'".
EXPORTING
IV_SANPNR = "
IV_SACTNR = "
IR_PARAMS = "
* IV_UPDATE = ' ' "
* IV_PROG_IND = '1' "
* IV_ADJRHYPOS = ' ' "
IMPORTING
ER_VIMI17 = "
EV_MV_SELECTED = "
EV_ME_SELECTED = "
EV_MV_ADJUSTED = "
EV_ME_ADJUSTED = "
TABLES
* CT_VIMI01 = "
* ET_MESSAGES = "
* CT_VIMIMV = "
* CT_VIOB01 = "
* CT_VIOB03 = "
* IT_ADJVAL = "
* IT_INDUAL = "
* IT_SKOART = "
* ET_VIMI16 = "
* ET_PROTOCOL = "
IMPORTING Parameters details for RERA_COMP_RENTAL_ADJUSTMENT
IV_SANPNR -
Data type: TIV11-SANPNROptional: No
Call by Reference: No ( called with pass by value option)
IV_SACTNR -
Data type: COptional: No
Call by Reference: No ( called with pass by value option)
IR_PARAMS -
Data type: RFVIMAPARAOptional: No
Call by Reference: No ( called with pass by value option)
IV_UPDATE -
Data type: XFELDDefault: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)
IV_PROG_IND -
Data type: CHAR01Default: '1'
Optional: Yes
Call by Reference: No ( called with pass by value option)
IV_ADJRHYPOS -
Data type: VIMI17-JADJSRCMVDefault: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for RERA_COMP_RENTAL_ADJUSTMENT
ER_VIMI17 -
Data type: VIMI17Optional: No
Call by Reference: No ( called with pass by value option)
EV_MV_SELECTED -
Data type: IOptional: No
Call by Reference: No ( called with pass by value option)
EV_ME_SELECTED -
Data type: IOptional: No
Call by Reference: No ( called with pass by value option)
EV_MV_ADJUSTED -
Data type: IOptional: No
Call by Reference: No ( called with pass by value option)
EV_ME_ADJUSTED -
Data type: IOptional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for RERA_COMP_RENTAL_ADJUSTMENT
CT_VIMI01 -
Data type: VIMI01Optional: Yes
Call by Reference: No ( called with pass by value option)
ET_MESSAGES -
Data type: RFVIMAMESGOptional: Yes
Call by Reference: No ( called with pass by value option)
CT_VIMIMV -
Data type: VIMIMVOptional: Yes
Call by Reference: No ( called with pass by value option)
CT_VIOB01 -
Data type: VIOB01Optional: Yes
Call by Reference: No ( called with pass by value option)
CT_VIOB03 -
Data type: VIOB03Optional: Yes
Call by Reference: No ( called with pass by value option)
IT_ADJVAL -
Data type: RFVIADJVALOptional: Yes
Call by Reference: No ( called with pass by value option)
IT_INDUAL -
Data type: RFVIINDUALOptional: Yes
Call by Reference: No ( called with pass by value option)
IT_SKOART -
Data type: RSOSKOARTOptional: Yes
Call by Reference: No ( called with pass by value option)
ET_VIMI16 -
Data type: VIMI16Optional: Yes
Call by Reference: No ( called with pass by value option)
ET_PROTOCOL -
Data type: SPROT_UOptional: Yes
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for RERA_COMP_RENTAL_ADJUSTMENT 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: | ||||
| lt_ct_vimi01 | TYPE STANDARD TABLE OF VIMI01, " | |||
| lv_er_vimi17 | TYPE VIMI17, " | |||
| lv_iv_sanpnr | TYPE TIV11-SANPNR, " | |||
| lt_et_messages | TYPE STANDARD TABLE OF RFVIMAMESG, " | |||
| lt_ct_vimimv | TYPE STANDARD TABLE OF VIMIMV, " | |||
| lv_iv_sactnr | TYPE C, " | |||
| lv_ev_mv_selected | TYPE I, " | |||
| lt_ct_viob01 | TYPE STANDARD TABLE OF VIOB01, " | |||
| lv_ir_params | TYPE RFVIMAPARA, " | |||
| lv_ev_me_selected | TYPE I, " | |||
| lt_ct_viob03 | TYPE STANDARD TABLE OF VIOB03, " | |||
| lv_iv_update | TYPE XFELD, " ' ' | |||
| lv_ev_mv_adjusted | TYPE I, " | |||
| lt_it_adjval | TYPE STANDARD TABLE OF RFVIADJVAL, " | |||
| lv_iv_prog_ind | TYPE CHAR01, " '1' | |||
| lv_ev_me_adjusted | TYPE I, " | |||
| lt_it_indual | TYPE STANDARD TABLE OF RFVIINDUAL, " | |||
| lv_iv_adjrhypos | TYPE VIMI17-JADJSRCMV, " ' ' | |||
| lt_it_skoart | TYPE STANDARD TABLE OF RSOSKOART, " | |||
| lt_et_vimi16 | TYPE STANDARD TABLE OF VIMI16, " | |||
| lt_et_protocol | TYPE STANDARD TABLE OF SPROT_U. " |
|   CALL FUNCTION 'RERA_COMP_RENTAL_ADJUSTMENT' " |
| EXPORTING | ||
| IV_SANPNR | = lv_iv_sanpnr | |
| IV_SACTNR | = lv_iv_sactnr | |
| IR_PARAMS | = lv_ir_params | |
| IV_UPDATE | = lv_iv_update | |
| IV_PROG_IND | = lv_iv_prog_ind | |
| IV_ADJRHYPOS | = lv_iv_adjrhypos | |
| IMPORTING | ||
| ER_VIMI17 | = lv_er_vimi17 | |
| EV_MV_SELECTED | = lv_ev_mv_selected | |
| EV_ME_SELECTED | = lv_ev_me_selected | |
| EV_MV_ADJUSTED | = lv_ev_mv_adjusted | |
| EV_ME_ADJUSTED | = lv_ev_me_adjusted | |
| TABLES | ||
| CT_VIMI01 | = lt_ct_vimi01 | |
| ET_MESSAGES | = lt_et_messages | |
| CT_VIMIMV | = lt_ct_vimimv | |
| CT_VIOB01 | = lt_ct_viob01 | |
| CT_VIOB03 | = lt_ct_viob03 | |
| IT_ADJVAL | = lt_it_adjval | |
| IT_INDUAL | = lt_it_indual | |
| IT_SKOART | = lt_it_skoart | |
| ET_VIMI16 | = lt_et_vimi16 | |
| ET_PROTOCOL | = lt_et_protocol | |
| . " RERA_COMP_RENTAL_ADJUSTMENT | ||
ABAP code using 7.40 inline data declarations to call FM RERA_COMP_RENTAL_ADJUSTMENT
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 SANPNR FROM TIV11 INTO @DATA(ld_iv_sanpnr). | ||||
| DATA(ld_iv_update) | = ' '. | |||
| DATA(ld_iv_prog_ind) | = '1'. | |||
| "SELECT single JADJSRCMV FROM VIMI17 INTO @DATA(ld_iv_adjrhypos). | ||||
| DATA(ld_iv_adjrhypos) | = ' '. | |||
Search for further information about these or an SAP related objects