RPTCMP01 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This report creates a list of employees for time leveling...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.
If you would like to execute this report or see the full code listing simply enter RPTCMP01 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.
Selection Text: ZEITART = Time type for Time Recording
Selection Text: TAG_LIST = Day View
Selection Text: SW_LLSOL = Display Planned Time
Selection Text: SW_LLERG = Display
Selection Text: SW_HDIFF = Display Difference
Selection Text: SW_DIFF = Display
Selection Text: SHOWONLY = Display Data Only
Selection Text: PER_LIST = Period View
Selection Text: DIFF = Minimum Difference (Hours)
Selection Text: BEL_LIST = Document View
Title: Time Leveling
Text Symbol: 162 = Documented times fall short of the planned working time
Text Symbol: 163 = Documented times exceed the planned working time
Text Symbol: 165 = Error
Text Symbol: 166 = Warning
Text Symbol: IA1 = Employee not processed from:
Text Symbol: S10 = Initial List
Text Symbol: S11 = Level 1: Period View
Text Symbol: S12 = Level 2: Day View
Text Symbol: S13 = Level 3: Doc. View
Text Symbol: S20 = Time Rec.
Text Symbol: S21 = Time Type for Productive Hrs
Text Symbol: S30 = Difference (Doc. Time - Working Time)
Text Symbol: S31 = Display Difference
Text Symbol: S32 = Minimum
Text Symbol: S33 = Hours
Text Symbol: S34 = Hide Employees
Text Symbol: S40 = Values from Incent. Wgs
Text Symbol: S41 = Display Planned Time
Text Symbol: S42 = Display Result
Text Symbol: 123 = Name
Text Symbol: 001 = Incorrect Version of Cluster L1
Text Symbol: 002 = Incorrect Version of Cluster B1
Text Symbol: 003 = Incorrect Version of Cluster B2
Text Symbol: 004 = Imported Version:
Text Symbol: 005 = Version of this Report:
Text Symbol: 008 = Display
Text Symbol: 009 = Create
INCLUDE RPPPXD00.
INCLUDE RPPPXD10.
INCLUDE RPPPXM00.
INCLUDE RPC1L100.
INCLUDE RPC1G100.
INCLUDE RPC1B100.
INCLUDE RPC2B200.
INCLUDE MP53LT30.
INCLUDE RPUMKC00.
INCLUDE RPTL9510.
INCLUDE RPTL9610.
INCLUDE MPZDAT02.
INCLUDE FP51TPRT.
INCLUDE RPTCMP50_ALV_TOP.
INCLUDE RPTCMP50_ALV.
No SAP DATABASE tables are accessed within this REPORT code!
RS_SUBMIT_INFO CALL FUNCTION 'RS_SUBMIT_INFO' IMPORTING p_submit_info = p_submit_info.
TELEPHONY_ACTIVE_GET CALL FUNCTION 'TELEPHONY_ACTIVE_GET' IMPORTING active = telephony_active.
HR_DETAIL_PICK CALL FUNCTION 'HR_DETAIL_PICK' EXCEPTIONS OTHERS = 0.
HR_DISPLAY_ERROR_LIST CALL FUNCTION 'HR_DISPLAY_ERROR_LIST'.
HR_REFRESH_ERROR_LIST CALL FUNCTION 'HR_REFRESH_ERROR_LIST'.
HR_COMMON_UCOMM CALL FUNCTION 'HR_COMMON_UCOMM' EXPORTING ucomm = save_code show_only = show_only IMPORTING ucomm_result = ucomm_result TABLES pernrs_for_ucomm = pnrlist_ucomm EXCEPTIONS OTHERS = 0.
HR_COMMON_UCOMM CALL FUNCTION 'HR_COMMON_UCOMM' EXPORTING ucomm = save_code show_only = show_only IMPORTING ucomm_result = ucomm_result TABLES pernrs_for_ucomm = pnrlist_ucomm EXCEPTIONS OTHERS = 0.
HR_ALV_GET_LINE_CONTENT_ALV_01 CALL FUNCTION 'HR_ALV_GET_LINE_CONTENT_ALV_01' IMPORTING p_pernr = hidden-pernr p_budat = hidden-budat.
HR_DETAIL_UCOMM_ALV_01 CALL FUNCTION 'HR_DETAIL_UCOMM_ALV_01' EXPORTING ucomm = save_code i_pnridx = g_pos_in_pnrlist IMPORTING ucomm_result = ucomm_result new_pnridx = g_pos_in_pnrlist show_all_objects = g_show_all_objects TABLES pernrs_protocol = pnrprot 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.
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 RPTCMP01 or its description.