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

J_3R_TTAX_DECL_F01 SAP ABAP INCLUDE - Include J_3R_TTAX_DECL_F01







J_3R_TTAX_DECL_F01 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_3R_TTAX_DECL_F01 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_3R_TTAX_DECL_F01. "Basic submit
SUBMIT J_3R_TTAX_DECL_F01 AND RETURN. "Return to original report after report execution complete
SUBMIT J_3R_TTAX_DECL_F01 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 J_3R_TTAX_DECL_F01


INCLUDES used within this REPORT J_3R_TTAX_DECL_F01

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:

J_3R_ASST_CTRYSPEC_TMDPNDT_GET CALL FUNCTION 'J_3R_ASST_CTRYSPEC_TMDPNDT_GET' EXPORTING iv_bukrs = p_bukrs iv_anln1 = ls_asset_tax-anln1 iv_anln2 = ls_asset_tax-anln2 * IV_BYPASSING_MEMORY = ' ' * IV_RESET_BUFFER = ' ' IV_FROM_DATE = lv_from_date IV_TO_DATE = lv_to_date iv_structure = lv_struct_name * IV_SORT_DESCENDING = ' ' IMPORTING ES_GLOFAAASSETDATA = ls_cntry_rec TABLES et_glofaatmdpndnt = lt_time_dep EXCEPTIONS CNTRY_SPEC_NOT_FOUND = 1 CNTRY_SPEC_NOT_ACTIVATED = 2 TIME_DEP_NOT_FOUND = 3 TIME_DEP_NOT_ACTIVATED = 4 OTHERS = 5.

J_3R_ASST_CTRYSPEC_TMDPNDT_GET CALL FUNCTION 'J_3R_ASST_CTRYSPEC_TMDPNDT_GET' EXPORTING iv_bukrs = p_bukrs iv_anln1 = ls_assets_gr-anln1 iv_anln2 = ls_assets_gr-anln2 * IV_BYPASSING_MEMORY = ' ' * IV_RESET_BUFFER = ' ' IV_FROM_DATE = lv_from_date IV_TO_DATE = lv_bdatu iv_structure = lv_struct_name * IV_SORT_DESCENDING = ' ' * IMPORTING * ES_GLOFAAASSETDATA = ls_cntry_rec TABLES et_glofaatmdpndnt = lt_prev_periods.

ROUND * CALL FUNCTION 'ROUND' * EXPORTING * INPUT = tot_tax_amount * SIGN = 'X' * IMPORTING * OUTPUT = lv_buffer * EXCEPTIONS * INPUT_INVALID = 1.

ADDR_SELECT_ADRC_SINGLE CALL FUNCTION 'ADDR_SELECT_ADRC_SINGLE' "Start of Note 1779564 EXPORTING addrnumber = ls_ADRNR TABLES ET_ADRC = lt_adrc EXCEPTIONS ADDRESS_NOT_EXIST = 1 PARAMETER_ERROR = 2 INTERNAL_ERROR = 3 OTHERS = 4.

ADDR_SELECT_ADRC_SINGLE CALL FUNCTION 'ADDR_SELECT_ADRC_SINGLE' EXPORTING addrnumber = gs_t001-ADRNR TABLES ET_ADRC = lt_adrc EXCEPTIONS ADDRESS_NOT_EXIST = 1 PARAMETER_ERROR = 2 INTERNAL_ERROR = 3 OTHERS = 4.

BUX_TXTREAD_T006A CALL FUNCTION 'BUX_TXTREAD_T006A' EXPORTING IV_UNIT = ps_assets_gr-glo_rus_txb_type IMPORTING ES_UNIT = ls_t006a EXCEPTIONS OTHERS = 1.

NUMERIC_CHECK CALL FUNCTION 'NUMERIC_CHECK' "Start of Note 1779564.

J_3R_TRTAX_PRIV_GET CALL FUNCTION 'J_3R_TRTAX_PRIV_GET' EXPORTING ip_bukrs = ps_assets_gr-bukrs "Note 1826421 ip_region = ps_assets_gr-region ip_district = ps_assets_gr-district ip_ctypv = ps_assets_gr-GLO_RUS_TTX_TYPE ip_gjahe = p_gjahr ip_veage = ls_priv_info-veage * ip_ecoclass = ps_assets_gr-glo_rus_ttx_ecoclass "Note 1891510 ip_ecoclass = ps_assets_gr-glo_rus_eco_cls "Note 1891510 ip_thres = ls_priv_info-thres ip_priv_type = ls_priv_info-priv_type ip_priv_code = ls_s2t-n170_exmp_code IMPORTING es_priv = ls_priv_info.

J_3R_TRTAX_PRIV_GET CALL FUNCTION 'J_3R_TRTAX_PRIV_GET' EXPORTING ip_bukrs = ps_assets_gr-bukrs "Note 1826421 ip_region = ps_assets_gr-region ip_district = ps_assets_gr-district ip_ctypv = ps_assets_gr-GLO_RUS_TTX_TYPE ip_gjahe = p_gjahr ip_veage = ls_priv_info-veage * ip_ecoclass = ps_assets_gr-glo_rus_ttx_ecoclass "Note 1891510 ip_ecoclass = ps_assets_gr-glo_rus_eco_cls "Note 1891510 ip_thres = ls_priv_info-thres ip_priv_type = ls_priv_info-priv_type ip_priv_code = ls_s2t-n190_amtred_code IMPORTING es_priv = ls_priv_info.

J_3R_TRTAX_PRIV_GET CALL FUNCTION 'J_3R_TRTAX_PRIV_GET' EXPORTING ip_bukrs = ps_assets_gr-bukrs "Note 1826421 ip_region = ps_assets_gr-region ip_district = ps_assets_gr-district ip_ctypv = ps_assets_gr-GLO_RUS_TTX_TYPE ip_gjahe = p_gjahr ip_veage = ls_priv_info-veage * ip_ecoclass = ps_assets_gr-glo_rus_ttx_ecoclass "Note 1891510 ip_ecoclass = ps_assets_gr-glo_rus_eco_cls "Note 1891510 ip_thres = ls_priv_info-thres ip_priv_type = ls_priv_info-priv_type ip_priv_code = ls_s2t-n210_reduction_code IMPORTING es_priv = ls_priv_info.

ROUND CALL FUNCTION 'ROUND' EXPORTING INPUT = ls_s2t-N140_TAX_AMOUNT SIGN = 'X' IMPORTING OUTPUT = lv_buffer EXCEPTIONS INPUT_INVALID = 1.

ROUND CALL FUNCTION 'ROUND' EXPORTING INPUT = ls_s1t-n030_tax_sum SIGN = 'X' IMPORTING OUTPUT = lv_buffer EXCEPTIONS INPUT_INVALID = 1.

ROUND CALL FUNCTION 'ROUND' EXPORTING INPUT = ls_s1t-n023_tax_sum "Note 1660239 SIGN = 'X' IMPORTING OUTPUT = lv_buffer EXCEPTIONS INPUT_INVALID = 1.

ROUND CALL FUNCTION 'ROUND' EXPORTING INPUT = ls_s1t-n025_tax_sum SIGN = 'X' IMPORTING OUTPUT = lv_buffer EXCEPTIONS INPUT_INVALID = 1.

ROUND CALL FUNCTION 'ROUND' EXPORTING INPUT = ls_s1t-n027_tax_sum SIGN = 'X' IMPORTING OUTPUT = lv_buffer EXCEPTIONS INPUT_INVALID = 1.

ROUND CALL FUNCTION 'ROUND' EXPORTING INPUT = ls_s1t-n040_tax_sum SIGN = 'X' IMPORTING OUTPUT = lv_buffer EXCEPTIONS INPUT_INVALID = 1.

ROUND CALL FUNCTION 'ROUND' EXPORTING INPUT = ls_s1t-n050_tax SIGN = 'X' IMPORTING OUTPUT = lv_buffer EXCEPTIONS INPUT_INVALID = 1.

ROUND CALL FUNCTION 'ROUND' EXPORTING INPUT = ls_s1t-n060_tax SIGN = 'X' IMPORTING OUTPUT = lv_buffer EXCEPTIONS INPUT_INVALID = 1.

ROUND





CALL FUNCTION 'ROUND' EXPORTING INPUT = ls_s2t-n110_tax_value SIGN = 'X' IMPORTING OUTPUT = lv_buffer EXCEPTIONS INPUT_INVALID = 1.

ROUND CALL FUNCTION 'ROUND' EXPORTING INPUT = ls_s2t-n130_privilege_amount SIGN = 'X' IMPORTING OUTPUT = lv_buffer EXCEPTIONS INPUT_INVALID = 1.

ROUND CALL FUNCTION 'ROUND' EXPORTING INPUT = ls_s2t-n140_tax_amount SIGN = 'X' IMPORTING OUTPUT = lv_buffer EXCEPTIONS INPUT_INVALID = 1.

SELECT_TEXT CALL FUNCTION 'SELECT_TEXT' EXPORTING object = pa_tdobject name = pa_tdname id = pa_tdid language = '*' IMPORTING entries = txt_entries TABLES selections = it_reftext.

READ_TEXT CALL FUNCTION 'READ_TEXT' EXPORTING id = pa_tdid language = name = pa_tdname object = pa_tdobject TABLES lines = it_lines EXCEPTIONS OTHERS = 8.

ANLZ_READ_MULTIPLE_BDATU CALL FUNCTION 'ANLZ_READ_MULTIPLE_BDATU' EXPORTING i_adatu = lv_adatu i_anln1 = p_anln1 i_anln2 = p_anln2 i_bdatu = lv_bdatu i_bukrs = p_bukrs * I_SORT_ABSTEIG = ' ' IMPORTING e_anzahl = lv_number " #EC NEEDED TABLES t_anlz = lt_anlz EXCEPTIONS not_found = 1 OTHERS = 2.

J_3R_TAX_YEAR_SETTINGS_GET CALL FUNCTION 'J_3R_TAX_YEAR_SETTINGS_GET' EXPORTING iv_bukrs = p_bukrs iv_adatu = ls_anlz1-adatu iv_bdatu = ls_anlz1-bdatu is_anlz = ls_anlz1 * is_anla = ps_anla IMPORTING ev_structdiv = lv_structdiv1 * EV_STRUCTDIV_INT = * EV_BRAND = lv_brand EXCEPTIONS company_not_found = 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 J_3R_TTAX_DECL_F01 or its description.