HVECSEN0 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for External routine of the annual and monthly seniority calculation function (VESEN)...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 HVECSEN0 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: YEARS = Years of service :
Selection Text: PERN = Personnel code :
Selection Text: MONTHS = Months of service :
Selection Text: INI_DATE = Entry or legal date :
Selection Text: EXTERNA = Cumulate in Company ('X') :
Selection Text: ENDPER = End of payroll period :
Selection Text: DAYS = Days of service :
Selection Text: BEGPER = Start of payroll period :
Selection Text: BASIS_SM = Daily basis monthly seniority:
Selection Text: BASIS_SA = Daily basis annual seniority:
Title: Calculation of seniority welfare payments
Text Symbol: 029 = Error in REUSE_ALV_LIST_DISPLAY function
Text Symbol: 028 = Personnel number:
Text Symbol: 027 = Amount
Text Symbol: 026 = Amount
Text Symbol: 025 = Amt.
Text Symbol: 024 = Concept
Text Symbol: 023 = Conc.
Text Symbol: 022 = C.
Text Symbol: 014 = Error in HRVE_RETRIEVE_T511K_BY_MOLGA function
Text Symbol: 013 = Seniority calculation does not apply in this period
Text Symbol: 012 = Days paid for annual seniority
Text Symbol: 011 = Days paid for monthly seniority
Text Symbol: 010 = Transfer into company account on: &1
Text Symbol: 009 = Transfer for bank trust on: &1
Text Symbol: 006 = Daily basis for annual seniority
Text Symbol: 005 = Annual welfare payments
Text Symbol: 004 = Monthly welfare payments
Text Symbol: 003 = Daily basis for monthly seniority
Text Symbol: 002 = Payroll period: &1 - &2
Text Symbol: 001 = Date of entry: &1
INCLUDE PCALDVE0.
No SAP DATABASE tables are accessed within this REPORT code!
HRVE_RETRIEVE_T511K_BY_MOLGA call function 'HRVE_RETRIEVE_T511K_BY_MOLGA' EXPORTING p_molga = p_calcmolga p_begda = endper p_endda = endper TABLES local_t511k = vet511k 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.
HRVE_GET_TIME_BETWEEN_DATES CALL FUNCTION 'HRVE_GET_TIME_BETWEEN_DATES' EXPORTING beg_date = is_sen_input-last_sen_date end_date = is_sen_input-end_peri IMPORTING months = lv_months_between_periods EXCEPTIONS invalid_period = 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.