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

MP000340 SAP ABAP INCLUDE - Module Pool Infotype P0003 Form Routines for Common Part







MP000340 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 MP000340 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 MP000340. "Basic submit
SUBMIT MP000340 AND RETURN. "Return to original report after report execution complete
SUBMIT MP000340 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 Infotype P0003 Form Routines for Common Part


INCLUDES used within this REPORT MP000340

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:

READ_T52RIC CALL FUNCTION 'READ_T52RIC' EXPORTING pernr = p0003-pernr * tables * it_t52ric = EXCEPTIONS no_entries_found = 1 OTHERS = 2.

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING * i_interface_check = 'X' "test it_fieldcat = field_catalog it_sort = l_slis_t_sortinfo_alv i_screen_start_column = 1 i_screen_start_line = 1 i_screen_end_column = 90 i_screen_end_line = l_lines * IMPORTING * E_EXIT_CAUSED_BY_CALLER = * ES_EXIT_CAUSED_BY_USER = TABLES t_outtab = abkrs_tab EXCEPTIONS program_error = 1 OTHERS = 2.

PA03_PCR_READ CALL FUNCTION 'PA03_PCR_READ' EXPORTING f_abkrs = l0001-abkrs IMPORTING f_current_period = abkrs_tab-periode f_current_year = abkrs_tab-jahr f_current_begda = abkrs_tab-vws_begda f_current_endda = abkrs_tab-vws_endda f_state_text = abkrs_tab-state_text f_abkrs_text = abkrs_tab-abkrs_text f_twm_date = abkrs_tab-twm_date EXCEPTIONS OTHERS = 1.

PA03_PCR_READ CALL FUNCTION 'PA03_PCR_READ' EXPORTING f_abkrs = p0001-abkrs IMPORTING f_twm_date = twm_begda.

CD_GET_INFO CALL FUNCTION 'CD_GET_INFO' "xdop30k099251 EXPORTING "xdop30k099251 persnr = p0003-pernr "xdop30k099251 no_authority_check = 'X' "XFGN0379059 IMPORTING "xdop30k099251 payroll_until = cd_payr_unt "xdop30k099251 * highest_paydt = "xdop30k099251 EXCEPTIONS "xdop30k099251 no_record_found = 1 "xdop30k099251 OTHERS = 2. "xdop30k099251

PA03_PCR_READ CALL FUNCTION 'PA03_PCR_READ' EXPORTING f_abkrs = p0001-abkrs IMPORTING f_state = l_state f_current_endda = vws_endda.

HR_SET_MATCHCODE_W CALL FUNCTION 'HR_SET_MATCHCODE_W' EXPORTING imp_pernr = p0003-pernr.

HR_DELETE_MATCHCODE_W CALL FUNCTION 'HR_DELETE_MATCHCODE_W' EXPORTING imp_pernr = p0003-pernr.

HR_GET_MATCHCODE_W CALL FUNCTION 'HR_GET_MATCHCODE_W' EXPORTING imp_pernr = p0003-pernr IMPORTING koabr = q0003-koabr.

H99CALL_DELT52RIC CALL FUNCTION 'H99CALL_DELT52RIC' EXPORTING p_pernr = p0003-pernr p_pu03 = delete_function EXCEPTIONS not_found = 1 OTHERS = 2.

HR_GET_MATCHCODE_W CALL FUNCTION 'HR_GET_MATCHCODE_W' EXPORTING imp_pernr = p0003-pernr IMPORTING koabr = gv_initial_koabr.

HR_DELETE_MATCHCODE_W CALL FUNCTION 'HR_DELETE_MATCHCODE_W' EXPORTING imp_pernr = p0003-pernr.

HR_SET_MATCHCODE_W CALL FUNCTION 'HR_SET_MATCHCODE_W' EXPORTING imp_pernr = p0003-pernr.

CD_GET_INFO * CALL FUNCTION 'CD_GET_INFO' * EXPORTING * persnr = p0003-pernr * no_authority_check = 'X' * IMPORTING * payroll_until = cd_payr_unt * EXCEPTIONS * no_record_found = 1 * OTHERS = 2.

PA03_PCR_READ CALL FUNCTION 'PA03_PCR_READ' EXPORTING f_abkrs = p0001-abkrs IMPORTING f_state = l_state f_current_endda = vws_endda EXCEPTIONS abkrs_no_accounting = 1 pcr_does_not_exist = 2 abkrs_does_not_exist = 3 period_does_not_exist = 4 OTHERS = 5.

HR_SET_MATCHCODE_W CALL FUNCTION 'HR_SET_MATCHCODE_W' EXPORTING imp_pernr = p0003-pernr.

HR_DELETE_MATCHCODE_W CALL FUNCTION 'HR_DELETE_MATCHCODE_W' EXPORTING imp_pernr = p0003-pernr.

HR_DELETE_MATCHCODE_W CALL FUNCTION 'HR_DELETE_MATCHCODE_W' EXPORTING imp_pernr = p0003-pernr.

HR_SET_MATCHCODE_W





CALL FUNCTION 'HR_SET_MATCHCODE_W' EXPORTING imp_pernr = p0003-pernr.

PA03_PCR_READ CALL FUNCTION 'PA03_PCR_READ' EXPORTING f_abkrs = p0001-abkrs IMPORTING f_state = lv_state f_current_begda = lv_vws_begda EXCEPTIONS abkrs_no_accounting = 1 pcr_does_not_exist = 2 abkrs_does_not_exist = 3 period_does_not_exist = 4 OTHERS = 5.

HR_GET_MATCHCODE_W CALL FUNCTION 'HR_GET_MATCHCODE_W' EXPORTING imp_pernr = pv_pernr IMPORTING koabr = sv_koabr.

HR_SET_MATCHCODE_W CALL FUNCTION 'HR_SET_MATCHCODE_W' EXPORTING imp_pernr = pv_pernr.

HR_DELETE_MATCHCODE_W CALL FUNCTION 'HR_DELETE_MATCHCODE_W' EXPORTING imp_pernr = pv_pernr.

HR_SET_MATCHCODE_W CALL FUNCTION 'HR_SET_MATCHCODE_W' EXPORTING imp_pernr = pv_pernr.



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