SAP Reports / Programs | Financial Services | Regulatory reporting for insurance companies | Germany(FS-SR-DE) SAP FS

VZBAVF04 SAP ABAP INCLUDE - INCLUDE for Display of Title PRF01-PRF12 (BAV)







VZBAVF04 is a standard ABAP INCLUDE 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 VZBAVF04 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 VZBAVF04. "Basic submit
SUBMIT VZBAVF04 AND RETURN. "Return to original report after report execution complete
SUBMIT VZBAVF04 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: INCLUDE for Display of Title PRF01-PRF12 (BAV)


INCLUDES used within this REPORT VZBAVF04

No INCLUDES are used within this REPORT code!


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:

FSBP_READ_RELATION CALL FUNCTION 'FSBP_READ_RELATION' EXPORTING i_date = xvdbepi-dvalut i_partner2 = vdarl-rdarnehm TABLES t_but053 = lt_but053 r_reltyp = lr_reltyp EXCEPTIONS no_rel_found = 1 no_data = 2 OTHERS = 3.

TM_ACTIVITY_CHAIN_GET_IDS CALL FUNCTION 'TM_ACTIVITY_CHAIN_GET_IDS' EXPORTING bukrs = so_bukr rfha = vtbfha-rfha TABLES t_rfhazu = it_rfhazu EXCEPTIONS activity = 1 deal = 2 OTHERS = 3.

FSBP_READ_RELATION CALL FUNCTION 'FSBP_READ_RELATION' EXPORTING i_date = xvwbepi-dvalut i_partner2 = vwpanla-repke TABLES t_but053 = lt_but053 r_reltyp = lr_reltyp EXCEPTIONS no_rel_found = 1 no_data = 2 OTHERS = 3.

CONVERT_TO_LOCAL_CURRENCY CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' EXPORTING date = sy-datum foreign_amount = valutk foreign_currency = vdarl-santwhr "DD&AF local_currency = t001-waers IMPORTING local_amount = hlp_valutk EXCEPTIONS no_rate_found = 1 overflow = 2 no_factors_found = 3 no_spread_found = 4 derived_2_times = 5 others = 6 .

EXCHANGE_RATE_SERVICE CALL FUNCTION 'EXCHANGE_RATE_SERVICE' EXPORTING i_betrag = vdarl-bzusage i_gdatu = xvdbepi-dvalut i_kursber = tzbz-rkursber i_bukrs = t001-bukrs i_waehrung_nach = t001-waers i_waehrung_von = vdarl-santwhr IMPORTING o_betrag = hlp_bzusage EXCEPTIONS no_rate_found = 1 no_factors_found = 2 no_spread_found = 3 overflow = 4 no_kurstyp_found = 5 no_kursber_found = 6 OTHERS = 7.

FSBP_READ_RELATION CALL FUNCTION 'FSBP_READ_RELATION' EXPORTING i_date = so_date i_partner2 = vdarl-rdarnehm TABLES t_but053 = lt_but053 r_reltyp = lr_reltyp EXCEPTIONS no_rel_found = 1 no_data = 2 OTHERS = 3.

FSBP_READ_RELATION CALL FUNCTION 'FSBP_READ_RELATION' EXPORTING i_date = so_date i_partner1 = vwpanla-repke TABLES t_but053 = lt_but053 r_reltyp = lr_reltyp EXCEPTIONS no_rel_found = 1 no_data = 2 OTHERS = 3.

CONVERSION_GIVING_RATE_F CALL FUNCTION 'CONVERSION_GIVING_RATE_F' EXPORTING datum = so_date foreign_amount = restwerte_ges foreign_currency = akt_waer local_amount = restwerte_hw_ges local_currency = t001-waers IMPORTING rate_f = umrechkurs.

CONVERT_TO_LOCAL_CURRENCY CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' EXPORTING date = sy-datum foreign_amount = restwerte_ges foreign_currency = akt_waer local_currency = t001-waers IMPORTING local_amount = restwerte_hw_ges fixed_rate = umrechkurs EXCEPTIONS no_rate_found = 1 overflow = 2 no_factors_found = 3 no_spread_found = 4 derived_2_times = 5 OTHERS = 6.

CONVERSION_GIVING_RATE_F CALL FUNCTION 'CONVERSION_GIVING_RATE_F' EXPORTING datum = so_date foreign_amount = restwerte_ges foreign_currency = akt_waer local_amount = restwerte_hw_ges local_currency = t001-waers IMPORTING rate_f = umrechkurs.

CONVERT_TO_LOCAL_CURRENCY CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' EXPORTING date = sy-datum foreign_amount = restwerte_ges foreign_currency = akt_waer local_currency = t001-waers IMPORTING local_amount = restwerte_hw_ges fixed_rate = umrechkurs EXCEPTIONS no_rate_found = 1 overflow = 2 no_factors_found = 3 no_spread_found = 4 derived_2_times = 5 OTHERS = 6.

CONVERSION_GIVING_RATE_F CALL FUNCTION 'CONVERSION_GIVING_RATE_F' EXPORTING datum = so_date foreign_amount = restwerte_ges foreign_currency = akt_waer local_amount = restwerte_hw_ges local_currency = t001-waers IMPORTING rate_f = umrechkurs.

CONVERSION_GIVING_RATE_F CALL FUNCTION 'CONVERSION_GIVING_RATE_F' EXPORTING datum = so_date foreign_amount = restwerte_ges foreign_currency = akt_waer local_amount = restwerte_hw_ges local_currency = t001-waers IMPORTING rate_f = umrechkurs.

CONVERSION_GIVING_RATE_F CALL FUNCTION 'CONVERSION_GIVING_RATE_F' EXPORTING datum = so_date foreign_amount = buchwerte_ges foreign_currency = akt_waer local_amount = buchwerte_hw_ges local_currency = t001-waers IMPORTING rate_f = umrechkurs.

CONVERT_TO_LOCAL_CURRENCY CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' EXPORTING date = sy-datum foreign_amount = buchwerte_ges foreign_currency = akt_waer local_currency = t001-waers IMPORTING local_amount = buchwerte_hw_ges fixed_rate = umrechkurs EXCEPTIONS no_rate_found = 1 overflow = 2 no_factors_found = 3 no_spread_found = 4 derived_2_times = 5 OTHERS = 6.

CONVERSION_GIVING_RATE_F CALL FUNCTION 'CONVERSION_GIVING_RATE_F' EXPORTING datum = so_date foreign_amount = o_buchwerte_ges foreign_currency = akt_waer local_amount = o_buchwerte_hw_ges local_currency = t001-waers IMPORTING rate_f = umrechkurs.

CONVERT_TO_LOCAL_CURRENCY CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' EXPORTING date = sy-datum foreign_amount = buchwerte_ges foreign_currency = akt_waer local_currency = t001-waers IMPORTING local_amount = buchwerte_hw_ges fixed_rate = umrechkurs EXCEPTIONS no_rate_found = 1 overflow = 2 no_factors_found = 3 no_spread_found = 4 derived_2_times = 5 OTHERS = 6.

LAST_DAY_IN_YEAR_GET CALL FUNCTION 'LAST_DAY_IN_YEAR_GET' EXPORTING i_date = so_date i_periv = t001-periv IMPORTING e_date = degjahr EXCEPTIONS input_false = 01 t009_notfound = 02 t009b_notfound = 03.

CONVERSION_GIVING_RATE_F





CALL FUNCTION 'CONVERSION_GIVING_RATE_F' EXPORTING datum = so_date foreign_amount = buchwerte_ges foreign_currency = akt_waer local_amount = buchwerte_hw_ges local_currency = t001-waers IMPORTING rate_f = umrechkurs.

CONVERSION_GIVING_RATE_F CALL FUNCTION 'CONVERSION_GIVING_RATE_F' EXPORTING datum = so_date foreign_amount = o_buchwerte_ges foreign_currency = akt_waer local_amount = o_buchwerte_hw_ges local_currency = t001-waers IMPORTING rate_f = umrechkurs.

CONVERSION_GIVING_RATE_F CALL FUNCTION 'CONVERSION_GIVING_RATE_F' EXPORTING datum = so_date foreign_amount = restwerte_ges foreign_currency = akt_waer local_amount = restwerte_n_ges local_currency = t001-waers IMPORTING rate_f = umrechkurs.

CONVERT_TO_LOCAL_CURRENCY CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' EXPORTING date = sy-datum foreign_amount = restwerte_ges foreign_currency = akt_waer local_currency = t001-waers IMPORTING local_amount = restwerte_n_ges fixed_rate = umrechkurs EXCEPTIONS no_rate_found = 1 overflow = 2 no_factors_found = 3 no_spread_found = 4 derived_2_times = 5 OTHERS = 6.

DATE_TO_PERIOD_CONVERT CALL FUNCTION 'DATE_TO_PERIOD_CONVERT' EXPORTING i_date = so_date i_monmit = hlp_monmit i_periv = t001-periv IMPORTING e_buper = hlp_buper e_gjahr = hlp_gjahr EXCEPTIONS input_false = 01 t009_notfound = 02 t009b_notfound = 03.

LAST_DAY_IN_PERIOD_GET CALL FUNCTION 'LAST_DAY_IN_PERIOD_GET' EXPORTING i_gjahr = hlp_gjahr i_monmit = hlp_monmit i_periv = t001-periv i_poper = hlp_buper IMPORTING e_date = hlp_datum EXCEPTIONS input_false = 01 t009_notfound = 02 t009b_notfound = 03.

EXCHANGE_RATE_SERVICE * CALL FUNCTION 'EXCHANGE_RATE_SERVICE' * EXPORTING * I_BETRAG = P_BETRAG_IN * I_GDATU = HLP_DATUM ** I_HANDELSPLATZ = TZBZ-VVRHANDPL ** I_KURS = '0000.00000'

EXCHANGE_RATE_SERVICE CALL FUNCTION 'EXCHANGE_RATE_SERVICE' EXPORTING i_betrag = p_betrag_in i_gdatu = hlp_datum i_kursber = tzbz-rkursber i_bukrs = t001-bukrs i_waehrung_nach = p_waers_nach i_waehrung_von = p_waers_von IMPORTING o_betrag = p_betrag_out EXCEPTIONS no_rate_found = 1 no_factors_found = 2 no_spread_found = 3 overflow = 4 no_kurstyp_found = 5 no_kursber_found = 6 OTHERS = 7.

FILE_VALIDATE_NAME call function 'FILE_VALIDATE_NAME' exporting logical_filename = gc_fname changing physical_filename = p_unixfile exceptions others = 1.

READ_TEXT CALL FUNCTION 'READ_TEXT' EXPORTING client = sy-mandt id = txid language = txspras name = txname object = txobject IMPORTING header = txhead TABLES lines = txlines EXCEPTIONS id = 01 language = 02 name = 03 not_found = 04 object = 05 reference_check = 06.

PRINT_TEXT CALL FUNCTION 'PRINT_TEXT' EXPORTING application = 'TX' device = 'ABAP' * device ='SCREEN' header = txhead dialog = 'X' TABLES lines = txlines EXCEPTIONS canceled = 01 device = 02 form = 03 options = 04 unclosed = 05 unknown = 06 format = 07 textformat = 08 communication = 09.

TEXT_SYMBOL_SETVALUE CALL FUNCTION 'TEXT_SYMBOL_SETVALUE' EXPORTING name = symbolname value = wert value_length = length.



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