SAP Reports / Programs | Personnel Time Management(PT) SAP PT

RPTCMP01 SAP ABAP Report - Time Leveling







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


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 RPTCMP01. "Basic submit
SUBMIT RPTCMP01 AND RETURN. "Return to original report after report execution complete
SUBMIT RPTCMP01 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


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





Text Symbol: 010 = Person Resp.
Text Symbol: 018 = A
Text Symbol: 019 = A
Text Symbol: 020 = EEs not processed from here
Text Symbol: 022 = EEs not active from this point
Text Symbol: 023 = EEs active from here
Text Symbol: 024 = EEs not active at this point
Text Symbol: 025 = No Employees Selected
Text Symbol: 031 = Wk.time
Text Symbol: 032 = Doc.
Text Symbol: 033 = Tgt time
Text Symbol: 034 = Differ.
Text Symbol: 035 = Result
Text Symbol: 070 = You are already processing the first employee
Text Symbol: 071 = You are already processing the last employee
Text Symbol: 110 = Document View
Text Symbol: 111 = Period View
Text Symbol: 112 = Period
Text Symbol: 113 = Key Date
Text Symbol: 116 = Day View
Text Symbol: 118 = Person
Text Symbol: 121 = PerNo
Text Symbol: 122 = Day


INCLUDES used within this REPORT RPTCMP01

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.


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:

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.



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