RFVIBL20 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 RFVIBL20 into the relevant SAP transactions such as SE38 or SE80
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.
Selection Text: P_CORR = Always Regenerate (Mandatory)
Selection Text: P_TEST = Test Mode
Title: Repair Occupancy History Type from Existing Lease-Outs
Text Symbol: 001 = RUs: occupancy histories changed
Text Symbol: 002 = RUs occupancy history to be changed
Text Symbol: 003 = Record cannot be automatically repaired
Text Symbol: 010 = 'Old:'
Text Symbol: 011 = 'New:'
Text Symbol: 111 = Report only released upto Release 4.6A
INCLUDE MF60ETRF.
INCLUDE RFVICNSV.
No SAP DATABASE tables are accessed within this REPORT code!
FVST_ME_STATUS_HIST_SAVE CALL FUNCTION 'FVST_ME_STATUS_HIST_SAVE' EXPORTING objnr = vimi01-snks EXCEPTIONS wiedervorlage_not_sended = 1 OTHERS = 2.
FVST_ME_STATUS_HIST_INIT CALL FUNCTION 'FVST_ME_STATUS_HIST_INIT' EXPORTING delete_flag = ' ' EXCEPTIONS OTHERS = 1.
FVST_ME_STATUS_HIST_GET CALL FUNCTION 'FVST_ME_STATUS_HIST_GET' EXPORTING i_objnr = ps_vimi01-snks TABLES e_xvimi03 = pt_vimi03_new e_yvimi03 = pt_vimi03_old EXCEPTIONS OTHERS = 1.
FVST_ME_STATUS_HIST_INIT CALL FUNCTION 'FVST_ME_STATUS_HIST_INIT' EXPORTING delete_flag = 'X' EXCEPTIONS OTHERS = 1.
FVST_STATUS_HISTORY_SET CALL FUNCTION 'FVST_STATUS_HISTORY_SET' EXPORTING * DELETE_FLAG = ' ' dstgab = ps_vimi01-dbezu objnr = objnr_empty * SAVE_FLAG = ' ' status = con_istat-me_leerstehend EXCEPTIONS status_in_history_not_found = 1 vimi03_not_found = 2 OTHERS = 3.
FVST_ME_STATUS_HIST_CHECK_SET CALL FUNCTION 'FVST_ME_STATUS_HIST_CHECK_SET' EXPORTING i1_vimimv_new = fld_vimimv i1_vimimv_old = fld_vimimv_old * I2_DBEZU = ' ' * I2_DSTGAB = ' ' * I2_STAT = ' ' i_objnr = objnr_empty i_set_status = 'X' EXCEPTIONS dbezu_not_valid = 1 new_status_not_valid = 2 no_change = 3 old_status_not_found = 4 OTHERS = 5.
FVST_ME_STATUS_HIST_SAVE CALL FUNCTION 'FVST_ME_STATUS_HIST_SAVE' EXPORTING kz_commit = ' ' kz_prepare = 'X' objnr = ps_vimi01-snks EXCEPTIONS wiedervorlage_not_sended = 1 OTHERS = 2.
FVST_ME_STATUS_HIST_GET CALL FUNCTION 'FVST_ME_STATUS_HIST_GET' EXPORTING i_objnr = ps_vimi01-snks TABLES e_xvimi03 = pt_vimi03_new e_yvimi03 = pt_vimi03_old EXCEPTIONS OTHERS = 1.
FVST_STATUS_HISTORY_SET CALL FUNCTION 'FVST_STATUS_HISTORY_SET' EXPORTING * DELETE_FLAG = ' ' dstgab = wa_vimi03_old-dstgab objnr = ps_vimi01-snks * SAVE_FLAG = ' ' status = con_istat-me_leerstehend EXCEPTIONS status_in_history_not_found = 1 vimi03_not_found = 2 OTHERS = 3.
FVST_ME_LEERGD_SET CALL FUNCTION 'FVST_ME_LEERGD_SET' EXPORTING i_bukrs = ps_vimi01-bukrs i_swenr = ps_vimi01-swenr i_smenr = ps_vimi01-smenr i_dstgab = wa_vimi03_old-dstgab i_leergd = wa_vimi03_old-leergd EXCEPTIONS OTHERS = 1.
FVST_ME_LEERGD_SET CALL FUNCTION 'FVST_ME_LEERGD_SET' EXPORTING i_bukrs = ps_vimi01-bukrs i_swenr = ps_vimi01-swenr i_smenr = ps_vimi01-smenr i_dstgab = wa_vimi03_new-dstgab i_leergd = wa_vimi03_old-leergd EXCEPTIONS OTHERS = 1.
FVST_ME_LEERGD_SET CALL FUNCTION 'FVST_ME_LEERGD_SET' EXPORTING i_bukrs = ps_vimi01-bukrs i_swenr = ps_vimi01-swenr i_smenr = ps_vimi01-smenr i_dstgab = wa_vimi03_new-dstgab i_leergd = wa_vimi03_old-leergd EXCEPTIONS OTHERS = 1.
FVST_ME_STATUS_HIST_GET CALL FUNCTION 'FVST_ME_STATUS_HIST_GET' EXPORTING i_objnr = ps_vimi01-snks TABLES e_xvimi03 = pt_vimi03_new e_yvimi03 = pt_vimi03_old.
CONVERSION_EXIT_ISTAT_OUTPUT CALL FUNCTION 'CONVERSION_EXIT_ISTAT_OUTPUT' EXPORTING input = pc_stat IMPORTING output = pc_text.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
RFVIBL20 - Repair Occupancy History Type from Existing Lease-Outs RFVIBL20 - Repair Occupancy History Type from Existing Lease-Outs RFVIBL10 - Update Occupancy Type from Occupancy History RFVIBL10 - Update Occupancy Type from Occupancy History RFVIBL00 - Update of Occupancy Type (VIMI01 status) from History RFVIBL00 - Update of Occupancy Type (VIMI01 status) from History