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

RPCLSTB2 SAP ABAP Report - Display Time Evaluation Results (Cluster B2)







RPCLSTB2 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for You can use this program to display the content of the B2 cluster for each employee and period...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 RPCLSTB2 into the relevant SAP transactions such as SE38 or SE80


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

PT66 - Display Cluster B2
PT_CLSTB2 - Time Evaluation Results (Cluster B2)


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 RPCLSTB2. "Basic submit
SUBMIT RPCLSTB2 AND RETURN. "Return to original report after report execution complete
SUBMIT RPCLSTB2 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: SELPERNR = Personnel number
Selection Text: SELPERIO = Period (YYYYPP)
Selection Text: SELPABRJ = Year
Selection Text: SELDATE = Date
Selection Text: SELCLTYP = Cluster type
Title: Display Time Evaluation Results (Cluster B2)
Text Symbol: UA1 = Date generated
Text Symbol: U78 = Entry
Text Symbol: U77 = Group
Text Symbol: U76 = Table
Text Symbol: U75 = Period
Text Symbol: U74 = Year
Text Symbol: U62 = ClType
Text Symbol: T42 = SeqNo. time event
Text Symbol: T41 = SeqNo. clock-out entry
Text Symbol: T40 = SeqNo. clock-in entry
Text Symbol: T17 = Scrap
Text Symbol: S56 = Base entitl.
Text Symbol: S55 = Transfer pool
Text Symbol: S54 = Absence quota generation
Text Symbol: S53 = Personal work schedule
Text Symbol: S51 = Basic data
Text Symbol: S49 = Work bridging two calendar days
Text Symbol: S47 = Leave accrual
Text Symbol: S45 = Different payment
Text Symbol: S43 = Time quotas
Text Symbol: S41 = Cost dist.
Text Symbol: S39 = Messages
Text Symbol: S37 = Time wage types
Text Symbol: S35 = Cumulated time balances
Text Symbol: S32 = Recalculation data
Text Symbol: S30 = Time balances for each day
Text Symbol: S28 = Time transfer specs
Text Symbol: S26 = On-call duty
Text Symbol: UHR = Time
Text Symbol: ZAR = Archived Data
Text Symbol: Z97 = Status information
Text Symbol: Z95 = B2 version





Text Symbol: Z94 = Automatic accrual of absence quotas
Text Symbol: Z93 = Basic data and work schedule
Text Symbol: Z92 = Balances, wage types and quota transactions
Text Symbol: Z91 = Time data
Text Symbol: Z90 = Time pairs and time tickets
Text Symbol: Z83 = Display archived and non-archived data
Text Symbol: Z82 = Display archived data only
Text Symbol: Z81 = Do not display archived data
Text Symbol: Z80 = Selection
Text Symbol: Z79 = Detailed description of all table entries
Text Symbol: Z76 = List of personnel numbers and periods
Text Symbol: Z75 = List format
Text Symbol: WST = Time ticket status
Text Symbol: WS2 = No.last time event
Text Symbol: WS1 = Acct. assignmt no.
Text Symbol: WP5 = Active
Text Symbol: W02 = Number of entries
Text Symbol: VS4 = Accrued variable balances
Text Symbol: VS2 = Variable balances
Text Symbol: VS1 = Variable key
Text Symbol: VE6 = Created at
Text Symbol: VE5 = Created using
Text Symbol: VE4 = Created on
Text Symbol: VE3 = Created by
Text Symbol: V21 = Assignment number (APZNR)
Text Symbol: PT4 = To
Text Symbol: PT3 = Start Time
Text Symbol: PT2 = From
Text Symbol: PT1 = Chg
Text Symbol: PS3 = Actv.
Text Symbol: PS2 = HolCl
Text Symbol: PS1 = DayTyp
Text Symbol: PP1 = Person
Text Symbol: KN3 = Core night work indicator
Text Symbol: FH4 = Unit
Text Symbol: FH3 = Description
Text Symbol: FH2 = Field cont.
Text Symbol: FH1 = Field name
Text Symbol: C21 = Split indicator C1





Text Symbol: C04 = Item text
Text Symbol: C03 = Sender cost center
Text Symbol: C02 = Sender business area
Text Symbol: C01 = Sender company code
Text Symbol: BB5 = Recalculation period for third-party payroll
Text Symbol: BB3 = Recalculation period for time statement
Text Symbol: BB1 = Last day evaluated
Text Symbol: AR1 = Archived with archiving group
Text Symbol: AN4 = Start
Text Symbol: AN3 = Valuation basis
Text Symbol: AN2 = Attendance hours
Text Symbol: AN1 = Attendance days
Text Symbol: AB9 = Old start date
Text Symbol: AB6 = Payroll days
Text Symbol: AB5 = Old end date
Text Symbol: AB2 = ESG for PCR
Text Symbol: AB1 = Absence days
Text Symbol: PT5 = End Time
Text Symbol: S24 = Absence quotas
Text Symbol: S22 = Substitutions
Text Symbol: S20 = Attendance quotas
Text Symbol: S18 = Attendances
Text Symbol: S16 = Overtime
Text Symbol: S14 = Absences
Text Symbol: S12 = Link pairs/time tickets
Text Symbol: S08 = Cumulated time tickets
Text Symbol: S06 = Time pairs
Text Symbol: S04 = Time tickets, other documents
Text Symbol: Q36 = EndBasePer
Text Symbol: Q35 = StBasePer
Text Symbol: Q24 = CompExistingEntitl.
Text Symbol: Q23 = End of base period
Text Symbol: Q22 = Start of base period
Text Symbol: Q20 = Rndg rule for total entitl.
Text Symbol: Q19 = Rounding rule for accrual entitl.
Text Symbol: Q18 = Total maximum exceeded
Text Symbol: Q17 = Accrual maximum exceeded
Text Symbol: Q16 = Generated (for quota correction)
Text Symbol: Q15 = Transferred



Text Symbol: Q12 = Monthly
Text Symbol: Q10 = Daily
Text Symbol: Q09 = Acc.to date type
Text Symbol: Q08 = Acc. to period parameter
Text Symbol: Q07 = Per calendar yr
Text Symbol: Q06 = Per ESG for PCR
Text Symbol: Q05 = Per time evaluation period
Text Symbol: Q04 = Upon accrual
Text Symbol: Q03 = Incr.
Text Symbol: Q02 = Replace


INCLUDES used within this REPORT RPCLSTB2

INCLUDE DBPNPCOM.
INCLUDE RPCLST00.
INCLUDE RPC2B200.
INCLUDE RPPPXD00.
INCLUDE RPPPXD10.
INCLUDE RPTSIM00.
INCLUDE RPARDI00.


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_PAL_LOG_REFRESH CALL FUNCTION 'HR_PAL_LOG_REFRESH'.

REUSE_ALV_HIERSEQ_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_HIERSEQ_LIST_DISPLAY' EXPORTING i_callback_program = repid i_callback_pf_status_set = 'HANDLE_EVENT_PF_STATUS' i_callback_user_command = 'HANDLE_EVENT_USER_COMMAND' is_layout = ls_layo it_fieldcat = lt_fcat it_events = lt_evts1 i_tabname_header = 'TABLIST_M' i_tabname_item = 'TABLIST_S' is_keyinfo = ls_key is_print = ls_prnt TABLES t_outtab_header = g_grptab t_outtab_item = tablelist EXCEPTIONS program_error = 1 OTHERS = 2.

RP_SET_NAME_FORMAT CALL FUNCTION 'RP_SET_NAME_FORMAT' EXPORTING repid = repid IMPORTING format = st_format.

RP_EDIT_NAME CALL FUNCTION 'RP_EDIT_NAME' EXPORTING format = st_format langu = sy-langu molga = t001p-molga pp0002 = p0002 IMPORTING edit_name = p_edit_name retcode = ret_code.

DDIF_FIELDINFO_GET CALL FUNCTION 'DDIF_FIELDINFO_GET' EXPORTING tabname = i_structure all_types = 'X' TABLES dfies_tab = l_dfies_tab.

HR_READ_INFOTYPE CALL FUNCTION 'HR_READ_INFOTYPE' EXPORTING tclas = 'A' pernr = p_pernr infty = '0283' begda = '18000101' endda = '99991231' IMPORTING subrc = read_subrc TABLES infty_tab = p0283 EXCEPTIONS infty_not_found = 1 OTHERS = 2.

PA_READ_ARCHIVE_PA_TIME CALL FUNCTION 'PA_READ_ARCHIVE_PA_TIME' EXPORTING f_pernr = p_pernr f_document = ls_t77pyarcoffset-docum f_arkey = ls_t77pyarcoffset-arkey f_aofst = ls_t77pyarcoffset-aofst TABLES tab_pcl2 = ipcl2 EXCEPTIONS internal_error = 1 OTHERS = 2.

PA_READ_ARCHIVE_PA_TIME CALL FUNCTION 'PA_READ_ARCHIVE_PA_TIME' EXPORTING f_pernr = p_pernr f_document = p0283-docum f_arkey = p0283-arkey f_aofst = p0283-aofst TABLES tab_pcl2 = ipcl2 EXCEPTIONS internal_error = 1 OTHERS = 2.

HR_CHECK_CLUSTERB2_ARCHIVED CALL FUNCTION 'HR_CHECK_CLUSTERB2_ARCHIVED' EXPORTING i_pernr = p_b2_key-pernr i_pabrj = p_b2_key-pabrj i_pabrp = p_b2_key-pabrp i_cltyp = p_b2_key-cltyp IMPORTING cluster_archived_status = p_archive_status * ARC_GROUP = EXCEPTIONS OTHERS = 0.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_structure_name = i_structure * i_bypassing_buffer = 'X' CHANGING ct_fieldcat = ct_fcat EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING i_callback_program = repid i_callback_pf_status_set = 'HANDLE_EVENT_PF_STATUS' i_callback_user_command = 'HANDLE_EVENT_USER_COMMAND' is_layout = ls_layo it_fieldcat = g_fcat it_events = lt_evts1 is_print = ls_prnt TABLES t_outtab = cltab EXCEPTIONS OTHERS = 0.

HR_PAL_PERNR_MSG_ADD CALL FUNCTION 'HR_PAL_PERNR_MSG_ADD' EXPORTING i_pernr = pernr i_msgid = '72' i_msgty = 'E' i_msgno = msgno i_msgv1 = l_msgv1 i_msgv2 = l_msgv2 i_msgv3 = l_msgv3 i_msgv4 = l_msgv4 EXCEPTIONS OTHERS = 0.

HR_PAL_LOG_DISPLAY CALL FUNCTION 'HR_PAL_LOG_DISPLAY' EXPORTING i_s_display_profile = l_display_profile * I_S_PRINT_OPTIONS = 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 RPCLSTB2 or its description.