SAP Reports / Programs | Personnel Time Management | Shift Planning(PT-SP) SAP PT

FH5AHF40_INSERT_2002 SAP ABAP INCLUDE - FH5AHF40INSERT2002







FH5AHF40_INSERT_2002 is a standard ABAP INCLUDE available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.

If you would like to execute this report or see the full code listing simply enter FH5AHF40_INSERT_2002 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 FH5AHF40_INSERT_2002. "Basic submit
SUBMIT FH5AHF40_INSERT_2002 AND RETURN. "Return to original report after report execution complete
SUBMIT FH5AHF40_INSERT_2002 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


INCLUDES used within this REPORT FH5AHF40_INSERT_2002

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:

HR_PERSONAL_WORK_SCHEDULE CALL FUNCTION 'HR_PERSONAL_WORK_SCHEDULE' EXPORTING pernr = in_p2002-pernr begda = in_p2002-begda endda = in_p2002-endda * KUG = refresh = 'X' * WORKING_HOURS = 'X' * SWITCH_ACTIV = modify_entries = 'X' * I0001_I0007_ERROR = '0' * IMPORTING * WARNING_OCCURED = * TABLES * I0000 = * i0001 = p0001 TABLES i0002 = p0002 i0007 = p0007 * I0049 = i2001 = p2001 i2002 = p2002 i2003 = p2003 perws = in_att_ptpsp EXCEPTIONS error_occured = 1 abort_occured = 2 OTHERS = 3.

HR_ABS_ATT_TIMES CALL FUNCTION 'HR_ABS_ATT_TIMES' EXPORTING pernr = in_p2002-pernr awart = in_p2002-awart begda = in_p2002-begda endda = in_p2002-endda beguz = in_p2002-beguz enduz = in_p2002-enduz vtken = in_p2002-vtken stdaz = in_p2002-stdaz alldf = in_p2002-alldf * CALC_FROM = 00000000 * CALC_TO = 00000000 TABLES m0001 = p0001 m0007 = p0007"XLTPH0K007397 pws = in_att_ptpsp times_per_day = in_att_tpd EXCEPTIONS it0001_missing = 1 customizing_error = 2 error_occurred = 3 end_before_begin = 4 missing_pws = 5 OTHERS = 6.



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