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

MP323540 SAP ABAP INCLUDE - documentation and ABAP source code







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

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_SUBTYPE CALL FUNCTION 'HR_READ_SUBTYPE' EXPORTING pernr = p3235-pernr infty = '0021' subty = p3235-fambe TABLES infty_tab = lt_0021 EXCEPTIONS * infty_not_found = 1 * invalid_input = 2 OTHERS = 99.

RP_SET_NAME_FORMAT CALL FUNCTION 'RP_SET_NAME_FORMAT' EXPORTING repid = sy-repid IMPORTING format = lv_format.

RP_EDIT_NAME CALL FUNCTION 'RP_EDIT_NAME' EXPORTING pp0021 = molga = '39' langu = sy-langu format = lv_format namel = 30 IMPORTING edit_name = ls_objps_sel-name retcode = lv_subrc EXCEPTIONS OTHERS = 0.

F4IF_INT_TABLE_VALUE_REQUEST CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' EXPORTING retfield = 'OBJPS' dynpprog = sy-repid dynpnr = sy-dynnr value_org = 'S' window_title = text-s01 TABLES value_tab = lt_objps_sel return_tab = lt_return dynpfld_mapping = lt_dselc EXCEPTIONS PARAMETER_ERROR = 1 NO_VALUES_FOUND = 2 OTHERS = 3.

HR_READ_SUBTYPE CALL FUNCTION 'HR_READ_SUBTYPE' EXPORTING pernr = p3235-pernr infty = '0021' subty = p_subty TABLES infty_tab = lt_0021 EXCEPTIONS infty_not_found = 1 invalid_input = 2 OTHERS = 3.

RP_SET_NAME_FORMAT CALL FUNCTION 'RP_SET_NAME_FORMAT' EXPORTING repid = sy-repid IMPORTING format = lv_format.

RP_EDIT_NAME CALL FUNCTION 'RP_EDIT_NAME' EXPORTING pp0021 = molga = '39' langu = sy-langu format = lv_format namel = 30 IMPORTING edit_name = p_name retcode = lv_subrc EXCEPTIONS OTHERS = 0.

HRCA_PAYMENT_CHECK CALL FUNCTION 'HRCA_PAYMENT_CHECK' EXPORTING bank_country = l_bank_info-banks bank_key = l_bank_info-bankl bank_account = l_bank_info-bankn bank_controlkey = l_bank_info-bkont company_country = psyst-land payment_method = l_bank_info-zlsch IMPORTING bank_detail = bnka_bf payment_method_detail = t042z_bf payment_method_text = t042z_l_bf-text1 EXCEPTIONS error = 1 OTHERS = 99.

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING titlebar = text-s03 text_question = text-s04 text_button_1 = text-s05 text_button_2 = text-s06 display_cancel_button = ' ' IMPORTING answer = lv_answer EXCEPTIONS text_not_found = 1 OTHERS = 2.

HR_READ_INFOTYPE CALL FUNCTION 'HR_READ_INFOTYPE' EXPORTING pernr = p3235-pernr infty = '0021' TABLES infty_tab = lt_0021_temp EXCEPTIONS infty_not_found = 1 OTHERS = 2.

F4IF_INT_TABLE_VALUE_REQUEST CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' EXPORTING retfield = 'FAMSA' dynpprog = sy-repid dynpnr = sy-dynnr value_org = 'S' window_title = text-s02 TABLES value_tab = lt_list_famre return_tab = lt_return EXCEPTIONS PARAMETER_ERROR = 1 NO_VALUES_FOUND = 2 OTHERS = 3.

HR_READ_SUBTYPE CALL FUNCTION 'HR_READ_SUBTYPE' EXPORTING pernr = p3235-pernr infty = '0021' subty = p3235-famre TABLES infty_tab = lt_0021 EXCEPTIONS * infty_not_found = 1 * invalid_input = 2 OTHERS = 99.

RP_SET_NAME_FORMAT CALL FUNCTION 'RP_SET_NAME_FORMAT' EXPORTING repid = sy-repid IMPORTING format = lv_format.

RP_EDIT_NAME CALL FUNCTION 'RP_EDIT_NAME' EXPORTING pp0021 = molga = '39' langu = sy-langu format = lv_format namel = 30 IMPORTING edit_name = ls_objre_sel-name retcode = lv_subrc EXCEPTIONS OTHERS = 0.

F4IF_INT_TABLE_VALUE_REQUEST CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' EXPORTING retfield = 'OBJPS' dynpprog = sy-repid dynpnr = sy-dynnr value_org = 'S' window_title = text-s01 TABLES value_tab = lt_objre_sel return_tab = lt_return dynpfld_mapping = lt_dselc EXCEPTIONS PARAMETER_ERROR = 1 NO_VALUES_FOUND = 2 OTHERS = 3.

HR_READ_INFOTYPE CALL FUNCTION 'HR_READ_INFOTYPE' EXPORTING pernr = p3235-pernr infty = lc_infty_0001 begda = p3235-begda TABLES infty_tab = lt_0001 EXCEPTIONS infty_not_found = 1 OTHERS = 2.

HR_ENTRY_DATE CALL FUNCTION 'HR_ENTRY_DATE' EXPORTING persnr = p3235-pernr begda = p3235-begda endda = p3235-endda TABLES entry_dates = lt_hida EXCEPTIONS entry_date_not_found = 1 pernr_not_assigned = 2 OTHERS = 3.

SCROLLING_IN_TABLE CALL FUNCTION 'SCROLLING_IN_TABLE' EXPORTING ENTRY_ACT = -TOP_LINE ENTRY_FROM = 1 ENTRY_TO = -LINES LAST_PAGE_FULL = 'X' LOOPS = OK_CODE = P_OK OVERLAPPING = 'X' IMPORTING ENTRY_NEW = L_TC_NEW_TOP_LINE EXCEPTIONS * NO_ENTRY_OR_PAGE_ACT = 01 * NO_ENTRY_TO = 02 * NO_OK_CODE_OR_PAGE_GO = 03 OTHERS = 0.

HR_READ_INFOTYPE





CALL FUNCTION 'HR_READ_INFOTYPE' EXPORTING pernr = ps_p3235-pernr infty = lc_infty_3235 begda = ls_t549q-begda endda = ls_t549q-endda TABLES infty_tab = lt_p3235 EXCEPTIONS OTHERS = 0.



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