SAP Reports / Programs | Personnel Management | Personnel Administration(PA-PA) SAP PA

MP000540 SAP ABAP INCLUDE - Infotype 0005: Form Routines







MP000540 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 MP000540 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 MP000540. "Basic submit
SUBMIT MP000540 AND RETURN. "Return to original report after report execution complete
SUBMIT MP000540 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 0005: Form Routines


INCLUDES used within this REPORT MP000540

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:

COMPUTE_YEARS_BETWEEN_DATES CALL FUNCTION 'COMPUTE_YEARS_BETWEEN_DATES' EXPORTING FIRST_DATE = P0002-GBDAT SECOND_DATE = FIU_DATE MODIFY_INTERVAL = ' ' IMPORTING YEARS_BETWEEN_DATES = FIU_ALTER EXCEPTIONS SEQUENCE_OF_DATES_NOT_VALID = 1. "XLCK045148

COMPUTE_YEARS_BETWEEN_DATES CALL FUNCTION 'COMPUTE_YEARS_BETWEEN_DATES' EXPORTING FIRST_DATE = FIU_DATE1 SECOND_DATE = FIU_DATE MODIFY_INTERVAL = ' ' IMPORTING YEARS_BETWEEN_DATES = FIU_DAUER EXCEPTIONS "XLCK143766 SEQUENCE_OF_DATES_NOT_VALID = 01. "XLCK143766

RP_HIRE_FIRE CALL FUNCTION 'RP_HIRE_FIRE' EXPORTING BEG = LOW_DATE END = HIGH_DATE IMPORTING HIRE_DATE = HIREDATE FIRE_DATE = FIREDATE TABLES PP0000 = X0000 "input PP0001 = X0001 "input PPHIFI = PHIFI. "output



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