SAP Reports / Programs

MP087640 SAP ABAP INCLUDE - Include MP087640







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


Text pool values


Title: Include MP087640


INCLUDES used within this REPORT MP087640

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 = p0876-pernr begda = l_begda endda = l_endda TABLES i0000 = gt_p0000 i0001 = gt_p0001 i0002 = gt_p0002 i0007 = gt_p0007 i0049 = gt_p0049 i2001 = gt_p2001 i2002 = gt_p2002 i2003 = gt_p2003 perws = gt_psp_ab EXCEPTIONS error_occured = 1 abort_occured = 2.

HR_ABS_ATT_TIMES_AT_ENTRY CALL FUNCTION 'HR_ABS_ATT_TIMES_AT_ENTRY' EXPORTING pernr = p0876-pernr awart = g_it0876_awart begda = p0876-begda endda = p0876-endda * USE_VARIANT = 'X' IMPORTING * ABWTG = * ABRTG = * ABRST = * KALTG = * HRSIF = alldf = p_whosh * ERROR_WO_EXCEPTION = TABLES m0000 = gt_p0000 m0001 = gt_p0001 m0002 = gt_p0002 m0007 = gt_p0007 m2001 = gt_p2001 m2002 = gt_p2002 m2003 = gt_p2003 pws = gt_psp_ab times_per_day = lt_times_per_day CHANGING beguz = p_beguz enduz = p_enduz vtken = p0876-vtken stdaz = p_durat * BREAKS = EXCEPTIONS it0001_missing = 1 customizing_error = 2 error_occurred = 3 end_before_begin = 4 OTHERS = 5.

HR_READ_INFOTYPE CALL FUNCTION 'HR_READ_INFOTYPE' EXPORTING pernr = p0876-pernr infty = '0876' begda = lv_begda endda = lv_endda BYPASS_BUFFER = 'X' TABLES infty_tab = lt_p0876 EXCEPTIONS infty_not_found = 1 OTHERS = 2.

RH_GET_ACTIVE_WF_PLVAR CALL FUNCTION 'RH_GET_ACTIVE_WF_PLVAR' EXPORTING ask_plvar_dialog = ' ' IMPORTING act_plvar = gv_act_plvar EXCEPTIONS no_active_plvar = 01.

RH_READ_INFTY_1000 CALL FUNCTION 'RH_READ_INFTY_1000' EXPORTING authority = 'DISP' with_stru_auth = 'X' plvar = gv_act_plvar otype = gv_otype_hwc objid = p0876-hwcco TABLES i1000 = gt_p1000 EXCEPTIONS nothing_found = 1 wrong_condition = 2 wrong_parameters = 3 OTHERS = 4.

HR_WORK_SCHEDULE_TIMES CALL FUNCTION 'HR_WORK_SCHEDULE_TIMES' EXPORTING pernr = p0876-pernr begda = lv_begda endda = p0876-begda TABLES * i0001 = p0001 * i0007 = p0007 * i2003 = p2003 perws = gt_psp_ab daygen = gt_daygen dayint = gt_dayint EXCEPTIONS error_occured = 1 perws_error = 2 OTHERS = 3.

HR_TIME_AND_DURATION CALL FUNCTION 'HR_TIME_AND_DURATION' EXPORTING date = p0876-begda beguz = -beguz enduz = -enduz TABLES dayint = gt_dayint interval = gt_interval EXCEPTIONS dayint_not_filled = 1 error_occured = 2 OTHERS = 3.



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