SAP Reports / Programs | Payroll | Austria | Public Sector(PY-AT-PS) SAP PY

MP097940 SAP ABAP INCLUDE - documentation and ABAP source code







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

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 = p0979-pernr infty = '0978' TABLES infty_tab = gt_it0978_data.

LVC_FIELDCATALOG_MERGE CALL FUNCTION 'LVC_FIELDCATALOG_MERGE' EXPORTING i_structure_name = 'P03BASES' CHANGING ct_fieldcat = pt_fieldcat[] EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.

HRAT_CALCULATE_PENSION CALL FUNCTION 'HRAT_CALCULATE_PENSION' EXPORTING iv_pernr = p0979-pernr iv_run = c_prod_run iv_revmo = p0979-revmo iv_retre = p0979-retr1 iv_retda = p0979-retd1 IMPORTING es_pen_data = ls_pen_data EXCEPTIONS calculation_error = 1 OTHERS = 2.

HRAT_CALCULATE_PENSION CALL FUNCTION 'HRAT_CALCULATE_PENSION' EXPORTING iv_pernr = p0979-pernr iv_run = c_simulation iv_revmo = p0979-revmo iv_retre = p0979-retr1 iv_retda = p0979-retd1 IMPORTING es_pen_data = ls_pen_data es_ngw = ls_ngw TABLES et_rev_con_ba = lt_recon EXCEPTIONS calculation_error = 1 OTHERS = 2.

HRAT_CREATE_CALCULATION_LOG CALL FUNCTION 'HRAT_CREATE_CALCULATION_LOG' EXPORTING iv_run = c_simulation it_log_content = lt_log_content it_params = lt_params.

ENQUEUE_EPPRELE CALL FUNCTION 'ENQUEUE_EPPRELE' EXPORTING pernr = p0979-pernr infty = c_it0978 EXCEPTIONS foreign_lock = 1 system_failure = 2 OTHERS = 3.

HR_INFOTYPE_OPERATION CALL FUNCTION 'HR_INFOTYPE_OPERATION' EXPORTING infty = -infty number = -pernr subtype = -subty objectid = -objps lockindicator = -sprps validityend = -endda validitybegin = -begda recordnumber = -seqnr record = operation = -iop IMPORTING return = lv_ret.

HR_INFOTYPE_OPERATION CALL FUNCTION 'HR_INFOTYPE_OPERATION' EXPORTING infty = -infty number = -pernr subtype = -subty objectid = -objps record = operation = -iop IMPORTING return = lv_ret.

DEQUEUE_EPPRELE CALL FUNCTION 'DEQUEUE_EPPRELE' EXPORTING pernr = p0979-pernr infty = c_it0978.

RP_HIRE_FIRE CALL FUNCTION 'RP_HIRE_FIRE' IMPORTING fire_date = lv_fire_date TABLES pphifi = lt_phifi pp0000 = lt_p0000 pp0001 = lt_p0001.

HR_PAL_LOG_REFRESH CALL FUNCTION 'HR_PAL_LOG_REFRESH'.

HR_READ_INFOTYPE CALL FUNCTION 'HR_READ_INFOTYPE' EXPORTING pernr = p0979-pernr infty = c_it0001 TABLES infty_tab = i0001[] EXCEPTIONS infty_not_found = 1 OTHERS = 2.

HRAT_CREATE_CALCULATION_LOG CALL FUNCTION 'HRAT_CREATE_CALCULATION_LOG' EXPORTING iv_run = c_display it_log_content = lt_log_content it_params = lt_params.

HR_READ_INFOTYPE CALL FUNCTION 'HR_READ_INFOTYPE' EXPORTING pernr = p0979-pernr infty = c_it0978 TABLES infty_tab = lt_i0978 EXCEPTIONS infty_not_found = 1 OTHERS = 2.

HR_READ_INFOTYPE CALL FUNCTION 'HR_READ_INFOTYPE' EXPORTING pernr = p0979-pernr infty = c_it0001 TABLES infty_tab = lt_i0001 EXCEPTIONS infty_not_found = 1 OTHERS = 2.

HR_FEATURE_BACKFIELD CALL FUNCTION 'HR_FEATURE_BACKFIELD' EXPORTING feature = 'CIVSG' struc_content = ls_pmep9 IMPORTING back = lv_csgrp EXCEPTIONS dummy = 1 error_operation = 2 no_backvalue = 3 feature_not_generated = 4 invalid_sign_in_funid = 5 field_in_report_tab_in_pe03 = 6 OTHERS = 7.



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