SAP Reports / Programs | Personnel Management | Personnel Management | Pension Fund Switzerland(PA-PF-CH) SAP PA

MP323040 SAP ABAP INCLUDE - documentation and ABAP source code







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

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_GET_BUSINESS_ADD_IN CALL FUNCTION 'HR_GET_BUSINESS_ADD_IN' EXPORTING exit_name = 'HRPFD02EMZQST' IMPORTING is_implemented = ls_impl_badi_emz CHANGING instance = lo_badi_emz_qst.

HR_99S_GET_PERMO CALL FUNCTION 'HR_99S_GET_PERMO' EXPORTING p_pernr = p3230-pernr p_begda = p3230-vadat p_endda = p3230-vadat IMPORTING p_return_code = lv_return_code p_tab_permo = lt_permo_tab TABLES t0001 = lt_p0001.

HR_PAYROLL_PERIODS_GET CALL FUNCTION 'HR_PAYROLL_PERIODS_GET' EXPORTING get_begda = p3230-vadat get_endda = p3230-vadat get_permo = lv_permo IMPORTING get_pabrj = lv_pabrj get_pabrp = lv_pabrp TABLES get_periods = lt_t549q EXCEPTIONS no_period_found = 1 no_valid_permo = 2 OTHERS = 3.

HR_READ_INFOTYPE CALL FUNCTION 'HR_READ_INFOTYPE' EXPORTING pernr = p3230-pernr infty = c_infotype_0015 TABLES infty_tab = lt_p0015[] EXCEPTIONS infty_not_found = 1 OTHERS = 2.

HR_PAYROLL CALL FUNCTION 'HR_PAYROLL' EXPORTING payroll_area = ls_p0001-abkrs payroll_period = lv_pabrp payroll_year = lv_pabrj selection_variant = lv_variant program_name = lv_calcname country_grp = c_molga tst_on = abap_true obj_iprel = lr_iprel TABLES employee_numbers = lt_pernr_tab EXCEPTIONS program_not_exist = 1 variant_not_exist = 2 missing_parameter = 3 wrong_parameter = 4 wrong_country_group = 5 OTHERS = 6.

RP_GET_CURRENCY CALL FUNCTION 'RP_GET_CURRENCY' EXPORTING molga = c_molga begda = p3230-vadat endda = p3230-vadat IMPORTING waers = lv_waers EXCEPTIONS molga_not_in_t001p = 1 no_entry_found_in_table_t001 = 2 no_entry_found_in_table_t500p = 3 no_entry_found_in_table_t500c = 4 OTHERS = 5.

HR_PAYROLL CALL FUNCTION 'HR_PAYROLL' EXPORTING payroll_area = ls_p0001-abkrs payroll_period = lv_pabrp payroll_year = lv_pabrj selection_variant = lv_variant program_name = lv_calcname country_grp = c_molga tst_on = abap_true obj_iprel = lr_iprel TABLES employee_numbers = lt_pernr_tab EXCEPTIONS program_not_exist = 1 variant_not_exist = 2 missing_parameter = 3 wrong_parameter = 4 wrong_country_group = 5 OTHERS = 6.

HRCA_PAYMENT_CHECK CALL FUNCTION 'HRCA_PAYMENT_CHECK' EXPORTING bank_country = us_banks bank_key = us_bankl bank_account = us_bankn bank_controlkey = us_bkont company_country = us_land payment_method = us_zlsch iban = lv_iban EXCEPTIONS error = 1 OTHERS = 2.

HR_READ_INFOTYPE CALL FUNCTION 'HR_READ_INFOTYPE' EXPORTING pernr = p3230-pernr infty = c_infotype_number begda = p3230-vadat endda = p3230-vadat TABLES infty_tab = lt_p3230 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 MP323040 or its description.