HVECTRA1 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 Apprentices Report, in accordance with Ministry of Labor article 270...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 HVECTRA1 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_CTRA1 - Apprentice report (cls 270)
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: Apprentices report (Ministry of Labour Art. 270 )
Text Symbol: 002 = Additional data
Text Symbol: 003 = Error log
Text Symbol: E02 = Error on adding element to error list
INCLUDE PCCLSVE0.
INCLUDE PCCONVE0.
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_TIME_BETWEEN_DATES CALL FUNCTION 'HRVE_GET_TIME_BETWEEN_DATES' EXPORTING BEG_DATE = P_PERS_TABLE-FEC_NACIM END_DATE = P_D_UNTIL IMPORTING YEARS = ANOS EXCEPTIONS INVALID_PERIOD = 1 OTHERS = 2.
HR_ENTRY_DATE CALL FUNCTION 'HR_ENTRY_DATE' EXPORTING PERSNR = P_PERNR_PERNR ENDDA = PV_ENDDA IMPORTING ENTRYDATE = P_PERS_TABLE-FECHA_ING * CUSTOMER_ENTRYDATE = TABLES ENTRY_DATES = WA_ENTRY.
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.
HR_PERSONAL_WORK_SCHEDULE CALL FUNCTION 'HR_PERSONAL_WORK_SCHEDULE' EXPORTING PERNR = P_PERNR_PERNR BEGDA = P_D_UNTIL ENDDA = P_D_UNTIL REFRESH = SPACE MODIFY_ENTRIES = SPACE TABLES I0001 = P0001 I0007 = P0007 I2001 = P2001 PERWS = PSP EXCEPTIONS ERROR_OCCURED = 1 ABORT_OCCURED = 2 OTHERS = 3.
HRVE_CONVERT_TIME CALL FUNCTION 'HRVE_CONVERT_TIME' EXPORTING TYPE_TIME = 'A' INPUT_TIME = INP_HOUR IMPORTING OUTPUT_TIME = OUT_HOUR OUTPUT_AM_PM = OUT_TYPE EXCEPTIONS PARAMETER_ERROR = 1 OTHERS = 2.
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.
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_date = pn-endda 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.
HVECTRA1 - Apprentices report (Ministry of Labour Art. 270 ) HVECTRA1 - Apprentices report (Ministry of Labour Art. 270 ) HVECTIU0 - File generation for the TIUNA system of the IVSS HVECTIU0 - File generation for the TIUNA system of the IVSS HVECTER1 - Dynamic action routine for vacat. pay and vacat. bonus in termination HVECTER1 - Dynamic action routine for vacat. pay and vacat. bonus in termination