SAP Reports / Programs | Personnel Time Management(PT) SAP PT

MP200241 SAP ABAP INCLUDE - INCLUDE for Weekly Calendar







MP200241 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 MP200241 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 MP200241. "Basic submit
SUBMIT MP200241 AND RETURN. "Return to original report after report execution complete
SUBMIT MP200241 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 for Weekly Calendar


INCLUDES used within this REPORT MP200241

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 = pspar-pernr begda = date endda = date * KUG = * REFRESH = 'X' * WORKING_HOURS = 'X' * SWITCH_ACTIV = * MODIFY_ENTRIES = 'X' * I0001_I0007_ERROR = '0' TABLES i0000 = m0000 i0001 = m0001 i0002 = m0002 i0007 = m0007 * I0049 = i2001 = m2001 i2002 = m2002 i2003 = m2003 perws = local_pws EXCEPTIONS error_occured = 1 abort_occured = 2 OTHERS = 3.

RP_DAYPROGRAM * CALL FUNCTION 'RP_DAYPROGRAM' * EXPORTING INPUT = PTPRG * IMPORTING OUTPUT = PTPRG * TABLES I550AN = I550AN * I550AO = I550AO * I550PN = I550PN * I550PO = I550PO * PP0001 = M0001 * PP0002 = M0002 * PP0007 = M0007 * PP2001 = M2001 * PP2002 = M2002 * PP2003 = M2003.

RP_ZRETCD * CALL FUNCTION 'RP_ZRETCD' * EXPORTING * MSGTY = 'E' "XLCK083187 * MSGTY = 'S' "XLCK083187 * PTPRG = PTPRG.

HR_TIME_RESULTS_GET CALL FUNCTION 'HR_TIME_RESULTS_GET' "XLCK029412 EXPORTING get_pernr = pspar-pernr get_pabrj = t549q-pabrj get_pabrp = t549q-pabrp get_cltyp = '1' TABLES get_zes = zes 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 MP200241 or its description.