SAP Reports / Programs | Payroll(PY) SAP PY

MP064040 SAP ABAP INCLUDE - documentation and ABAP source code







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

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_HU_DATE_INTERVAL_SUMMA CALL FUNCTION 'HR_HU_DATE_INTERVAL_SUMMA' EXPORTING pernr = p0639-pernr IMPORTING to_ev = q0639-to_ev to_ho = q0639-to_ho tonap = q0639-tonap EXCEPTIONS negativ = 1 OTHERS = 2.

HR_HU_UTOLSO_BELEPES CALL FUNCTION 'HR_HU_UTOLSO_BELEPES' EXPORTING per_nr = p0639-pernr ref_date = p0639-begda IMPORTING last_hire = q0639-kinev EXCEPTIONS not_found = 1 t5h4e_error = 2 p0041_begda = 3 p0041_future = 4 p0041_sequence = 5 OTHERS = 6.

HR_HU_DATE_INTERVAL_SUM_SUBTY * CALL FUNCTION 'HR_HU_DATE_INTERVAL_SUM_SUBTY' * EXPORTING * pernr = p0639-pernr * subty = 'JTAR' * IMPORTING * to_ev = q0639-to_ev_jtar * to_ho = q0639-to_ho_jtar * tonap = q0639-tonap_jtar * tj_ev = q0639-tj_ev_jtar * tj_ho = q0639-tj_ho_jtar * tjnap = q0639-tjnap_jtar * tv_ev = q0639-tv_ev_jtar * tv_ho = q0639-tv_ho_jtar * tvnap = q0639-tvnap_jtar.

HR_HU_DATE_PLUS_INTERVAL * CALL FUNCTION 'HR_HU_DATE_PLUS_INTERVAL' * EXPORTING * add_ev = q0639-to_ev_jtar * add_ho = q0639-to_ho_jtar * addnap = q0639-tonap_jtar * CHANGING * datum = q0639-jkezd.

HR_HU_PS_KT_KSZ_KEZDETE CALL FUNCTION 'HR_HU_PS_KT_KSZ_KEZDETE' EXPORTING pernr = p0639-pernr kinev = q0639-kinev * REFDA = SY-DATUM IMPORTING jkezd = q0639-jkezd * JKEZJ = * JKEZV = EXCEPTIONS missing_kinev = 1 OTHERS = 2 .

HELP_VALUES_GET_WITH_TABLE CALL FUNCTION 'HELP_VALUES_GET_WITH_TABLE' EXPORTING fieldname = 'BESFK' tabname = 'T5HPBS41' IMPORTING select_value = p0640-besfk TABLES fields = i_help_value valuetab = i_valuetab EXCEPTIONS field_not_in_ddic = 01 more_then_one_selectfield = 02 no_selectfield = 03.

HELP_VALUES_GET_WITH_TABLE CALL FUNCTION 'HELP_VALUES_GET_WITH_TABLE' EXPORTING fieldname = 'BESKK' tabname = 'T5HPBS25' IMPORTING select_value = p0640-beskk TABLES fields = i_help_value valuetab = i_valuetab EXCEPTIONS field_not_in_ddic = 01 more_then_one_selectfield = 02 no_selectfield = 03.



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