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

MP16AF01 SAP ABAP INCLUDE - Include MP16AF01







MP16AF01 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 MP16AF01 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 MP16AF01. "Basic submit
SUBMIT MP16AF01 AND RETURN. "Return to original report after report execution complete
SUBMIT MP16AF01 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: Include MP16AF01


INCLUDES used within this REPORT MP16AF01

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_SPA_GET_ELIGIBLE_SC call function 'HR_SPA_GET_ELIGIBLE_SC' exporting pernr = spack_screen-pernr eff_date = spack_screen-effda emp_info = spa_emp_info tables elig_tab = info_tab exceptions no_sal_comp = 1 others = 2.

HR_SPA_GET_OLDIPREL call function 'HR_SPA_GET_OLDIPREL' exporting pernr = spack_screen-pernr date = spack_screen-effda tables elig_tab = info_tab old_iprel = old_iprel exceptions infty_access = 1 others = 2.

HR_SPA_BUILD_PACKAGE call function 'HR_SPA_BUILD_PACKAGE' exporting pernr = spack_screen-pernr eff_date = spack_screen-effda tables elig_tab = info_tab salpack_tab = package_tab old_iprel = old_iprel.

HR_SPA_CALCULATE_PACKAGE call function 'HR_SPA_CALCULATE_PACKAGE' exporting pernr = spack_screen-pernr date = spack_screen-effda emp_info = spa_emp_info pfreq = pay_frequ tables salpack_tab = package_tab inform_tab = info_tab.

HR_SPA_DISPLAY_PACKAGE call function 'HR_SPA_DISPLAY_PACKAGE' exporting pay_frequ = pay_frequ emp_info = spa_emp_info tables salpack_tab = package_tab disp_tab = disp_tab information_tab = info_tab.

HR_SPA_CONVERT_FROM_SCREEN call function 'HR_SPA_CONVERT_FROM_SCREEN' exporting pay_frequ = pay_frequ molga = molga * CATEGORY = ' ' * PERCENTAGE = ' ' amount = 'X' * ALL = ' ' disp_tab = disp_tab emp_info = spa_emp_info importing spack_tab = package_tab tables information_tab = info_tab exceptions conversion_failed = 1 others = 2.

HR_SPA_CALC_REMAINDER call function 'HR_SPA_CALC_REMAINDER' exporting pay_frequ = pay_frequ molga = molga emp_info = spa_emp_info importing remainder_changed = calc_base_changed tables salpack_tab = package_tab information_tab = info_tab disp_tab = disp_tab exceptions total_package_fault = 1 calculation_fault = 2 others = 3.

HR_SPA_CALC_TOTALCOST call function 'HR_SPA_CALC_TOTALCOST' tables disp_tab = disp_tab information_tab = info_tab.

HR_SPA_GET_CHANGED_SC call function 'HR_SPA_GET_CHANGED_SC' exporting pernr = spack_screen-pernr date = spack_screen-effda tables salpack_tab = package_comp_tab changed_sc = changed_salcomp changed_it = changed_infotypes initial_values = initial_tab old_iprel = old_iprel.

HR_SPA_UPDATE_INFOTYPES * call function 'HR_SPA_UPDATE_INFOTYPES' * exporting * pernr = spack_screen-pernr * date = spack_screen-effda * molga = molga * currc = currency * simulation = 'X' * type = 'P' "payroll simulation * tables * changed_sc = changed_salcomp * changed_it = changed_infotypes * old_iprel = old_iprel * information_tab = info_tab * salpack_tab = package_comp_tab * exceptions * update_failed = 1 * others = 2.

HR_SPA_INFOTYPE_UPDATE call function 'HR_SPA_INFOTYPE_UPDATE' exporting pernr = spack_screen-pernr date = spack_screen-effda molga = molga currc = currency simulation = 'X' tables changed_it = changed_infotypes changed_sc = changed_salcomp old_iprel = old_iprel information_tab = info_tab salpack_tab = package_comp_tab exceptions update_failed = 1 others = 2.

HR_SPA_CREATE_IT_STRUCTURES call function 'HR_SPA_CREATE_IT_STRUCTURES' exporting pernr = spack_screen-pernr date = spack_screen-effda molga = molga currc = currency tables changed_it = changed_infotypes changed_sc = changed_salcomp old_iprel = old_iprel information_tab = info_tab salpack_tab = package_comp_tab changing obj_iprel = new_iprel.

HR_SPA_PROCESS_SIMULATION call function 'HR_SPA_PROCESS_SIMULATION' exporting pernr = spack_screen-pernr date = spack_screen-effda molga = molga obj_iprel = new_iprel tables formi = payslip exceptions simulation_failed = 1 payslip_error = 2 others = 3.

HR_SPA_PRINT_PAYSLIP call function 'HR_SPA_PRINT_PAYSLIP' tables payslip = payslip.

HR_SPA_GET_CHANGED_SC call function 'HR_SPA_GET_CHANGED_SC' exporting pernr = spack_screen-pernr date = spack_screen-effda tables salpack_tab = package_comp_tab changed_sc = accept_tab changed_it = infty_tab initial_values = initial_tab old_iprel = old_iprel.

POPUP_TO_CONFIRM_WITH_MESSAGE call function 'POPUP_TO_CONFIRM_WITH_MESSAGE' exporting defaultoption = 'N' diagnosetext1 = text-ts1 diagnosetext2 = diagnosis_text2 * DIAGNOSETEXT3 = ' ' textline1 = text-ts4 textline2 = text-ts2 titel = text-ts3 start_column = 25 start_row = 6 * CANCEL_DISPLAY = 'X' importing answer = answer.

HR_SPA_UPDATE_INFOTYPES call function 'HR_SPA_UPDATE_INFOTYPES' exporting pernr = spack_screen-pernr date = spack_screen-effda molga = molga currc = currency simulation = 'X' type = 'U' tables changed_sc = accept_tab changed_it = infty_tab old_iprel = old_iprel information_tab = info_tab salpack_tab = package_comp_tab exceptions update_failed = 1 others = 2.

HR_SPA_UPDATE_INFOTYPES call function 'HR_SPA_UPDATE_INFOTYPES' exporting pernr = spack_screen-pernr date = spack_screen-effda molga = molga currc = currency simulation = ' ' type = 'U' tables changed_sc = accept_tab changed_it = infty_tab old_iprel = old_iprel information_tab = info_tab salpack_tab = package_comp_tab.

FUNCTION_EXISTS





call function 'FUNCTION_EXISTS' exporting funcname = function_module exceptions function_not_exist = 1 others = 2.

HR_SPA_CONVERT_TO_SCREEN call function 'HR_SPA_CONVERT_TO_SCREEN' exporting pay_frequ = pay_frequ molga = molga amount = 'X' * ALL = ' ' spack_tab = package_tab emp_info = spa_emp_info importing disp_tab = disp_tab tables information_tab = info_tab exceptions conversion_failed = 1 others = 2.

FUNCTION_EXISTS call function 'FUNCTION_EXISTS' exporting funcname = function_module exceptions function_not_exist = 1 others = 2.

HR_SPA_CONVERT_FROM_SCREEN call function 'HR_SPA_CONVERT_FROM_SCREEN' exporting pay_frequ = pay_frequ molga = molga category = 'X' percentage = 'X' amount = 'X' * ALL = ' ' disp_tab = disp_tab emp_info = spa_emp_info importing spack_tab = package_tab tables information_tab = info_tab exceptions conversion_failed = 1 others = 2.

HRCM_COMPENSATION_PLVAR_SET call function 'HRCM_COMPENSATION_PLVAR_SET' exporting read_level = 1 read_cascade = 'X' read_only = ' ' * message_mode = 0 * reaction = importing plvar = spa_plvar * PLVAR_LEVEL = * TABLES * ERROR_TABLE = exceptions no_valid_plvar_found = 1 others = 2.

HRCM_EMPLOYEE_INFO_GET call function 'HRCM_EMPLOYEE_INFO_GET' exporting emp_pernr = spack_screen-pernr * EMP_ELOCK = ' ' plvar = spa_plvar begda = spack_screen-effda * ENDDA = * CAREA = ' ' reaction = 'W' * TABLES * ERROR_TABLE = changing emp_info = spa_emp_info.

HRZA_GET_PAYROLL_FREQUENCY call function 'HRZA_GET_PAYROLL_FREQUENCY' exporting begin = spack_screen-effda end = spack_screen-effda * ABKRS = pern = spack_screen-pernr importing payroll_freq = pay_frequ exceptions not_found = 1 others = 2.

HR_SPA_CONVERT_FROM_SCREEN call function 'HR_SPA_CONVERT_FROM_SCREEN' exporting pay_frequ = pay_frequ molga = molga * CATEGORY = ' ' percentage = 'X' * AMOUNT = ' ' * ALL = ' ' disp_tab = disp_tab emp_info = spa_emp_info importing spack_tab = package_tab tables information_tab = info_tab exceptions conversion_failed = 1 others = 2.

HR_SPA_CALC_CAR_TAX call function 'HR_SPA_CALC_CAR_TAX' exporting pernr = spack_screen-pernr date = spack_screen-effda caral = spack_screen-caral carvl = spack_screen-carvl buskm = spack_screen-buskm totkm = spack_screen-totkm importing bsexp = spack_screen-bsexp taxye = spack_screen-taxye exceptions no_data_t5w7f = 1 others = 2.

HR_SPA_F4HELP_SALCOMP call function 'HR_SPA_F4HELP_SALCOMP' exporting pay_frequ = pay_frequ molga = molga emp_info = spa_emp_info importing ret_code = ret_code tables information_tab = info_tab salpack_tab = package_tab disp_tab = disp_tab.

FUNCTION_EXISTS call function 'FUNCTION_EXISTS' exporting funcname = function_module exceptions function_not_exist = 1 others = 2.

HR_SPA_STANDARD_INPUT_CHECK call function 'HR_SPA_STANDARD_INPUT_CHECK' exporting scomp = disp_tab-scomp amount = disp_tab-neamt percent = disp_tab-nepct category = disp_tab-necat tables information_tab = info_tab disp_tab = l_disp_tab exceptions not_allowed_range = 1 company_car_error = 2 others = 3.

HR_SPA_DATE_CHECK call function 'HR_SPA_DATE_CHECK' exporting pernr = spack_screen-pernr date = spack_screen-effda.



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