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

MP205040 SAP ABAP INCLUDE - Infotype 2050: Form Routines







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


Text pool values


Title: Infotype 2050: Form Routines


INCLUDES used within this REPORT MP205040

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:

RP_BUILD_PSP * CALL FUNCTION 'RP_BUILD_PSP' "XOQK064687 * EXPORTING input = ptprg "XOQK064687 * begda = fia_begda "XOQK064687 * endda = fia_endda "XOQK064687 * error = no "XOQK064687 * activ = 1 "XOQK064687 * IMPORTING output = ptprg "XOQK064687 * TABLES i550an = i550an "XOQK064687 * i550ao = i550ao "XOQK064687 * i550pn = i550pn "XOQK064687 * i550po = i550po "XOQK064687 * pp0000 = m0000 "XOQK064687 * pp0001 = m0001 "XOQK064687 * pp0002 = m0002 "XOQK064687 * pp0007 = m0007 "XOQK064687 * pp2001 = m2001 "XOQK064687 * pp2002 = m2002 "XOQK064687 * pp2003 = m2003 "XOQK064687 * ppsp = psp2050. "XOQK064687

RP_ZRETCD * CALL FUNCTION 'RP_ZRETCD' "XOQK064687 * EXPORTING "XOQK064687 * msgty = 'S' "XOQK064687 * ptprg = ptprg. "XOQK064687

HR_REFRESH_ERROR_LIST CALL FUNCTION 'HR_REFRESH_ERROR_LIST'. "XOQK064687

HR_PERSONAL_WORK_SCHEDULE CALL FUNCTION 'HR_PERSONAL_WORK_SCHEDULE' "XOQK064687 EXPORTING "XOQK064687 PERNR = PSPAR-PERNR "XOQK064687 BEGDA = FIA_BEGDA "XOQK064687 ENDDA = FIA_ENDDA "XOQK064687 SWITCH_ACTIV = 1 "XOQK064687 READ_CLUSTER = READ_CLUSTER "YMMAHRK037395 TABLES "XOQK064687 I0000 = M0000 "XOQK064687 I0001 = M0001 "XOQK064687 I0002 = M0002 "XOQK064687 I0007 = M0007 "XOQK064687 I2001 = M2001 "XOQK064687 I2002 = M2002 "XOQK064687 I2003 = M2003 "XOQK064687 PERWS = PSP2050 "XOQK064687 EXCEPTIONS "XOQK064687 ERROR_OCCURED = 1 "XOQK064687 ABORT_OCCURED = 2 "XOQK064687 OTHERS = 3. "XOQK064687

SCROLLING_IN_TABLE CALL FUNCTION 'SCROLLING_IN_TABLE' EXPORTING ENTRY_ACT = FIRSTLINE ENTRY_TO = MAXLINES LAST_PAGE_FULL = ' ' LOOPS = LOOPLINES OK_CODE = FCODE OVERLAPPING = ' ' IMPORTING ENTRY_NEW = TINDEX.



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