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

RPTBAL00 SAP ABAP Report - Cumulated Time Evaluation Results: Time Balances/Wage Types







RPTBAL00 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 the day balances, cumulated balances (period balances), or time wage types that were determined by time evaluation...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 RPTBAL00 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 RPTBAL00. "Basic submit
SUBMIT RPTBAL00 AND RETURN. "Return to original report after report execution complete
SUBMIT RPTBAL00 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: VARIANT = Layout
Title: Cumulated Time Evaluation Results: Time Balances/Wage Types
Text Symbol: LM3 = Comment
Text Symbol: OR0 = Grouping by org. assignment
Text Symbol: OR1 = Org. assignment
Text Symbol: OR2 = Selected
Text Symbol: OR3 = Data format
Text Symbol: ORG = Organizational unit (techn.)
Text Symbol: PER = EE subgrouping (techn.)
Text Symbol: PES = Employee group (techn.)
Text Symbol: PLA = Position (techn.)
Text Symbol: SAA = Payroll admin. (techn.)
Text Symbol: SAL = Cumulated balances
Text Symbol: SAP = HR administrator (techn.)
Text Symbol: SAZ = Time rec. admin. (techn.)
Text Symbol: SCH = Work schedule rule (short)
Text Symbol: SEL = Selection Conditions
Text Symbol: STE = Job (techn.)
Text Symbol: VAR = Layout
Text Symbol: WER = Personnel area (techn.)
Text Symbol: ZAP = Time evaluation periods
Text Symbol: ZES = Day balances
Text Symbol: ZLA = Time wage types
Text Symbol: ABK = Payroll area (technical)
Text Symbol: AIS = Number in hours
Text Symbol: ANS = Work contract (technical)
Text Symbol: BEG = Employee-specific processing started...
Text Symbol: BTR = Pers. subarea (technical)
Text Symbol: BUK = Company code (techn.)
Text Symbol: DIS = Formatting evaluation results...
Text Symbol: FRA = Other parameters
Text Symbol: GE1 = Male
Text Symbol: GE2 = Female
Text Symbol: GSB = Business area (techn.)
Text Symbol: GTL = Time wage types
Text Symbol: GTS = Period balances
Text Symbol: GTZ = Day balances
Text Symbol: HD1 = Day balances





Text Symbol: HD2 = Cumulated balances
Text Symbol: HD3 = Time wage types
Text Symbol: HD4 = Data select. period
Text Symbol: KOS = Cost center (techn.)
Text Symbol: LFT = Value limits (hours) for time/wage types
Text Symbol: LIM = Value limits (hrs)
Text Symbol: LM1 = Take account of value limits (hours)
Text Symbol: LM2 = Reference value exceeded


INCLUDES used within this REPORT RPTBAL00

INCLUDE RPTBAL01.
INCLUDE RPTBAL02.


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:

REUSE_ALV_VARIANT_DEFAULT_GET CALL FUNCTION 'REUSE_ALV_VARIANT_DEFAULT_GET' EXPORTING i_save = 'A' CHANGING cs_variant = es_variant EXCEPTIONS wrong_input = 1 not_found = 2 program_error = 3 OTHERS = 4.

HR_TIME_RESULTS_IN_INTERVAL CALL FUNCTION 'HR_TIME_RESULTS_IN_INTERVAL' EXPORTING int_pernr = pernr-pernr int_begda = begda int_endda = endda TABLES int_time_results = time_results EXCEPTIONS wrong_cluster_version = 1 no_read_authority = 2 cluster_archived = 3 technical_error = 4 OTHERS = 5.

RP_OPTIONS_INTO_STRING CALL FUNCTION 'RP_OPTIONS_INTO_STRING' EXPORTING max_chosen_number = 7 delimiter_sign = '/' * text_title = 'Organisationseinheiten'(or0) "XOQK005691 * text_left = 'Organisationseinheit'(or1) "XOQK005691 text_title = 'Gruppierung nach Org. Zuordnung'(or0) "XOQK005691

REUSE_ALV_VARIANT_EXISTENCE CALL FUNCTION 'REUSE_ALV_VARIANT_EXISTENCE' EXPORTING i_save = 'A' CHANGING cs_variant = es_variant EXCEPTIONS wrong_input = 1 not_found = 2 program_error = 3 OTHERS = 4.

REUSE_ALV_VARIANT_F4 CALL FUNCTION 'REUSE_ALV_VARIANT_F4' EXPORTING is_variant = is_variant i_save = 'A' IMPORTING es_variant = es_variant EXCEPTIONS not_found = 1 program_error = 2 OTHERS = 3.

SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING text = prog_text EXCEPTIONS OTHERS = 1.

HR_PAYROLL_PERIODS_GET CALL FUNCTION 'HR_PAYROLL_PERIODS_GET' EXPORTING get_begda = fill_begda get_endda = fill_endda get_permo = rptime_period TABLES get_periods = i549q EXCEPTIONS no_valid_permo = 1 no_period_found = 2.

DDIF_FIELDINFO_GET CALL FUNCTION 'DDIF_FIELDINFO_GET' EXPORTING TABNAME = 'PS0001' LANGU = SY-LANGU ALL_TYPES = 'X' * group_names = 'X' note 563001 TABLES DFIES_TAB = nametab EXCEPTIONS OTHERS = 0.

NAMETAB_GET * CALL FUNCTION 'NAMETAB_GET' * EXPORTING * langu = sy-langu * tabname = 'PS0001' * TABLES * nametab = nametab * EXCEPTIONS * internal_error = 1 * table_has_no_fields = 2 * table_not_activ = 3 * no_texts_found = 4 * OTHERS = 5.

DDIF_FIELDINFO_GET CALL FUNCTION 'DDIF_FIELDINFO_GET' EXPORTING TABNAME = 'PS0001' LANGU = SY-LANGU ALL_TYPES = 'X' * group_names = 'X' note 563001
TABLES DFIES_TAB = nametab EXCEPTIONS OTHERS = 0.

NAMETAB_GET * CALL FUNCTION 'NAMETAB_GET' * EXPORTING * tabname = 'PS0001' * langu = sy-langu * TABLES * nametab = nametab.

DDIF_FIELDINFO_GET CALL FUNCTION 'DDIF_FIELDINFO_GET' EXPORTING * TABNAME = sel_tab-tabname note 563001 * FIELDNAME = sel_tab-fieldname note 563001 tabname = l_tabname "note 563001 fieldname = l_fieldname "note 563001 TABLES DFIES_TAB = l_fieldinfo * EXCEPTIONS * NOT_FOUND = 1 * INTERNAL_ERROR = 2 * OTHERS = 3 .

DDIF_FIELDINFO_GET CALL FUNCTION 'DDIF_FIELDINFO_GET' EXPORTING TABNAME = sel_tab-tabname FIELDNAME = sel_tab-fieldname TABLES DFIES_TAB = l_fieldinfo * EXCEPTIONS * NOT_FOUND = 1 * INTERNAL_ERROR = 2 * OTHERS = 3 .

REUSE_ALV_GRID_DISPLAY





CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_callback_program = sy-cprog i_callback_pf_status_set = 'SET_PF_STATUS' i_callback_user_command = 'USER_COMMAND' i_callback_top_of_page = 'TOP_OF_PAGE' is_layout = gs_layout it_fieldcat = field_tab it_sort = gt_zsum[] i_save = 'A' * IS_VARIANT = ALV_VARIANT is_variant = es_variant TABLES t_outtab = EXCEPTIONS program_error = 1 OTHERS = 2.

REUSE_ALV_COMMENTARY_WRITE CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING it_list_commentary = header_alv.

GRAPH_MATRIX CALL FUNCTION 'GRAPH_MATRIX' EXPORTING dim1 = graf_type dim2 = 'Zeitabrechnungsperioden'(zap) dim3 = space max1 = max1 max2 = max2 max3 = 10 titl = graf_title valt = 'Anzahl in Stunden'(ais) winpos = 5 winszx = 80 winszy = 90 mail_allow = 'X' TABLES data = data opts = opts tdim1 = dim1 tdim2 = dim2 tdim3 = dim3.

HR_DISPLAY_ERROR_LIST CALL FUNCTION 'HR_DISPLAY_ERROR_LIST' TABLES error = error_tab EXCEPTIONS OTHERS = 1.



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