SAP Reports / Programs | Personnel Management | Personnel Administration | France(PA-PA-FR) SAP PA

MP042440 SAP ABAP INCLUDE - documentation and ABAP source code







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

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_99S_COPY_STRUC1_STRUC2 CALL FUNCTION 'HR_99S_COPY_STRUC1_STRUC2' EXPORTING p_struct1 = seltab IMPORTING p_struct2 = intp2001.

HR_READ_INFOTYPE * CALL FUNCTION 'HR_READ_INFOTYPE' * EXPORTING * PERNR = P_P0424_PERNR * INFTY = '2001' * BEGDA = P_P0424_BEGDA * ENDDA = P_P0424_ENDDA * TABLES * INFTY_TAB = INTP2001.

HR_READ_INFOTYPE * CALL FUNCTION 'HR_READ_INFOTYPE' * EXPORTING * PERNR = P_P0424_PERNR * INFTY = '0080' * BEGDA = P_P0424_BEGDA * ENDDA = P_P0424_ENDDA * TABLES * INFTY_TAB = INTP0080.

HR_READ_INFOTYPE CALL FUNCTION 'HR_READ_INFOTYPE' EXPORTING pernr = p0424-pernr infty = '0000' begda = p0424-deb_arret endda = p0424-fin_arret TABLES infty_tab = intp0000.

HR_READ_INFOTYPE CALL FUNCTION 'HR_READ_INFOTYPE' EXPORTING pernr = p0424-pernr infty = '0001' begda = p0424-deb_arret endda = p0424-fin_arret TABLES infty_tab = intp0001.

HR_READ_INFOTYPE CALL FUNCTION 'HR_READ_INFOTYPE' EXPORTING pernr = p0424-pernr infty = '0002' begda = p0424-deb_arret endda = p0424-fin_arret TABLES infty_tab = intp0002.

HR_READ_INFOTYPE CALL FUNCTION 'HR_READ_INFOTYPE' EXPORTING pernr = p0424-pernr infty = '0007' begda = p0424-deb_arret endda = p0424-fin_arret TABLES infty_tab = intp0007.

HR_READ_INFOTYPE CALL FUNCTION 'HR_READ_INFOTYPE' EXPORTING pernr = p0424-pernr infty = '2001' begda = p0424-deb_arret endda = p0424-fin_arret TABLES infty_tab = intp2001.

HR_READ_INFOTYPE CALL FUNCTION 'HR_READ_INFOTYPE' EXPORTING pernr = p0424-pernr infty = '2002' begda = p0424-deb_arret endda = p0424-fin_arret TABLES infty_tab = intp2002.

HR_READ_INFOTYPE CALL FUNCTION 'HR_READ_INFOTYPE' EXPORTING pernr = p0424-pernr infty = '2003' begda = p0424-deb_arret endda = p0424-fin_arret TABLES infty_tab = intp2003.

HR_REFRESH_ERROR_LIST CALL FUNCTION 'HR_REFRESH_ERROR_LIST'.

HR_ABS_ATT_TIMES_AT_ENTRY CALL FUNCTION 'HR_ABS_ATT_TIMES_AT_ENTRY' EXPORTING pernr = p0424-pernr awart = p2001-awart begda = p0424-begda endda = p0424-endda TABLES m0000 = intp0000 m0001 = intp0001 m0002 = intp0002 m0007 = intp0007 m2001 = intp2001 m2002 = intp2002 m2003 = intp2003 times_per_day = times_per_day CHANGING beguz = beguz enduz = enduz vtken = vtken stdaz = stdaz EXCEPTIONS it0001_missing = 1 customizing_error = 2 error_occurred = 3 "YAYP40K054237 end_before_begin = 4. "YAYP40K054237

HR_FR_CALCULATE_IJSS CALL FUNCTION 'HR_FR_CALCULATE_IJSS' EXPORTING pnpxabkr = l_p0001-abkrs matricule = p0424-pernr devise = p0424-devise subty = p0424-subty abrdt = p0003-abrdt rrdate = p0003-rrdat deb_arret = l_begin fin_arret = p0424-fin_arret abstype = p2001-awart p_idate = p0424-idate p_caspa = p0424-caspa p_affld = p0424-affld p_prolo = p0424-prolo p_casno = p0424-casno p_cons_att = p0424-cons_att IMPORTING costu1 = l_costu1 costu2 = l_costu2 EXCEPTIONS no_cluster_rt = 1 infty_0000_not_found = 2 infty_0001_not_found = 3 infty_0002_not_found = 4 infty_0003_not_found = 5 infty_0007_not_found = 6 infty_0016_not_found = 7 infty_2001_not_found = 8 infty_2002_not_found = 9 infty_2003_not_found = 10 no_ijss = 11 feature_not_correct = 12 cot_ijss_not_found = 13 OTHERS = 14.

HR_FR_CHECK_PROLONGATION CALL FUNCTION 'HR_FR_CHECK_PROLONGATION' EXPORTING p_pernr = p0424-pernr p_begda = p0424-deb_arret p_endda = p0424-fin_arret p_actual = p0424 IMPORTING p_prolongation = g_prolo EXCEPTIONS no_infty = 1 no_actual = 2 OTHERS = 3.

HR_FR_CHECK_PROLONGATION CALL FUNCTION 'HR_FR_CHECK_PROLONGATION' EXPORTING p_pernr = p_p0424-pernr p_begda = p_p0424-deb_arret p_endda = p_p0424-fin_arret p_actual = p_p0424 IMPORTING p_prolongation = g_prolo p_date = l_date p_original = wa_p0424 EXCEPTIONS no_infty = 1 OTHERS = 2.

SELECT_TEXT CALL FUNCTION 'SELECT_TEXT' EXPORTING client = sy-mandt database_only = ' ' object = 'HRPADFR' name = 'Zwischenspeicher' "#EC NOTEXT id = p_id language = 'F' IMPORTING entries = anzahl_zs EXCEPTIONS wrong_access_to_archive = 1 OTHERS = 2.

HR_99S_EDIT_TEXTPART CALL FUNCTION 'HR_99S_EDIT_TEXTPART' EXPORTING client = sy-mandt object = 'HRPADFR' id = p_id name = dateiname textpart = p_part language = p_lang editor_title = dateititel * LOCAL_CAT = ' ' EXCEPTIONS object = 1 id = 2 name = 3 textpart = 4 language = 5 reference_check = 6 OTHERS = 7.

HR_99S_DISPLAY_TEXTPART CALL FUNCTION 'HR_99S_DISPLAY_TEXTPART' EXPORTING client = sy-mandt object = 'HRPADFR' id = p_id name = dateiname textpart = p_part language = p_lang editor_title = dateititel * LOCAL_CAT = ' ' EXCEPTIONS object = 1 id = 2 name = 3 textpart = 4 language = 5 not_found = 6 reference_check = 7 OTHERS = 8.

COPY_TEXTS





CALL FUNCTION 'COPY_TEXTS' EXPORTING savemode_direct = 'X' TABLES texts = it_copy_tabelle.

HR_99S_CHECK_TEXTPART CALL FUNCTION 'HR_99S_CHECK_TEXTPART' EXPORTING client = sy-mandt object = 'HRPADFR' id = p0424-subty name = p_filename textpart = textpart language = 'F' IMPORTING available = p_status EXCEPTIONS object = 1 id = 2 name = 3 textpart = 4 language = 5 not_found = 6 reference_check = 7 OTHERS = 8.

DELETE_TEXT CALL FUNCTION 'DELETE_TEXT' EXPORTING client = sy-mandt id = p0424-subty "PSPAR-SUBTY='ATT' language = 'F' name = p_dateiname object = 'HRPADFR' savemode_direct = 'X' EXCEPTIONS OTHERS = 0.

HR_FR_CHECK_ABSENCE_CONFLICT CALL FUNCTION 'HR_FR_CHECK_ABSENCE_CONFLICT' EXPORTING p_empl_num = p_empl_num p_start = p_abs_start p_end = p_abs_end EXCEPTIONS error = 1 OTHERS = 2.

READ_TEXT CALL FUNCTION 'READ_TEXT' EXPORTING client = sy-mandt id = p0424-subty language = 'F' name = dateiname object = 'HRPADFR' archive_handle = 0 IMPORTING header = wa_thead TABLES lines = itab_vorher EXCEPTIONS id = 1 language = 2 name = 3 not_found = 4 object = 5 reference_check = 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 MP042440 or its description.