HVECINT0 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for External routines of the Monthly Interest Calculation (VEMIN) and Annual Interest Calculation (VEAIN) functions...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 HVECINT0 into the relevant SAP transactions such as SE38 or SE80
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: ANNUAL = Annual Process
Selection Text: BEG = Start date of period
Selection Text: END = End date of period
Selection Text: MONTHLY = Monthly Process
Selection Text: NUMPER = Personnel number
Selection Text: TERMINA = Termination Process
Title: Calculation of interests over severance
Text Symbol: 021 = InternalError
Text Symbol: 022 = No valid information in infotype 0001
Text Symbol: 023 = No valid data in table T7VE02
Text Symbol: 024 = No valid data in table T7VEDI
Text Symbol: 025 = Estimated Interests over Severance for year:
Text Symbol: 027 = Month
Text Symbol: 020 = 'AS': Advances
Text Symbol: 019 = 'AS': Annual seniority
Text Symbol: 018 = 'MW': Monthly seniority
Text Symbol: 016 = Estimated Interests over Severance for month of:
Text Symbol: 015 = Interest Rate valid in period:
Text Symbol: 014 = Total accumulated in previous period:
Text Symbol: 001 = You must enter employee number
Text Symbol: 002 = You must enter start date of calculation period
Text Symbol: 003 = You must enter the end date of calculation period
Text Symbol: 004 = The start date must not be greater than end date for period
Text Symbol: 006 = No valid information in infotype 0401
Text Symbol: 007 = Error processing function HRVE_GET_LAST_DAY_OF_MONTH
Text Symbol: 008 = Error reading internal table SEN (infotype 0401)
Text Symbol: 009 = No valid entries in table T7VEIN
Text Symbol: 010 = Employee no.:
Text Symbol: 011 = Deposits / Advances
Text Symbol: 012 = Interest accumulated in period:
Text Symbol: 013 = Total accumulates in period:
Text Symbol: 053 = Dep./Advn.
Text Symbol: 054 = Rate (%)
Text Symbol: 055 = Interest(Bs.)
Text Symbol: 056 = Int. (Bs.)
Text Symbol: 058 = No valid information in infotype 0000.
Text Symbol: 028 = Calulation period for Termination Process:
Text Symbol: 029 = New record generated:
INCLUDE RPCFVP09.
INCLUDE PCFVPVE0.
INCLUDE PCAIRVE0.
INCLUDE PCAINVE1.
INCLUDE RPPPXM00.
No SAP DATABASE tables are accessed within this REPORT code!
HR_READ_INFOTYPE call function 'HR_READ_INFOTYPE' EXPORTING pernr = p_numper infty = '0401' begda = p_beg endda = p_end IMPORTING subrc = subrc TABLES infty_tab = i0401 EXCEPTIONS infty_not_found = 1 others = 2.
HRVE_GET_PAYROLL_FREQUENCY call function 'HRVE_GET_PAYROLL_FREQUENCY' EXPORTING begin = p_beg end = p_end pern = p_numper IMPORTING payroll_freq = p_pveis_input-ee_frequency EXCEPTIONS not_found = 1 others = 2.
RP_LAST_DAY_OF_MONTHS call function 'RP_LAST_DAY_OF_MONTHS' "#EC DOM_EQUAL exporting day_in = date_to_month importing last_day_of_month = p_last_day_month exceptions day_in_no_date = 1 others = 2.
HRVE_READ_T7VEIN call function 'HRVE_READ_T7VEIN' EXPORTING date_to_month = date_to_month itype = p_itype IMPORTING intrt = p_intrt flag = p_int_mark EXCEPTIONS not_found = 1 others = 2.
HR_READ_INFOTYPE call function 'HR_READ_INFOTYPE' EXPORTING pernr = p_numper infty = '0001' begda = p_beg endda = p_end IMPORTING subrc = subrc TABLES infty_tab = i0001 EXCEPTIONS infty_not_found = 1 others = 2.
HR_READ_INFOTYPE call function 'HR_READ_INFOTYPE' EXPORTING pernr = p_numper infty = '0000' begda = p_beg endda = p_end IMPORTING subrc = subrc TABLES infty_tab = i0000 EXCEPTIONS infty_not_found = 1 others = 2.
HR_READ_INFOTYPE call function 'HR_READ_INFOTYPE' EXPORTING pernr = p_numper infty = '0401' begda = beg endda = end IMPORTING subrc = subrc TABLES infty_tab = i0401 EXCEPTIONS infty_not_found = 1 others = 2.
HRVE_GET_PAYROLL_FREQUENCY call function 'HRVE_GET_PAYROLL_FREQUENCY' EXPORTING begin = p_pveis_input-end end = p_pveis_input-end pern = p_numper IMPORTING payroll_freq = p_pveis_input-ee_frequency EXCEPTIONS not_found = 1 others = 2.
MONTH_NAMES_GET call function 'MONTH_NAMES_GET' EXPORTING language = sy-langu IMPORTING return_code = subrc TABLES month_names = names_month EXCEPTIONS month_names_not_found = 1 others = 2.
HRVE_RETRIEVE_T511K_BY_MOLGA call function 'HRVE_RETRIEVE_T511K_BY_MOLGA' EXPORTING p_molga = c_calcmolga p_begda = p_date p_endda = p_date TABLES local_t511k = ve_t511k EXCEPTIONS not_found = 1 others = 2.
REUSE_ALV_LIST_DISPLAY * call function 'REUSE_ALV_LIST_DISPLAY' * EXPORTING * i_callback_program = g_repid * i_structure_name = 'WA_ALV' * is_layout = g_layout * it_fieldcat = fieldcat * it_events = it_events * TABLES * t_outtab = it_alv * EXCEPTIONS * program_error = 1 * others = 2.
HR_READ_INFOTYPE call function 'HR_READ_INFOTYPE' EXPORTING pernr = p_numper infty = '0001' begda = p_pveis_input_r-beg endda = p_pveis_input_r-end IMPORTING subrc = p_subrc TABLES infty_tab = i0001 EXCEPTIONS infty_not_found = 1 others = 2.
HR_READ_INFOTYPE call function 'HR_READ_INFOTYPE' EXPORTING pernr = p_pernr infty ='0078' begda = p_begda endda = p_endda TABLES infty_tab = i0078 EXCEPTIONS infty_not_found = 1 others = 2.
RP_GET_CURRENCY call function 'RP_GET_CURRENCY' exporting molga = c_calcmolga * end of the payroll period begda = pveis_input_r-end endda = pveis_input_r-end importing waers = lv_calc_currency exceptions molga_not_in_t001p = 1 no_entry_found_in_table_t001 = 2 no_entry_found_in_table_t500p = 3 no_entry_found_in_table_t500c = 4 others = 5.
HR_CONVERT_CURRENCY_RESULT call function 'HR_CONVERT_CURRENCY_RESULT' exporting country_grouping = c_calcmolga conversion_date = p_endda foreign_currency = oversc-waers local_currency = lv_calc_currency * PERNR = * SEQNR = TABLES RESULT_TABLE = p_ort[] * CUMULATED_RESULT_TABLE = * SUBSEQUENT_TIME_TICKET_TABLE = * ARREARS_TABLE = * DEDUCTION_TABLE = * AVERAGE_TABLE = * CHANGING * P_BUFFER_T512W = EXCEPTIONS INVALID_WAGETYPE = 1 ERROR_CONVERSION = 2 OTHERS = 3 .
HR_PAL_GENRL_MSG_ADD CALL FUNCTION 'HR_PAL_GENRL_MSG_ADD' EXPORTING I_MSGID = LS_MSG-MSGID I_MSGTY = LS_MSG-MSGTY I_MSGNO = LS_MSG-MSGNO I_MSGV1 = LS_MSGTXT-MSGV1 I_MSGV2 = LS_MSGTXT-MSGV2 I_MSGV3 = LS_MSGTXT-MSGV3 I_MSGV4 = LS_MSGTXT-MSGV4.
HR_PAL_LOG_AND_ALV_DISPLAY CALL FUNCTION 'HR_PAL_LOG_AND_ALV_DISPLAY' EXPORTING I_S_DISPLAY_PROFILE = LS_DISPLAY_PROFILE I_S_FLAT_PROFILE = LS_FLAT_PROFILE I_CALLBACK_PROGRAM = G_REPID IS_LAYOUT = G_LAYOUT IT_EVENTS = IT_EVENTS IT_FIELDCAT = GT_FIELDCAT TABLES T_OUTTAB = LT_ALV EXCEPTIONS PROGRAM_ERROR = 1 OTHERS = 2.
REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING I_PROGRAM_NAME = G_REPID I_STRUCTURE_NAME = IC_STRUCTURE_NAME CHANGING CT_FIELDCAT = GT_FIELDCAT EXCEPTIONS INCONSISTENT_INTERFACE = 1 PROGRAM_ERROR = 2 OTHERS = 3.
HRVE_GET_CURRENCY call function 'HRVE_GET_CURRENCY' exporting iv_currency_determination_date = p_currency_determination_date IMPORTING EV_CURRENCY = p_currency EV_CURRENCY_RATE_DATE = p_currency_rate_date ev_error_text = lv_error_text EXCEPTIONS ERROR = 1 OTHERS = 2 .
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 HVECINT0 or its description.
HVECINT0 - Calculation of interests over severance HVECINT0 - Calculation of interests over severance HVECINR0 - Report on quaterly contribution from company to INCES HVECINR0 - Report on quaterly contribution from company to INCES HVECINE0 - Report of worker contributions to INCES HVECINE0 - Report of worker contributions to INCES