SAP Reports / Programs | Financial Accounting | Localization(FI-LOC) SAP FI

J_3RFVATMMF02 SAP ABAP INCLUDE - Build VAT Document







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


Text pool values


Title: Build VAT Document


INCLUDES used within this REPORT J_3RFVATMMF02

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:

CONVERT_TO_LOCAL_CURRENCY CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' EXPORTING date = ls_bkpf_fi-wwert foreign_amount = ls_rseg-wrbtr foreign_currency = -waers_mm local_currency = ls_bkpf-waers type_of_rate = l_kurst rate = ls_bkpf_fi-kursf IMPORTING local_amount = ls_bseg-hwbas EXCEPTIONS OTHERS = 6.

CALCULATE_TAX_FROM_NET_AMOUNT CALL FUNCTION 'CALCULATE_TAX_FROM_NET_AMOUNT' EXPORTING i_bukrs = ls_bkpf-bukrs i_mwskz = ls_bseg-mwskz i_waers = ls_bkpf-waers i_wrbtr = ls_bseg-hwbas IMPORTING e_fwste = ls_bseg-dmbtr TABLES t_mwdat = lt_mwdat[] EXCEPTIONS bukrs_not_found = 1 country_not_found = 2 mwskz_not_defined = 3 mwskz_not_valid = 4 ktosl_not_found = 5 kalsm_not_found = 6 parameter_error = 7 knumh_not_found = 8 kschl_not_found = 9 unknown_error = 10 account_not_found = 11 txjcd_not_valid = 12 OTHERS = 13.

GET_TAX_PERCENTAGE CALL FUNCTION 'GET_TAX_PERCENTAGE' EXPORTING aland = i_land1 datab = sy-datum " ??? mwskz = i_mwskz txjcd = space TABLES t_ftaxp = lt_ftaxp EXCEPTIONS OTHERS = 1.

FI_COUNTRY_DATA CALL FUNCTION 'FI_COUNTRY_DATA' EXPORTING i_land1 = gs_t001-land1 IMPORTING e_t005 = ls_t005.



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