SAP Reports / Programs | Real Estate Management(RE) SAP RE

RFVIMAZA SAP ABAP Report - RE: Rent Adjustment - Display, Activate, Reverse







RFVIMAZA is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.

If you would like to execute this report or see the full code listing simply enter RFVIMAZA into the relevant SAP transactions such as SE38 or SE80


ABAP code to call this SAP report using the submit statement

This report can be called from another progam/report simply by using the ABAP SUBMIT statement, see below for example ABAP code snipts of how to do this.






SUBMIT RFVIMAZA. "Basic submit
SUBMIT RFVIMAZA AND RETURN. "Return to original report after report execution complete
SUBMIT RFVIMAZA VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Selection Text: P_ACTCOD = # Activation Status Selection
Selection Text: P_AGRCOD = # Approval Status Selection
Selection Text: P_APTCOD = # No. of Successful Approvals
Selection Text: P_BUKRS = # Company Code
Selection Text: P_DAGREE = # Approval Date
Selection Text: P_DFAELL = # Follow-up Postings Due On
Selection Text: P_DIRECT = # Activate/reverse directly
Selection Text: P_DSTORN = # Date Reversal
Selection Text: P_JEXLST = # Display extended list?
Selection Text: P_JKOPOS = # Display all conditions?
Selection Text: P_REJCOD = # Display rejections
Selection Text: P_SACTNR = # Adjustment Activity
Selection Text: P_SANPME = # Object Selection
Selection Text: P_SANPNR = # Adjustment Method
Selection Text: S_DGAB = # Adjustment On
Selection Text: S_SANPME = # Object Selection
Selection Text: S_SANPNR = # Adjustment Method
Selection Text: S_SMENR = # Rental Unit
Selection Text: S_SMIVE = # Lease-out
Selection Text: S_SWENR = # Business Entity
Selection Text: S_XIDENT = # Identification
Title: RE: Rent Adjustment - Display, Activate, Reverse
Text Symbol: S00 = Parameters of Selection Screen
Text Symbol: P01 = List Structure...
Text Symbol: N01 = Adjustment (all modes): Activation/approval:w/o Swiss adj.
Text Symbol: M01 = Status change unsuccessful
Text Symbol: H94 = Incr.% Ref.Area *
Text Symbol: H93 = Text on RU
Text Symbol: H92 = Tenant
Text Symbol: H91 = Lease-out BE RU Condit.Type New Amnt New Amnt/AU Old Amnt Old Amnt/AU *
Text Symbol: H71 = Freq. Amt/Month
Text Symbol: H63 = Valid To
Text Symbol: H62 = Partial CEA
Text Symbol: H61 = Cost Efficiency Analysis
Text Symbol: H53 = New Amount
Text Symbol: H52 = Surch./Red.
Text Symbol: H51 = Expert Opinion
Text Symbol: S01 = Object Selection





Text Symbol: S02 = Adjustment Run
Text Symbol: S10 = Company Code
Text Symbol: S11 = Business Entity
Text Symbol: S12 = Rental Unit
Text Symbol: S13 = Lease-out
Text Symbol: S15 = Valid-From Date
Text Symbol: S16 = User Identification
Text Symbol: T04 =
Text Symbol: T05 =
Text Symbol: XS1 = Representative List of Rents
Text Symbol: XS2 = Age Category RLR Low Base Amount Building Age
Text Symbol: XS3 = Size Category RLR Medium Surcharge/Reductions Points Total
Text Symbol: XS4 = Location Category RLR High Resul. Rent
Text Symbol: XS5 = Fixt./Ftt.Category Text Permitted Rent
Text Symbol: 104 = No adjustments were determined (compare log)
Text Symbol: 038 = Do you really want to cancel?
Text Symbol: 037 = Data was changed!
Text Symbol: 036 = Do you want to save the simulation?
Text Symbol: 035 = activation
Text Symbol: 034 = reversal
Text Symbol: 033 = calculation
Text Symbol: 032 = simulation
Text Symbol: 031 = Do you really want to exit &?
Text Symbol: 030 = Exit program
Text Symbol: 029 = Terminate program
Text Symbol: 023 = You have not selected any records for activation
Text Symbol: 022 = the selected adjustment records?
Text Symbol: 021 = Do you really want to activate
Text Symbol: 020 = Activation
Text Symbol: 014 = You have not selected any records for reversal
Text Symbol: 013 = Reversal carried out successfully
Text Symbol: 012 = the adjustment records?
Text Symbol: 011 = Do you really want to reverse
Text Symbol: 010 = Reversal
Text Symbol: 007 = Messages on this adjustment
Text Symbol: 006 = Adjustment run not saved
Text Symbol: 005 = Adjustment run saved successfully
Text Symbol: 003 = as an update run?
Text Symbol: 002 = Should this simulation be saved





Text Symbol: 001 = Save simulation as update run
Text Symbol: H43 = Points Old Adj. Scope
Text Symbol: H42 = Points New Minimum Increase *
Text Symbol: H41 = Base Yr and Index Type
Text Symbol: H33 = End Date Ref.Apportion. Plan/Act.
Text Symbol: H32 = Total Costs Start Date Total Apportion.
Text Symbol: H31 = Modernization Measure
Text Symbol: H23 = Stat.Rent Limit
Text Symbol: H22 = Comparative Rent Incl. Surch.
Text Symbol: H21 = Comparative Group
Text Symbol: H13 = Allwd Rent/AU Points
Text Symbol: H12 = RLR-Rent/AU Incl.Surch.
Text Symbol: H11 = Representative List of Rents
Text Symbol: H04 = Other Conditions
Text Symbol: H03 = Text for Rental Unit Poss.Incr. Old Rent Old Rent/AU Last Adj. Activ.Date Reason *
Text Symbol: H02 = Address Actual Incr. New Rent New Rent/AU Adj.Date Rfsl Date New Cond. *
Text Symbol: H01 = Lease-out BE RU Condit.Type % Increase Ref.Area Rntl Start Appr.Date Incr.% *
Text Symbol: 302 = (CH)
Text Symbol: 301 = Act.Values
Text Symbol: 300 = Plan Vals
Text Symbol: 122 = Cond.+ Grad.
Text Symbol: 121 = Only Gradings
Text Symbol: 120 = Only Cond.
Text Symbol: 112 = One-T.Adj.
Text Symbol: 111 = Foll. Adj.
Text Symbol: 110 = Base Adj.
Text Symbol: 105 = No adjustments matching the selection found


INCLUDES used within this REPORT RFVIMAZA

INCLUDE IFVIMAZA_SELSCR.


TABLES used within REPORT and the associated SELECT statement:

No SAP DATABASE tables are accessed within this REPORT code!


Function Modules used within report and the associated call statement:

PRINT_FORMAT_SET CALL FUNCTION 'PRINT_FORMAT_SET' EXPORTING format_kz = 'Q'.

MESSAGES_INITIALIZE CALL FUNCTION 'MESSAGES_INITIALIZE' " exporting " check_on_commit = ' ' " IMPORTING " E_IDENTIFICATION = EXCEPTIONS OTHERS = 0.

TRINT_READ_LOG CALL FUNCTION 'TRINT_READ_LOG' EXPORTING IV_LOG_TYPE = trlog_type_db IV_LOGNAME_DB = DDPRH-PROTNAME_1 TABLES ET_LINES = LT_LINES EXCEPTIONS OTHERS = 1.

MESSAGES_SHOW CALL FUNCTION 'MESSAGES_SHOW' EXPORTING show_linno = ' ' EXCEPTIONS OTHERS = 1.

POPUP_TO_CONFIRM_STEP



CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' EXPORTING defaultoption = 'J' titel = 'Simulation als Echtlauf sichern'(001) textline1 = 'Soll diese Simulation als '(002) textline2 = 'Echtlauf fortgeschrieben werden?'(003) IMPORTING answer = lc_answer.

RERA_SAVE_RENTAL_ADJUSTMENT CALL FUNCTION 'RERA_SAVE_RENTAL_ADJUSTMENT' EXPORTING ir_vimi17 = pr_vimi17 iv_check_permission = 'X' TABLES it_vimi16 = pt_vimi16 it_prtcol = pt_prtcol EXCEPTIONS saving_failed = 1 no_permission = 2 OTHERS = 3.

RERA_SAVE_RENTAL_ADJUSTMENT CALL FUNCTION 'RERA_SAVE_RENTAL_ADJUSTMENT' EXPORTING iv_check_permission = 'X' TABLES it_vimi16 = pt_vimi16 EXCEPTIONS saving_failed = 1 no_permission = 2 OTHERS = 3.

POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' EXPORTING defaultoption = 'J' titel = 'Aktivierung'(020) textline1 = 'Sollen die markierten Anpassungs-'(021) textline2 = 'sätze wirklich aktiviert werden?'(022) IMPORTING answer = lc_answer.

DEQUEUE_ALL CALL FUNCTION 'DEQUEUE_ALL'.

RERA_ACTV_RENTAL_ADJUSTMENT CALL FUNCTION 'RERA_ACTV_RENTAL_ADJUSTMENT' EXPORTING iv_nachbuchdatum = pd_nachbuch iv_error_popup = 'X' IMPORTING ev_me_activated = li_activ_me ev_mv_activated = li_activ_mv ev_number_error = li_error TABLES it_vimi16 = lt_vimi16 EXCEPTIONS OTHERS = 1.

POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' EXPORTING defaultoption = 'J' titel = 'Stornierung'(010) textline1 = 'Sollen die markierten Anpassungs-'(011) textline2 = 'sätze wirklich storniert werden?'(012) IMPORTING answer = lc_answer.

DEQUEUE_ALL CALL FUNCTION 'DEQUEUE_ALL'.

RERA_REDO_RENTAL_ADJUSTMENT CALL FUNCTION 'RERA_REDO_RENTAL_ADJUSTMENT' EXPORTING iv_error_popup = 'X' IMPORTING " EV_ME_STORNATED = " EV_MV_STORNATED = ev_number_error = li_nb_error TABLES it_vimi16 = lt_vimi16.

MESSAGE_STORE CALL FUNCTION 'MESSAGE_STORE' EXPORTING arbgb = '6A' msgty = 'E' msgv1 = pr_vimi16-swenr msgv2 = pr_vimi16-smenr msgv3 = pr_vimi17-xbezbm msgv4 = '' txtnr = '522'.

ENQUEUE_EFIVIMI16 CALL FUNCTION 'ENQUEUE_EFIVIMI16' EXPORTING bukrs = pr_vimi16-bukrs swenr = pr_vimi16-swenr smenr = lc_smenr EXCEPTIONS foreign_lock = 1 system_failure = 2 OTHERS = 3.

MESSAGE_STORE CALL FUNCTION 'MESSAGE_STORE' EXPORTING arbgb = '6A' msgty = 'E' txtnr = '090' msgv1 = lc_object msgv2 = lc_uname.

REMD_ENCODE_IMKEY CALL FUNCTION 'REMD_ENCODE_IMKEY' EXPORTING i_bukrs = pr_vimi16-bukrs i_smive = pr_vimi16-smive IMPORTING e_intreno = ld_intreno EXCEPTIONS others = 7.

MV_ADJUST_TYPE_INDEX_ACT_GET CALL FUNCTION 'MV_ADJUST_TYPE_INDEX_ACT_GET' EXPORTING i_date = pr_vimi16-DANPASS i_intreno = ld_intreno i_skoart = pr_vimi16-skoart i_kz_bypass_buffer = 'X' IMPORTING e_vimi55 = lr_vimi55 EXCEPTIONS OTHERS = 01.

RERA_POPUP_VIMI16_DETAIL CALL FUNCTION 'RERA_POPUP_VIMI16_DETAIL' EXPORTING iv_sactnr = pc_sactnr iv_vimi17 = lr_vimi17 iv_set_lock = ' ' IMPORTING ev_answer = lc_answer CHANGING cr_vimi16 = lr_vimi16 EXCEPTIONS adjustment_locked = 1 permission_denied = 2 OTHERS = 3 .

RERA_PROTOCOL_SELECT CALL FUNCTION 'RERA_PROTOCOL_SELECT' EXPORTING iv_bukrs = pr_vimi16-bukrs iv_sanpnr = pr_vimi16-sanpnr iv_dguelab = pr_vimi16-danpass iv_xident = pr_vimi16-xident IMPORTING er_vimi17 = lr_vimi17 ev_index = li_vimi17_index TABLES it_vimi17 = pt_vimi17 .

RERA_PROT_RENTAL_ADJUSTMENT CALL FUNCTION 'RERA_PROT_RENTAL_ADJUSTMENT' EXPORTING ir_vimi17 = lr_vimi17 ir_smvkey = lr_smvkey iv_subset = pb_subset TABLES it_protocol = lr_ptunit-prtcol EXCEPTIONS OTHERS = 1.

RERA_GET_ADJUST_PARAMETERS CALL FUNCTION 'RERA_GET_ADJUST_PARAMETERS' EXPORTING i_sanpnr = pn_sanpnr i_sactnr = pc_sactnr IMPORTING e_title_text = lc_title.

RERA_GET_ADJUST_PARAMETERS CALL FUNCTION 'RERA_GET_ADJUST_PARAMETERS' EXPORTING i_sanpnr = pn_sanpnr i_sactnr = pc_sactnr IMPORTING e_sanpnr_text = lc_title.

MV_GET_ACTIVE_KOPOS CALL FUNCTION 'MV_GET_ACTIVE_KOPOS' EXPORTING bukrs = pr_vimi16-bukrs ref_datum = pr_vimi16-dguelab smenr = pr_vimi16-smenr smive = pr_vimi16-smive swenr = pr_vimi16-swenr sanlf = ln_sanlf TABLES ivzzkopo = lt_vzzkopo EXCEPTIONS kopos_not_found = 1 sanlf_not_valid = 2 OTHERS = 3.

MV_ADJUST_CH_RESERVE_COMPUTE CALL FUNCTION 'MV_ADJUST_CH_RESERVE_COMPUTE' EXPORTING i_kz_show = 'X' i_kz_show_popup = 'X' i_kz_all_reserves = 'X' i_rfviimpch = lr_impch TABLES e_tab_reserve = gt_reserve i_tab_vimi16 = lt_vimi16 i_tab_mvschl = lt_mvkey EXCEPTIONS OTHERS = 1.

POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' EXPORTING defaultoption = 'J' titel = 'Programm beenden'(030) textline1 = lc_text1 textline2 = lc_text2 IMPORTING answer = lc_answer.

POPUP_TO_CONFIRM_LOSS_OF_DATA CALL FUNCTION 'POPUP_TO_CONFIRM_LOSS_OF_DATA' EXPORTING titel = 'Programm abbrechen'(029) textline1 = lc_text1 start_column = 25 start_row = 6 IMPORTING answer = lc_answer.

REMD_ENCODE_IMKEY CALL FUNCTION 'REMD_ENCODE_IMKEY' EXPORTING i_bukrs = pc_bukrs i_swenr = pc_swenr i_smenr = pc_smenr i_smive = pc_smive IMPORTING e_objnr = lr_stimp-objnr EXCEPTIONS OTHERS = 2.

FVST_STATUS_CHECK_AND_SET CALL FUNCTION 'FVST_STATUS_CHECK_AND_SET' EXPORTING rfvstimp = lr_stimp IMPORTING warning_occured = lb_warning EXCEPTIONS allowed_with_warning = 1 OTHERS = 2.



Contribute (Add Comments)

Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.

The contribute/comments section below therefore offer's an opportunity for anyone to add additional information. This can be anything from useful hints, tips and screen shots to relevant SAP notes or anything else you feel is relevant to this report.

This will then be available for everyone to easily find by simply searching on the report name RFVIMAZA or its description.