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

MP50AI00 SAP ABAP INCLUDE - documentation and ABAP source code







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


INCLUDES used within this REPORT MP50AI00

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:

DEQUEUE_ALL CALL FUNCTION 'DEQUEUE_ALL'.

DEQUEUE_ALL CALL FUNCTION 'DEQUEUE_ALL'. "MELN1675567

HR_GET_SUBTYPE_TEXT CALL FUNCTION 'HR_GET_SUBTYPE_TEXT' EXPORTING infty = rp50g-infty subty = rp50g-subty persnr = rp50g-pernr tclas = pspar-tclas "XRGN436561 begda = sel-begst endda = sel-endst IMPORTING stext = subty_text EXCEPTIONS infty_not_found = 1 subty_not_found = 2 OTHERS = 3.

CONVERT_DATE_TO_INTERNAL CALL FUNCTION 'CONVERT_DATE_TO_INTERNAL' EXPORTING date_external = rp50g-begda * ACCEPT_INITIAL_DATE = IMPORTING date_internal = sel-begst EXCEPTIONS date_external_is_invalid = 1 OTHERS = 2.

CONVERT_DATE_TO_INTERNAL CALL FUNCTION 'CONVERT_DATE_TO_INTERNAL' EXPORTING date_external = rp50g-endda * ACCEPT_INITIAL_DATE = IMPORTING date_internal = sel-endst EXCEPTIONS date_external_is_invalid = 1 OTHERS = 2.

HR_T582A_READ CALL FUNCTION 'HR_T582A_READ' "XYVAHRK039910 EXPORTING "XYVAHRK039910 infty = rp50g-infty "XYVAHRK039910 IMPORTING "XYVAHRK039910 t582a = t582a "XYVAHRK039910 EXCEPTIONS "XYVAHRK039910 entry_not_found = 1 "XYVAHRK039910 OTHERS = 2. "XYVAHRK039910

HR_T582A_READ CALL FUNCTION 'HR_T582A_READ' "XYVAHRK039910 EXPORTING "XYVAHRK039910 infty = rp50g-infty "XYVAHRK039910 IMPORTING "XYVAHRK039910 t582a = t582a "XYVAHRK039910 EXCEPTIONS "XYVAHRK039910 entry_not_found = 1 "XYVAHRK039910 OTHERS = 2. "XYVAHRK039910

HR_T582A_READ CALL FUNCTION 'HR_T582A_READ' "XYVAHRK039910 EXPORTING "XYVAHRK039910 infty = rp50g-infty "XYVAHRK039910 IMPORTING "XYVAHRK039910 t582a = t582a "XYVAHRK039910 EXCEPTIONS "XYVAHRK039910 entry_not_found = 1 "XYVAHRK039910 OTHERS = 2. "XYVAHRK039910

HR_TELEPHONE_CALL CALL FUNCTION 'HR_TELEPHONE_CALL' "XCZK001893 EXPORTING "XCZK001893 tclas = pspar-tclas "XCZK001893 pernr = rp50g-pernr. "XCZK001893

POPUP_TO_CONFIRM * CALL FUNCTION 'POPUP_TO_CONFIRM' "XWSK050386 * EXPORTING "XWSK050386 * text_question = text-007 "XWSK050386 * TEXT_BUTTON_1 = 'Ja'(yes) "XWSK050386 * ICON_BUTTON_1 = 'ICON_OKAY' "XWSK050386 * TEXT_BUTTON_2 = 'Nein'(not) "XWSK050386 * ICON_BUTTON_2 = 'ICON_CANCEL' "XWSK050386 * DEFAULT_BUTTON = '2' "XWSK050386 * DISPLAY_CANCEL_BUTTON = ' ' "XWSK050386 * IMPORTING "XWSK050386 * ANSWER = popup_answer "XWSK050386 * EXCEPTIONS "XWSK050386 * TEXT_NOT_FOUND = 1 "XWSK050386 * OTHERS = 2. "XWSK050386

RP_APPL_SHOW_PORTRAIT CALL FUNCTION 'RP_APPL_SHOW_PORTRAIT' "XDPK000761 EXPORTING "XDPK000761 aplno = rpapp-aplno "XDPK000761 EXCEPTIONS "XDPK000761 no_applicant = 1 "XDPK000761 OTHERS = 2. "XDPK000761

HR_T582A_READ CALL FUNCTION 'HR_T582A_READ' "XYVAHRK039910 EXPORTING "XYVAHRK039910 infty = rp50g-infty "XYVAHRK039910 IMPORTING "XYVAHRK039910 t582a = t582a "XYVAHRK039910 EXCEPTIONS "XYVAHRK039910 entry_not_found = 0 "XYVAHRK039910 OTHERS = 0. "XYVAHRK039910

F4_DATE CALL FUNCTION 'F4_DATE' EXPORTING date_for_first_month = sy-datum IMPORTING select_date = date1 EXCEPTIONS calendar_buffer_not_loadable = 1 date_after_range = 2 date_before_range = 3 date_invalid = 4 factory_calendar_not_found = 5 holiday_calendar_not_found = 6 parameter_conflict = 7 OTHERS = 8.

F4_DATE CALL FUNCTION 'F4_DATE' EXPORTING date_for_first_month = sy-datum IMPORTING select_date = date1 EXCEPTIONS calendar_buffer_not_loadable = 1 date_after_range = 2 date_before_range = 3 date_invalid = 4 factory_calendar_not_found = 5 holiday_calendar_not_found = 6 parameter_conflict = 7 OTHERS = 8.



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