HVECARC0 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Program that generates the Income Tax Deduction Statement (ISLR) (Form AR-C), whose information regards the employee's remuneration and monthly tax...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 HVECARC0 into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
PC00_M17_CARC0 - AR-C form: Deduction 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.
Selection Text: FORM = Format:
Selection Text: PX_LFORM = Form
Selection Text: PX_LFVAR = Form variant
Title: Form AR-C: Income Tax deduction statement
Text Symbol: 001 = Error finding months in function MONTH_NAMES_GET
Text Symbol: 002 = Report data
Text Symbol: 003 = Error in infotype
Text Symbol: 004 = (Must be issued for the same period or year)
Text Symbol: 005 = for ARC
Text Symbol: E02 = Error on adding element to error list
INCLUDE PCCLSVE0.
INCLUDE PMSELVE0. "YRAM1083412
No SAP DATABASE tables are accessed within this REPORT code!
HRVE_F4SEARCH_SAPSCRIPT CALL FUNCTION 'HRVE_F4SEARCH_SAPSCRIPT' EXPORTING irepid = c_program_name fieldname = 'FORM' IMPORTING oform = form.
HRVE_GET_NATIONAL_TABLES CALL FUNCTION 'HRVE_GET_NATIONAL_TABLES' " 387657N EXPORTING " 387657N pernr = pernr-pernr " 387657N begda = p0001-begda " 387657N endda = p0001-endda " 387657N iv_target_currency = gv_calc_currency iv_currency_rate_date = gv_currency_rate_date TABLES " 387657N tax_eval = tax_eval " 387657N si_eval = si_eval EXCEPTIONS " 387657N e_hrve_read_rgdir_payresults = 1 " 387657N OTHERS = 2 " 387657N .
ADDR_GET CALL FUNCTION 'ADDR_GET' EXPORTING address_selection = gd_address_selection IMPORTING address_value = address_data EXCEPTIONS parameter_error = 1 address_not_exist = 2 version_not_exist = 3 internal_error = 4 OTHERS = 5.
MONTH_NAMES_GET CALL FUNCTION 'MONTH_NAMES_GET' EXPORTING language = sy-langu IMPORTING return_code = mn_subrc TABLES month_names = names_month EXCEPTIONS month_names_not_found = 1 OTHERS = 2.
CONVERT_TO_LOCAL_CURRENCY call function 'CONVERT_TO_LOCAL_CURRENCY' exporting * CLIENT = SY-MANDT date = gv_currency_rate_date foreign_amount = p0399-REMUN foreign_currency = p0399-waer1 local_currency = gv_calc_currency * RATE = 0 * TYPE_OF_RATE = 'M' * READ_TCURR = 'X' IMPORTING * EXCHANGE_RATE = * FOREIGN_FACTOR = LOCAL_AMOUNT = p0399-REMUN * LOCAL_FACTOR = * EXCHANGE_RATEX = * FIXED_RATE = * DERIVED_RATE_TYPE = * EXCEPTIONS * NO_RATE_FOUND = 1 * OVERFLOW = 2 * NO_FACTORS_FOUND = 3 * NO_SPREAD_FOUND = 4 * DERIVED_2_TIMES = 5 * OTHERS = 6 .
CONVERT_TO_LOCAL_CURRENCY call function 'CONVERT_TO_LOCAL_CURRENCY' exporting * CLIENT = SY-MANDT date = gv_currency_rate_date foreign_amount = p0399-TAXDE foreign_currency = p0399-waer2 local_currency = gv_calc_currency * RATE = 0 * TYPE_OF_RATE = 'M' * READ_TCURR = 'X' IMPORTING * EXCHANGE_RATE = * FOREIGN_FACTOR = LOCAL_AMOUNT = p0399-TAXDE * LOCAL_FACTOR = * EXCHANGE_RATEX = * FIXED_RATE = * DERIVED_RATE_TYPE = * EXCEPTIONS * NO_RATE_FOUND = 1 * OVERFLOW = 2 * NO_FACTORS_FOUND = 3 * NO_SPREAD_FOUND = 4 * DERIVED_2_TIMES = 5 * OTHERS = 6 .
CONVERT_TO_LOCAL_CURRENCY call function 'CONVERT_TO_LOCAL_CURRENCY' exporting * CLIENT = SY-MANDT date = gv_currency_rate_date foreign_amount = p0399-TXDAD foreign_currency = p0399-waer2 local_currency = gv_calc_currency * RATE = 0 * TYPE_OF_RATE = 'M' * READ_TCURR = 'X' IMPORTING * EXCHANGE_RATE = * FOREIGN_FACTOR = LOCAL_AMOUNT = p0399-TXDAD * LOCAL_FACTOR = * EXCHANGE_RATEX = * FIXED_RATE = * DERIVED_RATE_TYPE = * EXCEPTIONS * NO_RATE_FOUND = 1 * OVERFLOW = 2 * NO_FACTORS_FOUND = 3 * NO_SPREAD_FOUND = 4 * DERIVED_2_TIMES = 5 * OTHERS = 6 .
CONVERT_TO_LOCAL_CURRENCY call function 'CONVERT_TO_LOCAL_CURRENCY' exporting * CLIENT = SY-MANDT date = gv_currency_rate_date foreign_amount = p0399-OVERT foreign_currency = p0399-waer3 local_currency = gv_calc_currency * RATE = 0 * TYPE_OF_RATE = 'M' * READ_TCURR = 'X' IMPORTING * EXCHANGE_RATE = * FOREIGN_FACTOR = LOCAL_AMOUNT = p0399-OVERT * LOCAL_FACTOR = * EXCHANGE_RATEX = * FIXED_RATE = * DERIVED_RATE_TYPE = * EXCEPTIONS * NO_RATE_FOUND = 1 * OVERFLOW = 2 * NO_FACTORS_FOUND = 3 * NO_SPREAD_FOUND = 4 * DERIVED_2_TIMES = 5 * OTHERS = 6 .
CONVERT_TO_LOCAL_CURRENCY call function 'CONVERT_TO_LOCAL_CURRENCY' exporting * CLIENT = SY-MANDT date = gv_currency_rate_date foreign_amount = p0399-ATAXG foreign_currency = gv_calc_currency local_currency = p0399-waer4 * RATE = 0 * TYPE_OF_RATE = 'M' * READ_TCURR = 'X' IMPORTING * EXCHANGE_RATE = * FOREIGN_FACTOR = LOCAL_AMOUNT = p0399-ATAXG * LOCAL_FACTOR = * EXCHANGE_RATEX = * FIXED_RATE = * DERIVED_RATE_TYPE = * EXCEPTIONS * NO_RATE_FOUND = 1 * OVERFLOW = 2 * NO_FACTORS_FOUND = 3 * NO_SPREAD_FOUND = 4 * DERIVED_2_TIMES = 5 * OTHERS = 6 .
CONVERT_TO_LOCAL_CURRENCY call function 'CONVERT_TO_LOCAL_CURRENCY' exporting * CLIENT = SY-MANDT date = gv_currency_rate_date foreign_amount = p0399-ATAXD foreign_currency = p0399-waer5 local_currency = gv_calc_currency * RATE = 0 * TYPE_OF_RATE = 'M' * READ_TCURR = 'X' IMPORTING * EXCHANGE_RATE = * FOREIGN_FACTOR = LOCAL_AMOUNT = p0399-ATAXD * LOCAL_FACTOR = * EXCHANGE_RATEX = * FIXED_RATE = * DERIVED_RATE_TYPE = * EXCEPTIONS * NO_RATE_FOUND = 1 * OVERFLOW = 2 * NO_FACTORS_FOUND = 3 * NO_SPREAD_FOUND = 4 * DERIVED_2_TIMES = 5 * OTHERS = 6 .
H99B_OPEN_LFORM_JOB CALL FUNCTION 'H99B_OPEN_LFORM_JOB' EXPORTING i_molga = hr99b_form_sel-molga i_fogroup = hr99b_form_sel-fogroup i_folname = hr99b_form_sel-folname i_fovariant = hr99b_form_sel-fovariant options = l_options EXCEPTIONS OTHERS = 99.
MONTH_NAMES_GET CALL FUNCTION 'MONTH_NAMES_GET' EXPORTING language = sy-langu IMPORTING return_code = l_returncode TABLES month_names = l_names_month EXCEPTIONS month_names_not_found = 1 OTHERS = 2.
H99B_OUTPUT_LFORM CALL FUNCTION 'H99B_OUTPUT_LFORM' EXPORTING i_molga = hr99b_form_sel-molga i_fogroup = hr99b_form_sel-fogroup i_folname = hr99b_form_sel-folname i_fovariant = hr99b_form_sel-fovariant i_data_struc = i_data EXCEPTIONS OTHERS = 99.
H99B_CLOSE_LFORM_JOB CALL FUNCTION 'H99B_CLOSE_LFORM_JOB' EXCEPTIONS OTHERS = 99.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
HVECARC0 - Form AR-C: Income Tax deduction statement HVECARC0 - Form AR-C: Income Tax deduction statement HVECALC0 - Payroll accounting program (Venezuela) HVECALC0 - Payroll accounting program (Venezuela) HVECAFV0 - FAOV movements and payments information HVECAFV0 - FAOV movements and payments information