SAP Reports / Programs | Payroll | Venezuela(PY-VE) SAP PY

HVECVAC0 SAP ABAP Report - Valuation report on legal vacation in the payroll







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


Text pool values


Selection Text: SAL_1 = Vacation pay
Selection Text: SAL_2 = Vacation pay
Selection Text: SAL_3 = Vacation pay
Selection Text: STYPE1 = Wage
Selection Text: STYPE2 = Wage
Selection Text: STYPE3 = Wage
Selection Text: WTYPE1 = Wage type
Selection Text: WTYPE2 = Wage type
Selection Text: WTYPE3 = Wage type
Selection Text: YEAR_1 = Quota year to valuate
Selection Text: YEAR_2 = Quota year to valuate
Selection Text: YEAR_3 = Quota year to valuate
Selection Text: NUMPER = Personnel number
Selection Text: ENDDA = Period end date
Selection Text: DAYS_3 = Total days in Quota
Selection Text: DAYS_2 = Total days in Quota
Selection Text: DAYS_1 = Total days in Quota
Selection Text: DAY3 = No. days
Selection Text: DAY2 = No. days
Selection Text: DAY1 = No. days
Selection Text: BEGDA = Period start date
Title: Valuation report on legal vacation in the payroll
Text Symbol: 017 = Wage type3 / Days3
Text Symbol: 016 = Wage type2 / Days2
Text Symbol: 018 = Year
Text Symbol: 019 = Calc. basis
Text Symbol: 020 = Quota (days)
Text Symbol: 021 = Val. basis
Text Symbol: 022 = Requested (days)
Text Symbol: 023 = Wage
Text Symbol: 025 = General data
Text Symbol: 040 = Total
Text Symbol: 052 = Calcul. basis
Text Symbol: 053 = Quota days
Text Symbol: 001 = Data of First Quota to valuate
Text Symbol: 002 = Data of Second Quota to valuate
Text Symbol: 003 = Data of Third Quota to valuate
Text Symbol: 004 = You must enter employee number





Text Symbol: 005 = There is no data for Quota valuation
Text Symbol: 006 = You must complete all data to valuate the First Quota
Text Symbol: 007 = The Quota years must go from lowest to highest
Text Symbol: 008 = Employee no.:
Text Symbol: 009 = Period evaluated from &1 until &2
Text Symbol: 013 = Data for Quota evaluation
Text Symbol: 014 = Wage type1 / Days1
Text Symbol: 015 = Vacation WT / Vacation pay
Text Symbol: 055 = Rqstd days
Text Symbol: 054 = Valuation base


INCLUDES used within this REPORT HVECVAC0

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:

HRVE_READ_T512W_VKLAS CALL FUNCTION 'HRVE_READ_T512W_VKLAS' EXPORTING lgart = aux_vac_days-lgart endda = p_vac_input-per_endda pclas = c_pclass_vac_adv_num IMPORTING pvalu = pclass_value EXCEPTIONS not_found = 1 OTHERS = 2.

REUSE_ALV_LIST_DISPLAY * CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' *EXPORTING * I_BUFFER_ACTIVE = 'X' * I_CALLBACK_PROGRAM = G_repid * I_STRUCTURE_NAME = 'WA_ALV' *****Start of Change - Adding: c5056393 : 25.06.04*******************

HR_READ_INFOTYPE CALL FUNCTION 'HR_READ_INFOTYPE' EXPORTING pernr = p_numper infty = '0001' begda = begda endda = endda IMPORTING subrc = subrc TABLES infty_tab = i0001 EXCEPTIONS infty_not_found = 1 OTHERS = 2.

BAL_LOG_MSG_ADD_FREE_TEXT CALL FUNCTION 'BAL_LOG_MSG_ADD_FREE_TEXT' EXPORTING i_log_handle = gs_log_handle i_msgty = gc_info i_probclass = gc_probclass i_text = iv_text EXCEPTIONS log_not_found = 1 msg_inconsistent = 2 log_is_full = 3 OTHERS = 4.

BAL_LOG_CREATE CALL FUNCTION 'BAL_LOG_CREATE' EXPORTING i_s_log = is_log IMPORTING e_log_handle = xs_log_handle EXCEPTIONS log_header_inconsistent = 1 OTHERS = 2.

BAL_DSP_PROFILE_NO_TREE_GET CALL FUNCTION 'BAL_DSP_PROFILE_NO_TREE_GET' IMPORTING e_s_display_profile = is_display_profile.

BAL_DSP_LOG_DISPLAY CALL FUNCTION 'BAL_DSP_LOG_DISPLAY' EXPORTING i_s_display_profile = is_display_profile EXCEPTIONS OTHERS = 1.



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