SAP Reports / Programs

HVECMIN0 SAP ABAP Report - Register of juvenile employees (Art. 265 of the Fed.Labor Act)







HVECMIN0 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 Juvenile Workers Record, in accordance with Ministry of Labor article 265...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 HVECMIN0 into the relevant SAP transactions such as SE38 or SE80


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

PC00_M17_CMIN0 - Juvenile workers record (cls 265)


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 HVECMIN0. "Basic submit
SUBMIT HVECMIN0 AND RETURN. "Return to original report after report execution complete
SUBMIT HVECMIN0 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: FORM = Format:
Title: Register of juvenile employees (Art. 265 of the Fed.Labor Act)
Text Symbol: 002 = Additional data
Text Symbol: 003 = Error log
Text Symbol: E02 = Error on adding element to error list


INCLUDES used within this REPORT HVECMIN0

INCLUDE PCCLSVE0.
INCLUDE PCCONVE0.
INCLUDE PMSELVE0. "YRAM1083412


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_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.



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