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

MP314040 SAP ABAP INCLUDE - documentation and ABAP source code







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

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:

F4TOOL_F4FUNCTION_BRIDGE CALL FUNCTION 'F4TOOL_F4FUNCTION_BRIDGE' EXPORTING tabname = space fieldname = space display_only = display_only no_conversion = 'X' IMPORTING selected_index = f4_index TABLES value_tab = helptab fields_tab = ihelp_fields coltitle_tab = cotitle_tab sel_opt = mcseloption.

HR_INFOTYPE_GETLIST CALL FUNCTION 'HR_INFOTYPE_GETLIST' EXPORTING infty = '0021' number = p3140-pernr timeintervallow = p3140-begda timeintervalhigh = p3140-endda TABLES key = lt_tab_key.

HR_INFOTYPE_GETDETAIL CALL FUNCTION 'HR_INFOTYPE_GETDETAIL' EXPORTING infty = '0021' number = -employeeno subtype = -subtype objectid = -objectid lockindicator = -lockindic validityend = -validend validitybegin = -validbegin recordnumber = -recordnr IMPORTING record = ls_p0021 secondary_record = ls_p0148 EXCEPTIONS OTHERS = 0.

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING text_question = text-001 default_button = '1' display_cancel_button = abap_false IMPORTING answer = lv_answer.

HR_READ_INFOTYPE CALL FUNCTION 'HR_READ_INFOTYPE' EXPORTING tclas = 'A' pernr = p3140-pernr infty = '3140' IMPORTING subrc = iv_subrc TABLES infty_tab = it3140 EXCEPTIONS infty_not_found = 1 OTHERS = 2.

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING text_question = text-001 default_button = '1' display_cancel_button = abap_false IMPORTING answer = lv_answer.

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING text_question = text-001 default_button = '1' display_cancel_button = abap_false IMPORTING answer = lv_answer.

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING text_question = text-001 default_button = '1' display_cancel_button = abap_false IMPORTING answer = lv_answer.

HR_READ_INFOTYPE CALL FUNCTION 'HR_READ_INFOTYPE' EXPORTING pernr = p3140-pernr infty = '0148' begda = low_date endda = high_date TABLES infty_tab = lt_p0148 EXCEPTIONS infty_not_found = 1 OTHERS = 2.

HR_READ_INFOTYPE CALL FUNCTION 'HR_READ_INFOTYPE' EXPORTING pernr = p3140-pernr infty = '0021' begda = low_date endda = high_date TABLES infty_tab = lt_p0021 EXCEPTIONS infty_not_found = 1 OTHERS = 2.

HR_READ_INFOTYPE CALL FUNCTION 'HR_READ_INFOTYPE' EXPORTING pernr = p3140-pernr infty = '0148' begda = low_date endda = high_date TABLES infty_tab = lt_p0148 EXCEPTIONS infty_not_found = 1 OTHERS = 2.

HR_READ_INFOTYPE CALL FUNCTION 'HR_READ_INFOTYPE' EXPORTING pernr = p3140-pernr infty = '2001' begda = lv_birthday endda = lv_birthday TABLES infty_tab = lt_p2001 EXCEPTIONS infty_not_found = 1 OTHERS = 2.

MONTH_PLUS_DETERMINE CALL FUNCTION 'MONTH_PLUS_DETERMINE' EXPORTING months = month olddate = old_date IMPORTING newdate = new_date.

F4IF_INT_TABLE_VALUE_REQUEST CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' EXPORTING retfield = gc_field_attcd value_org = 'S' TABLES value_tab = lt_attcd EXCEPTIONS parameter_error = 1 no_values_found = 2 OTHERS = 3.

F4IF_INT_TABLE_VALUE_REQUEST CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' EXPORTING retfield = gc_field_atttp value_org = 'S' TABLES value_tab = lt_atttp EXCEPTIONS parameter_error = 1 no_values_found = 2 OTHERS = 3.

F4TOOL_F4FUNCTION_BRIDGE CALL FUNCTION 'F4TOOL_F4FUNCTION_BRIDGE' EXPORTING tabname = space fieldname = space display_only = display_only no_conversion = space IMPORTING selected_index = lv_index TABLES value_tab = helptab fields_tab = ihelp_fields coltitle_tab = cotitle_tab sel_opt = mcseloption.



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