SAP Reports / Programs | Personnel Management | Personnel Administration | Kingdom of Saudi Arabia(PA-PA-SA) SAP PA

MP331240 SAP ABAP INCLUDE - documentation and ABAP source code







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

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_READ_INFOTYPE CALL FUNCTION 'HR_READ_INFOTYPE' EXPORTING pernr = p3312-pernr infty = '3312' begda = '18000101' endda = '99991231' bypass_buffer = 'X' TABLES infty_tab = lt_p3312 EXCEPTIONS infty_not_found = 1 OTHERS = 2.

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING text_question = text-005 icon_button_1 = text-014 icon_button_2 = text-015 default_button = '2' display_cancel_button = '' start_column = 25 start_row = 6 IMPORTING answer = lv_confirm_answer EXCEPTIONS text_not_found = 1 OTHERS = 2.

HR_READ_INFOTYPE CALL FUNCTION 'HR_READ_INFOTYPE' EXPORTING pernr = p3312-pernr infty = '0001' begda = p3312-begda endda = p3312-endda TABLES infty_tab = lt_p0001 EXCEPTIONS infty_not_found = 1 OTHERS = 2.

HR_READ_INFOTYPE CALL FUNCTION 'HR_READ_INFOTYPE' EXPORTING pernr = p3312-pernr infty = '0002' begda = p3312-begda endda = p3312-endda TABLES infty_tab = lt_p0002 EXCEPTIONS infty_not_found = 1 OTHERS = 2.

HR_READ_INFOTYPE CALL FUNCTION 'HR_READ_INFOTYPE' EXPORTING pernr = p3312-pernr infty = '0006' begda = p3312-begda endda = p3312-endda TABLES infty_tab = lt_p0006 EXCEPTIONS infty_not_found = 1 OTHERS = 2.

HR_READ_INFOTYPE CALL FUNCTION 'HR_READ_INFOTYPE' EXPORTING pernr = p3312-pernr infty = '0185' begda = p3312-begda endda = p3312-endda TABLES infty_tab = lt_p0185 EXCEPTIONS infty_not_found = 1 OTHERS = 2.

HR_READ_INFOTYPE CALL FUNCTION 'HR_READ_INFOTYPE' EXPORTING pernr = p3312-pernr infty = '3252' begda = p3312-begda endda = p3312-endda TABLES infty_tab = lt_p3252 EXCEPTIONS infty_not_found = 1 OTHERS = 2.

HR_READ_INFOTYPE CALL FUNCTION 'HR_READ_INFOTYPE' EXPORTING pernr = p3312-pernr infty = '3258' begda = p3312-begda endda = p3312-endda TABLES infty_tab = lt_p3258 EXCEPTIONS infty_not_found = 1 OTHERS = 2.

H99B_OPEN_LFORM_JOB CALL FUNCTION 'H99B_OPEN_LFORM_JOB' EXPORTING i_molga = hr99b_form_sel-molga i_fogroup = hr99b_form_sel-fogroup i_folname = hr99b_form_sel-folname options = l_options EXCEPTIONS OTHERS = 99.

H99B_OUTPUT_LFORM CALL FUNCTION 'H99B_OUTPUT_LFORM' EXPORTING i_molga = lc_molga i_fogroup = hr99b_form_sel-fogroup i_folname = hr99b_form_sel-folname i_fovariant = hr99b_form_sel-fovariant i_data_struc = ls_pdf_data EXCEPTIONS OTHERS = 99.

H99B_CLOSE_LFORM_JOB CALL FUNCTION 'H99B_CLOSE_LFORM_JOB' EXCEPTIONS OTHERS = 99.

HR_READ_INFOTYPE CALL FUNCTION 'HR_READ_INFOTYPE' EXPORTING pernr = p3312-pernr infty = '0002' begda = p3312-begda endda = p3312-endda TABLES infty_tab = lt_p0002 EXCEPTIONS infty_not_found = 1 OTHERS = 2.

DYNP_VALUES_READ CALL FUNCTION 'DYNP_VALUES_READ' EXPORTING dyname = dyname dynumb = dynum TABLES dynpfields = dynpfields EXCEPTIONS invalid_abapworkarea = 1 invalid_dynprofield = 2 invalid_dynproname = 3 invalid_dynpronummer = 4 invalid_request = 5 no_fielddescription = 6 invalid_parameter = 7 undefind_error = 8 double_conversion = 9 stepl_not_found = 10 OTHERS = 11.

F4IF_INT_TABLE_VALUE_REQUEST CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' EXPORTING retfield = 'CMPID' pvalkey = 'CMPID' dynpprog = 'MP331200' dynpnr = sy-dynnr dynprofield = lv_dynprofield value_org = 'S' TABLES value_tab = lt_cmpid return_tab = returnvalue EXCEPTIONS parameter_error = 1 no_values_found = 2 OTHERS = 3.

HR_READ_INFOTYPE CALL FUNCTION 'HR_READ_INFOTYPE' EXPORTING tclas = 'A' pernr = p3312-pernr infty = '0001' begda = p3312-begda endda = p3312-endda * BYPASS_BUFFER = ' ' * LEGACY_MODE = ' ' * IMPORTING * SUBRC = TABLES infty_tab = lt_p0001 * EXCEPTIONS * INFTY_NOT_FOUND = 1 * OTHERS = 2 .



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