SAP Reports / Programs | Personnel Management | Personnel Administration | Spain(PA-PA-ES) SAP PA

MP079940 SAP ABAP INCLUDE - documentation and ABAP source code







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

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_E_GET_CONTRACT_DURATION CALL FUNCTION 'HR_E_GET_CONTRACT_DURATION' EXPORTING P_PERNR = P0799-PERNR P_DATE = P0799-BEGDA IMPORTING * P_UNLIMITED = P_BEGDA = P0799-FEINI * P_ENDDA = * P_LESS_ONE_YEAR = * TABLES * T0000 = * T0016 = * T0061 = EXCEPTIONS ERROR = 1 OTHERS = 2 .

HR_E_GET_CONTRACT_DURATION CALL FUNCTION 'HR_E_GET_CONTRACT_DURATION' EXPORTING P_PERNR = P0799-PERNR P_DATE = P0799-BEGDA IMPORTING * P_UNLIMITED = P_BEGDA = P0799-FEINI * P_ENDDA = * P_LESS_ONE_YEAR = TABLES * T0000 = * T0016 = T0061 = P0061 EXCEPTIONS ERROR = 1 OTHERS = 2 .

HR_READ_INFOTYPE CALL FUNCTION 'HR_READ_INFOTYPE' EXPORTING * TCLAS = 'A' pernr = p_pernr infty = '0001' begda = p_begda endda = p_endda * BYPASS_BUFFER = ' ' * LEGACY_MODE = ' ' * IMPORTING * SUBRC = TABLES infty_tab = p0001 EXCEPTIONS INFTY_NOT_FOUND = 1 OTHERS = 2 .

HR_READ_INFOTYPE CALL FUNCTION 'HR_READ_INFOTYPE' EXPORTING * TCLAS = 'A' pernr = p_pernr infty = '0002' begda = p_begda endda = p_endda * BYPASS_BUFFER = ' ' * LEGACY_MODE = ' ' * IMPORTING * SUBRC = TABLES infty_tab = p0002 EXCEPTIONS INFTY_NOT_FOUND = 1 OTHERS = 2 .

HR_READ_INFOTYPE CALL FUNCTION 'HR_READ_INFOTYPE' EXPORTING * TCLAS = 'A' pernr = p_pernr infty = '0061' begda = p_begda endda = p_endda * BYPASS_BUFFER = ' ' * LEGACY_MODE = ' ' * IMPORTING * SUBRC = TABLES infty_tab = p0061 EXCEPTIONS INFTY_NOT_FOUND = 1 OTHERS = 2 .

HR_E_GET_SV_TICON CALL FUNCTION 'HR_E_GET_SV_TICON' EXPORTING p_ticon = p_ticon p_pesoc = p_pesoc p_metod = p_metod IMPORTING p_idseg = WA_TICON.

HR_READ_INFOTYPE CALL FUNCTION 'HR_READ_INFOTYPE' EXPORTING * TCLAS = 'A' pernr = p_pernr infty = '0799' begda = p_begda endda = p_begda * BYPASS_BUFFER = ' ' * LEGACY_MODE = ' ' * IMPORTING * SUBRC = TABLES infty_tab = P_P0799 EXCEPTIONS INFTY_NOT_FOUND = 1 OTHERS = 2.

HR_READ_INFOTYPE CALL FUNCTION 'HR_READ_INFOTYPE' EXPORTING * TCLAS = 'A' pernr = P0799-pernr infty = '0799' begda = P0799-begda endda = P0799-begda BYPASS_BUFFER = 'X' * LEGACY_MODE = ' ' * IMPORTING * SUBRC = TABLES infty_tab = P_P0799 EXCEPTIONS INFTY_NOT_FOUND = 1 OTHERS = 2.

HR_READ_INFOTYPE CALL FUNCTION 'HR_READ_INFOTYPE' EXPORTING * TCLAS = 'A' pernr = p0799-pernr infty = '0799' begda = p_begda endda = p_endda * BYPASS_BUFFER = ' ' * LEGACY_MODE = ' ' * IMPORTING * SUBRC = TABLES infty_tab = l_p0799 EXCEPTIONS infty_not_found = 1 OTHERS = 2.

SCROLLING_IN_TABLE CALL FUNCTION 'SCROLLING_IN_TABLE' EXPORTING entry_act = -top_line entry_from = 1 entry_to = -lines last_page_full = 'X' loops = ok_code = p_ok overlapping = 'X' IMPORTING entry_new = l_tc_new_top_line EXCEPTIONS * NO_ENTRY_OR_PAGE_ACT = 01 * NO_ENTRY_TO = 02 * NO_OK_CODE_OR_PAGE_GO = 03 OTHERS = 0.



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