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
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)
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: 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
INCLUDE DBPNPCOM.
INCLUDE RPCLST00.
INCLUDE RPC2B200.
INCLUDE RPPPXD00.
INCLUDE RPPPXD10.
INCLUDE RPTSIM00.
INCLUDE RPARDI00.
No SAP DATABASE tables are accessed within this REPORT code!
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.
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.