SAP Reports / Programs | Payroll | Non Profit Organizations(PY-NPO) SAP PY

MP096240 SAP ABAP INCLUDE - erweiterte Tabellenpflege untere Ebene







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

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_PAYROLL_PUSHBUTTON_DISPLAY CALL FUNCTION 'HR_PAYROLL_PUSHBUTTON_DISPLAY' EXPORTING PERSONNEL_AREA = PSYST-WERKS PERSONNEL_SUBAREA = PSYST-BTRTL EMPLOYEE_GROUP = PSYST-PERSG EMPLOYEE_SUBGROUP = PSYST-PERSK PAYROLL_AREA = PSYST-ABKRS SIMULATION_CODE = 'IT' IMPORTING PUSHBUTTON_SWITCH = DP_SWITCH EXCEPTIONS FEATURE_ERROR = 1 OTHERS = 2 .

HR_PAYROLL_TEST_PAYSLIP_SHOW CALL FUNCTION 'HR_PAYROLL_TEST_PAYSLIP_SHOW' EXPORTING employee_number = pspar-pernr country_grouping = t001p-molga payroll_area = psyst-abkrs start_date = -begda end_date = -endda employee_group = psyst-persg employee_subgroup = psyst-persk personnel_area = psyst-werks personnel_subarea = psyst-btrtl EXCEPTIONS missing_parameter = 1 payroll_period_not_found = 2 feature_pm004_error = 3 calc_not_found = 4 program_not_exist = 5 variant_not_exist = 6 payroll_error = 7 init_form_error = 8 create_form_error = 9 OTHERS = 10.

RP_01C_TIME_COMPUTE * CALL FUNCTION 'RP_01C_TIME_COMPUTE' * TABLES * T09_IVAL = ITAB_IVAL * EXCEPTIONS * NO_INPUT = 1 * DATE_INITIAL = 2 * BEGDA_GT_ENDDA = 3 * HIGH_END = 4 * OTHERS = 5.

HR_UN_TIME_COMPUTE CALL FUNCTION 'HR_UN_TIME_COMPUTE' TABLES T09_IVAL = ITAB_IVAL EXCEPTIONS NO_INPUT = 1 DATE_INITIAL = 2 BEGDA_GT_ENDDA = 3 HIGH_END = 4 OTHERS = 5 .

RP_01C_TIME_COMPUTE * CALL FUNCTION 'RP_01C_TIME_COMPUTE' * TABLES * T09_IVAL = ITAB_IVAL * EXCEPTIONS * NO_INPUT = 1 * DATE_INITIAL = 2 * BEGDA_GT_ENDDA = 3 * HIGH_END = 4 * OTHERS = 5.

HR_UN_TIME_COMPUTE CALL FUNCTION 'HR_UN_TIME_COMPUTE' TABLES T09_IVAL = ITAB_IVAL EXCEPTIONS NO_INPUT = 1 DATE_INITIAL = 2 BEGDA_GT_ENDDA = 3 HIGH_END = 4 OTHERS = 5.

HR_UN_CALC_DATE CALL FUNCTION 'HR_UN_CALC_DATE' EXPORTING I_START_DATE = P0962-begda I_TERM = c_oneyear I_PERIODUNIT = c_years IMPORTING E_END_DATE = g_sel_date.

HR_99S_DATE_PLUS_TIME_UNIT CALL FUNCTION 'HR_99S_DATE_PLUS_TIME_UNIT' EXPORTING i_idate = p0962-rsadt i_time = lv_years i_timeunit = 'Y' IMPORTING o_idate = q0962-rsexd EXCEPTIONS invalid_period = 1 invalid_round_up_rule = 2 internal_error = 3 others = 4 .

DAYS_BETWEEN_TWO_DATES CALL FUNCTION 'DAYS_BETWEEN_TWO_DATES' EXPORTING i_datum_bis = ls_lwop2-endda i_datum_von = ls_lwop2-begda i_kz_incl_bis = '1' i_szbmeth = space IMPORTING e_tage = ls_lwop2-kaltg EXCEPTIONS days_method_not_defined = 1 OTHERS = 2.

DAYS_BETWEEN_TWO_DATES CALL FUNCTION 'DAYS_BETWEEN_TWO_DATES' EXPORTING i_datum_bis = ls_lwop2-endda i_datum_von = ls_lwop2-begda i_kz_incl_bis = '1' i_szbmeth = space IMPORTING e_tage = ls_lwop2-kaltg EXCEPTIONS days_method_not_defined = 1 OTHERS = 2.

VRM_SET_VALUES CALL FUNCTION 'VRM_SET_VALUES' EXPORTING ID = lv_vrm_id VALUES = lt_vrm_values EXCEPTIONS ID_ILLEGAL_NAME = 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 MP096240 or its description.