RPTCMP40 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 RPTCMP40 into the relevant SAP transactions such as SE38 or SE80
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.
Title: Output Routines for Main List
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
HR_DISPLAY_ERROR_LIST CALL FUNCTION 'HR_DISPLAY_ERROR_LIST'.
HR_REFRESH_ERROR_LIST CALL FUNCTION 'HR_REFRESH_ERROR_LIST'.
HR_DISPLAY_ERROR_LIST CALL FUNCTION 'HR_DISPLAY_ERROR_LIST'.
HR_REFRESH_ERROR_LIST CALL FUNCTION 'HR_REFRESH_ERROR_LIST'.
HR_PERSON_DATA_PROVIDE CALL FUNCTION 'HR_PERSON_DATA_PROVIDE' EXPORTING PNR = PERNR * BEGDA = BEGDA * ENDDA = ENDDA_VTKEN * Provide over all data sets! BEGDA = LOW-DATE ENDDA = HIGH-DATE TABLES PP0001 = P0001 PP0002 = P0002 PP0007 = P0007 PPTAB = PTAB EXCEPTIONS OTHERS = 0.
HR_PERSONAL_WORK_SCHEDULE CALL FUNCTION 'HR_PERSONAL_WORK_SCHEDULE' "ALRK004386 EXPORTING "ALRK004386 PERNR = PTAB-PERNR "ALRK004386 BEGDA = BEGDA "ALRK004386 ENDDA = ENDDA "ALRK004386 KUG = 'X' "ALRK004386 REFRESH = 'X' "ALRK004386 TABLES "ALRK004386 I0000 = P0000 "ALRK004386 I0001 = P0001 "ALRK004386 I0002 = P0002 "ALRK004386 I0007 = P0007 "ALRK004386 I0049 = P0049 "ALRK004386 I2001 = P2001 "ALRK004386 I2002 = P2002 "ALRK004386 I2003 = P2003 "ALRK004386 perws = all_psp "ALRK004386 EXCEPTIONS error_occured = 0.
HR_DETAIL_SHOW CALL FUNCTION 'HR_DETAIL_SHOW' EXPORTING PERNRS_ENTRY = POS_IN_PNRLIST PICK_AND_SHOW_ONLY = SW_SHOW_ONLY TABLES PERNRS_TO_NAVIGATE = PNRLIST EXCEPTIONS OTHERS = 0.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.