SAP Reports / Programs

RFVIIS01 SAP ABAP Report - New LO Number After Legacy Data Transfer: Correspondence







RFVIIS01 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for The report prints letters for the new see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.

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


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

FO5V - Print New LO Number Correspondence


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 RFVIIS01. "Basic submit
SUBMIT RFVIIS01 AND RETURN. "Return to original report after report execution complete
SUBMIT RFVIIS01 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: SEL_WENR = Business Entity
Selection Text: SEL_MIVE = Lease-out
Selection Text: SEL_MENR = Rental Unit
Selection Text: SEL_BKRS = Company Code
Selection Text: PAR_PRTC = Issue Log
Selection Text: PAR_PDAT = Letter Creation Date
Selection Text: PAR_GV = Corresp. Activity Categ.
Selection Text: PAR_FBKZ = SAPscript Spool Mgmt Screen
Title: New LO Number After Legacy Data Transfer: Correspondence
Text Symbol: 5** = * Name of elements which the program expects in the form
Text Symbol: 201 = Value-Added Tax
Text Symbol: 2** = * Texts in Table Entries
Text Symbol: 1** = * List Headings
Text Symbol: 003 = Output Control
Text Symbol: 002 = General Selections
Text Symbol: 001 = Select Real Estate Objects
Text Symbol: 0** = * Report Title / Selection Parameters


INCLUDES used within this REPORT RFVIIS01

INCLUDE RFVIMVD1_LOAD_DATA.
INCLUDE RFVIMVCA.
INCLUDE RFVZTVI2.
INCLUDE RFVZTVI3.
INCLUDE IFRE_CHECK_RE_CLASSIC.


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:

MV_KVT_DEFAULT_GET CALL FUNCTION 'MV_KVT_DEFAULT_GET' EXPORTING I_KORRBER = CON_KANW_NMVN i_rantyp = CON_RANTYP-IMMO IMPORTING E_GESCHVORF = PAR_GV.

RE_CORRESPOND_PRTCL_FLAG_DFLT CALL FUNCTION 'RE_CORRESPOND_PRTCL_FLAG_DFLT' CHANGING C_FLG_SHOW_ERRORS = PAR_PRTC EXCEPTIONS OTHERS = 1.

MV_KVT_VALUES_LIST CALL FUNCTION 'MV_KVT_VALUES_LIST' EXPORTING I_KORRBER = CON_KANW_NMVN I_RANTYP = CON_RANTYP-IMMO IMPORTING E_KORRVORF = HLP_KV EXCEPTIONS NOTHING_SELECTED = 1 NO_LIST = 2 OTHERS = 3.

KV_APPL_ROLES_GET CALL FUNCTION 'KV_APPL_ROLES_GET' EXPORTING I_KORRVORF = PAR_GV I_RANTYP = CON_RANTYP-IMMO TABLES T_RVZRECIP = TAB_RVZRECIP EXCEPTIONS NO_ENTRY_FOUND = 1 OTHERS = 2.

KV_DATA_GET CALL FUNCTION 'KV_DATA_GET' EXPORTING I_KORRVORF = PAR_GV I_RANTYP = CON_RANTYP-IMMO TABLES T_TZZKD = TAB_TZZKD EXCEPTIONS NO_ENTRY_FOUND = 1 OTHERS = 2.

RE_CORR_ACTVTY_GET_PRINT_PARAM CALL FUNCTION 'RE_CORR_ACTVTY_GET_PRINT_PARAM' TABLES TAB_TZZKD = TAB_TZZKD TAB_ERRORS = TAB_ERRORS EXCEPTIONS OTHERS = 1.

ADDRESS_LANDLORD_GET CALL FUNCTION 'ADDRESS_LANDLORD_GET' EXPORTING BUKRS = VIMIMV-BUKRS IMPORTING LLADR = FLE_VIBKADR EXCEPTIONS ADDRESS_NOT_FOUND = 01 LANDLORD_NOT_FOUND = 02.

RE_GET_TEXTS_FOR_COMPANY CALL FUNCTION 'RE_GET_TEXTS_FOR_COMPANY' EXPORTING I_BUKRS = VIMIMV-BUKRS IMPORTING E_VITXT = FLE_VITXT TABLES T_C_ERRORS = TAB_ERRORS EXCEPTIONS COMPANY_NOT_SPECIFIED = 1 NO_TEXTS_FOR_COMPANY = 2 OTHERS = 3.

REAL_ESTATE_GET_DATA_FOR_LTTR CALL FUNCTION 'REAL_ESTATE_GET_DATA_FOR_LTTR' EXPORTING I_KORRVORF = PAR_GV I_VIMIMV = FLE_VIMIMV I_VIKORR = FLE_VIKORR IMPORTING E_VIOB01 = FLE_VIOB01 E_VIOB02 = FLE_VIOB02 E_VIOB03 = FLE_VIOB03 E_VIMI01 = FLE_VIMI01 E_BUSINESS_ENTITY = FLE_RVIOB01_ZS E_PROPERTY = FLE_RVIOB02_ZS E_BUILDING = FLE_RVIOB03_ZS E_RENTAL_UNIT = FLE_RVIMI01_ZS E_RENTAL_AGREEMENT = FLE_RVIMIMV_ZS E_RENTAL_UNIT_ADDRESS = FLE_VIRUADRS E_USERFLDS_FOR_RENTAL_AGR = FLE_VIRAUSRFLD E_USERFLDS_FOR_RENTAL_UNIT = FLE_VIRUUSRFLD E_USERFLDS_FOR_BUILDING = FLE_VIBUUSRFLD E_USERFLDS_FOR_PROPERTY = FLE_VIPRUSRFLD E_USERFLDS_FOR_BUSINESS_ENTITY = FLE_VIBEUSRFLD * e_rent_adj_header = * e_vimi16_zus = * e_rent_adjstmnt_expert_report = * e_representative_list_of_rents = * e_repr_rents_location_class = * e_repr_rents_fixtures_fittings = E_VISCRIPT = FLE_VISCRIPT * e_rental_unit_area = fle_rrmedat_zs * e_vikoko_for_prev_rntl_agr = E_VZGPO_TENANT = FLE_VZGPO_HAUPTM E_VZGPO_GENERAL_CLERK = FLE_VZGPO_ALSB * e_vzgpo_incdntl_expns_clerk = * e_vzgpo_janitor = fle_vzgpo_hausm * e_vzgpo_natural_guarantor = * e_vzgpo_state_central_bank = fle_vzgpo_lzb * e_rental_deposit_bank = fle_bnka_msich * e_release_of_rntl_dpst = E_LINKED_RENTAL_UNIT = FLE_VILINKEDRU E_ADDRESS_OF_LINKED_RNTL_UNIT = FLE_RLKDRUADRS * e_house_bank_master_data = * e_house_bank_additional_data = * e_house_bank_account = TABLES T_I_RVZRECIP = TAB_RVZRECIP T_E_VZGPO_RCP = TAB_VZGPO_RCP T_E_VILNGCNTRY = TAB_VILNGCNTRY * T_E_VZGPO_PRT = T_E_ADRS_PRT = TAB_ADRS_SPR T_E_BNKA_PRT = TAB_BNKA_SPR T_E_RFVPRT_PRT = TAB_RFVPRT_SPR T_E_SANS1_PRT = TAB_SANS1_SPR T_E_SPAB1_PRT = TAB_SPAB1_SPR T_E_SPBB1_PRT = TAB_SPBB1_SPR T_E_SPKO1_PRT = TAB_SPKO1_SPR * t_e_apportionment_units = tab_rvimi08_zs * t_e_rnt_adjstmnt_data_for_ra = tab_rvimi54_zs * t_e_all_index_data_for_ra = tab_rvimi55_zs * T_E_INDEX_DATA_FOR_SCB = * T_E_RENT_SCALES = * t_e_sales_bsd_rntl_agrmnt_hdr = tab_rvimiuh_zs * t_e_sales_bsd_rntl_agrmnt_itms = tab_rvimiui_zs * t_e_expns_sttlmnt_particpation = tab_rviak02_zs * T_E_ADJSTMNT_BUFFER_IN_PERIOD = * T_E_ADJSTMNT_BUFFER_ID = * T_E_ADJSTMNT_BUFFER_ID_MODE = * T_E_RVIMI55_RNT_ADJSTMNT_ITEMS = * T_E_RNT_LIST_FOR_ADJ_BY_POINTS = * T_E_COMPARATIVE_APARTMENTS_DTA = * T_E_NOTICE_BY_TENANT = * T_E_COND_PREV_RNTL_AGR = T_E_ALL_COND_HEADERS_FOR_RA = TAB_RVIKOKO_ZS T_E_ALL_COND_ITEMS_FOR_RA = TAB_VIRACOND * t_e_further_security_deposits = tab_rvimi32_zs * t_e_customer_paymnt_methods = tab_rvvknb1 * T_E_SURCHASE_REDUC_CATEGORIES = * t_e_areas_of_rental_unit = tab_viob40_zus * t_e_rooms_of_rental_unit = tab_rviob10_zs * T_E_AREA_PER_ROOM_OF_RNTL_UNIT = * t_e_features_of_rental_unit = tab_rvimi02_zs * T_E_OPRTNG_COSTS_PERIODS_OF_RU = * T_E_HEATING_OIL_SUPPLY = * t_e_heating_systems_for_ru = tab_rviak08_zs * t_e_sttlmnt_vrnts_calc_unit = tab_viak04_txt T_I_E_ERRORS = TAB_ERRORS EXCEPTIONS OTHERS = 1.

REAL_ESTATE_ADD_TEXTS_FOR_LTTR CALL FUNCTION 'REAL_ESTATE_ADD_TEXTS_FOR_LTTR' EXPORTING I_LANGU = FLE_VISCRIPT-SPRSLRCP TABLES T_C_ADRS_PRT = TAB_ADRS_SPR T_C_BNKA_PRT = TAB_BNKA_SPR T_C_RFVPRT_PRT = TAB_RFVPRT_SPR T_C_SANS1_PRT = TAB_SANS1_SPR T_C_SPAB1_PRT = TAB_SPAB1_SPR T_C_SPBB1_PRT = TAB_SPBB1_SPR T_C_SPKO1_PRT = TAB_SPKO1_SPR * t_c_apportionment_units = tab_rvimi08_zs * t_c_rnt_adjstmnt_data_for_ra = tab_rvimi54_zs * t_c_all_index_data_for_ra = tab_rvimi55_zs * T_C_INDEX_DATA_FOR_SCB = * T_C_RENT_SCALES = * t_c_sales_bsd_rntl_agrmnt_hdr = tab_rvimiuh_zs * t_c_sales_bsd_rntl_agrmnt_itms = tab_rvimiui_zs * t_c_expns_sttlmnt_particpation = tab_rviak02_zs * T_C_ADJSTMNT_BUFFER_IN_PERIOD = * T_C_ADJSTMNT_BUFFER_ID = * T_C_ADJSTMNT_BUFFER_ID_MODE = * T_C_RVIMI55_RNT_ADJSTMNT_ITEMS = * T_C_RNT_LIST_FOR_ADJ_BY_POINTS = * T_C_COMPARATIVE_APARTMENTS_DTA = * T_C_NOTICE_BY_TENANT = * T_C_COND_PREV_RNTL_AGR = T_C_ALL_COND_HEADERS_FOR_RA = TAB_RVIKOKO_ZS * t_c_all_cond_items_for_ra = tab_viracond * t_c_further_security_deposits = tab_rvimi32_zs * t_c_customer_paymnt_methods = tab_rvvknb1 * T_C_SURCHASE_REDUC_CATEGORIES = * t_c_areas_of_rental_unit = tab_viob40_zus * t_c_rooms_of_rental_unit = tab_rviob10_zs * T_C_AREA_PER_ROOM_OF_RNTL_UNIT = * t_c_features_of_rental_unit = tab_rvimi02_zs * T_C_OPRTNG_COSTS_PERIODS_OF_RU = * T_C_HEATING_OIL_SUPPLY = * t_c_heating_systems_for_ru = tab_rviak08_zs * t_c_sttlmnt_vrnts_calc_unit = tab_viak04_txt T_C_ERRORS = TAB_ERRORS CHANGING C_COMPANY_ADDRESS = FLE_VIBKADR C_BUSINESS_ENTITY = FLE_RVIOB01_ZS C_PROPERTY = FLE_RVIOB02_ZS C_BUILDING = FLE_RVIOB03_ZS C_RENTAL_UNIT = FLE_RVIMI01_ZS C_RENTAL_AGREEMENT = FLE_RVIMIMV_ZS C_RENTAL_UNIT_ADDRESS = FLE_VIRUADRS C_USERFLDS_FOR_RENTAL_AGR = FLE_VIRAUSRFLD C_USERFLDS_FOR_RENTAL_UNIT = FLE_VIRUUSRFLD C_USERFLDS_FOR_BUILDING = FLE_VIBUUSRFLD C_USERFLDS_FOR_PROPERTY = FLE_VIPRUSRFLD C_USERFLDS_FOR_BUSINESS_ENTITY = FLE_VIBEUSRFLD * C_RENT_ADJ_HEADER = * C_VIMI16_ZUS = * C_RENT_ADJSTMNT_EXPERT_REPORT = * C_REPRESENTATIVE_LIST_OF_RENTS = * C_REPR_RENTS_LOCATION_CLASS = * C_REPR_RENTS_FIXTURES_FITTINGS = * c_rental_unit_area = fle_rrmedat_zs * C_VIKOKO_FOR_PREV_RNTL_AGR = * c_rental_deposit_bank = fle_bnka_msich * C_RELEASE_OF_RNTL_DPST = C_LINKED_RENTAL_UNIT = FLE_VILINKEDRU C_ADDRESS_OF_LINKED_RNTL_UNIT = FLE_RLKDRUADRS C_ADDITIONAL_FIELDS = FLE_VISCRIPT EXCEPTIONS OTHERS = 1.

FVII_ADRS_TEXTS_GET CALL FUNCTION 'FVII_ADRS_TEXTS_GET' EXPORTING land1 = tab_VZGPO_rcp-land1 langu = tab_VZGPO_rcp-sprsl TABLES IN_ADRS_SPR = TAB_ADRS_SPR IN_BNKA_SPR = TAB_BNKA_SPR IN_RFVPRT_SPR = TAB_RFVPRT_SPR IN_SANS1_SPR = TAB_SANS1_SPR IN_SPAB1_SPR = TAB_SPAB1_SPR IN_SPBB1_SPR = TAB_SPBB1_SPR IN_SPKO1_SPR = TAB_SPKO1_SPR OUT_ADRS_ROL = TAB_ADRS_ROL OUT_BNKA_ROL = TAB_BNKA_ROL OUT_RFVPRT_ROL = TAB_RFVPRT_ROL OUT_SANS1_ROL = TAB_SANS1_ROL OUT_SPAB1_ROL = TAB_SPAB1_ROL OUT_SPBB1_ROL = TAB_SPBB1_ROL OUT_SPKO1_ROL = TAB_SPKO1_ROL.

FVII_PARTNER_ADDRESS_GET CALL FUNCTION 'FVII_PARTNER_ADDRESS_GET' EXPORTING I_ADR_REF = FLE_VZGPO_HAUPTM-ADR_REF I_LAND1 = TAB_VZGPO_RCP-LAND1 I_LANGU = TAB_VZGPO_RCP-SPRSL I_PARTNR = FLE_VZGPO_HAUPTM-PARTNR IMPORTING FLE_ADRS = FLE_ADRS1 FLE_BP000 = fle_rnamprt TABLES IN_ADRS_SPR = TAB_ADRS_SPR IN_BNKA_SPR = TAB_BNKA_SPR IN_RFVPRT_SPR = TAB_RFVPRT_SPR IN_SANS1_SPR = TAB_SANS1_SPR IN_SPAB1_SPR = TAB_SPAB1_SPR IN_SPBB1_SPR = TAB_SPBB1_SPR OUT_BNKA = TAB_RBNKA_ZS OUT_BPDADR = TAB_BPDADR OUT_BPDADREF = TAB_BPDADREF OUT_BPDBANK = TAB_BPDBANK EXCEPTIONS OTHERS = 1.

FVII_PARTNER_ADDRESS_GET CALL FUNCTION 'FVII_PARTNER_ADDRESS_GET' EXPORTING I_ADR_REF = FLE_VZGPO_ALSB-ADR_REF I_LAND1 = TAB_VZGPO_RCP-LAND1 I_LANGU = TAB_VZGPO_RCP-SPRSL I_PARTNR = FLE_VZGPO_ALSB-PARTNR IMPORTING FLE_ADRS = FLE_ADRS1 FLE_BP000 = fle_rnamprt TABLES IN_ADRS_SPR = TAB_ADRS_SPR IN_BNKA_SPR = TAB_BNKA_SPR IN_RFVPRT_SPR = TAB_RFVPRT_SPR IN_SANS1_SPR = TAB_SANS1_SPR IN_SPAB1_SPR = TAB_SPAB1_SPR IN_SPBB1_SPR = TAB_SPBB1_SPR OUT_BNKA = TAB_RBNKA_ZS OUT_BPDADR = TAB_BPDADR OUT_BPDADREF = TAB_BPDADREF OUT_BPDBANK = TAB_BPDBANK EXCEPTIONS OTHERS = 1.

FVII_PARTNER_ADDRESS_GET CALL FUNCTION 'FVII_PARTNER_ADDRESS_GET' EXPORTING I_ADR_REF = TAB_VZGPO_RCP-ADR_REF I_LAND1 = T001-LAND1 I_LANGU = TAB_VZGPO_RCP-SPRSL I_PARTNR = TAB_VZGPO_RCP-PARTNR IMPORTING FLE_ADRS = FLE_VIRCPADR FLE_BP000 = fle_rnamprt TABLES IN_ADRS_SPR = TAB_ADRS_SPR IN_BNKA_SPR = TAB_BNKA_SPR IN_RFVPRT_SPR = TAB_RFVPRT_SPR IN_SANS1_SPR = TAB_SANS1_SPR IN_SPAB1_SPR = TAB_SPAB1_SPR IN_SPBB1_SPR = TAB_SPBB1_SPR OUT_BNKA = TAB_RBNKA_ZS OUT_BPDADR = TAB_BPDADR OUT_BPDADREF = TAB_BPDADREF OUT_BPDBANK = TAB_BPDBANK EXCEPTIONS OTHERS = 1.

TEXT_INTERFACE CALL FUNCTION 'TEXT_INTERFACE' EXPORTING brfnm = tab_tzzkd-brfnm BUKRS = FLE_RVIMIMV_ZS-BUKRS dialog = tab_tzzkd-jbstausw DRUPARM = FLE_ITCPO rantyp = CON_RANTYP-IMMO subanwdg = tab_tzzkd-subanwdg IMPORTING ERGEBNIS = FLE_ITCPP EXCEPTIONS ADRESS = 01 CANCELED = 02 ELEMENT = 03 FORM = 04 OPTIONS = 05.

ERROR_RULE_ACCOUNT_NEW CALL FUNCTION 'ERROR_RULE_ACCOUNT_NEW' EXPORTING * ARBEITSGEBIET = 'X' CHANNEL = OUTPUT_CHANNEL * DATEI = 'fehlerprotokoll' * MESSAGENUMMER = 'X' NUR_IMPORT = 'X' * SEVERITY = 'X' * SORTIERT = 'X' * importing * ausgabedatei = * spool_nr = TABLES FEHLER_IMPORT = TAB_ERRORS EXCEPTIONS OTHERS = 1.



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 RFVIIS01 or its description.