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

MP022240 SAP ABAP INCLUDE - Module Pool for Infotype P0222 - Form Routines for Common Part







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


Text pool values


Title: Module Pool for Infotype P0222 - Form Routines for Common Part


INCLUDES used within this REPORT MP022240

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_GB_TOTAL_DAYS_AVAILABLE CALL FUNCTION 'HR_GB_TOTAL_DAYS_AVAILABLE' EXPORTING I0222 = P0222 IMPORTING TOTNA = Q0222-TOTNA EXCEPTIONS INVALID_DATE_IMPORT = 1 OTHERS = 2.

HR_GB_AGE_OF_CAR CALL FUNCTION 'HR_GB_AGE_OF_CAR' EXPORTING I0222 = P0222 MOLGA = T001P-MOLGA DATE = MEASREMT_DATE IMPORTING OLDCR = Q0222-OLDCR EXCEPTIONS NO_AGE_FOR_OLD_CARS = 1 NOT_YET_REGISTERED = 2 OTHERS = 3.

HR_GB_CALCULATE_CAR_PRICE CALL FUNCTION 'HR_GB_CALCULATE_CAR_PRICE' EXPORTING I0222 = P0222 MOLGA = T001P-MOLGA ENDDA = P0222-ENDDA IMPORTING CARPR = Q0222-CARPR FCBEN = Q0222-FCBEN EXCEP = EXCEP EXCEPTIONS OTHERS = 1.

HR_GB_FULL_CAR_BENEFIT CALL FUNCTION 'HR_GB_FULL_CAR_BENEFIT' EXPORTING CARPR = Q0222-CARPR MOLGA = T001P-MOLGA ENDDA = P0222-ENDDA IMPORTING FCBEN = Q0222-FCBEN EXCEP = EXCEP EXCEPTIONS OTHERS = 1.

ROUND CALL FUNCTION 'ROUND' EXPORTING DECIMALS = 0 INPUT = AMOUNT SIGN = SIGN IMPORTING OUTPUT = AMOUNT EXCEPTIONS INPUT_INVALID = 1 OVERFLOW = 2 TYPE_INVALID = 3 OTHERS = 4.

HR_POPUP_VC_T51C1 CALL FUNCTION 'HR_POPUP_VC_T51C1' EXPORTING I_KEYDATE = E_KEYDATE I_CMAKE = P0222-CMAKE I_CMODL = P0222-CMODL I_S51C1 = E_S51C1 IMPORTING E_CMAKE = I_CMAKE E_CMODL = I_CMODL E_S51C1 = I_S51C1 EXCEPTIONS UPDATE_ERROR = 1 NOT_SAVED = 2 OTHERS = 4.



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