SAP Reports / Programs | Payroll(PY) SAP PY

HROCBT00 SAP ABAP Report - Bank transfers preparation Rest of pay, Loans







HROCBT00 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.

If you would like to execute this report or see the full code listing simply enter HROCBT00 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

PC00_M61_CBT00 - Payment preparation - rest of pay


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 HROCBT00. "Basic submit
SUBMIT HROCBT00 AND RETURN. "Return to original report after report execution complete
SUBMIT HROCBT00 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: P_UPCL2 = Set flag for transfers
Selection Text: P_TEST = Test ?
Selection Text: P_LGART = Restricted to wage types
Selection Text: P_INDIV = Do not summarize virmans
Selection Text: P_HKTI = House bank account ID
Selection Text: P_HBKI = House bank
Selection Text: P_EMFSL = Range for receiver
Selection Text: P_DATUM = Date
Title: Bank transfers preparation Rest of pay, Loans
Text Symbol: 032 = Payee key not found for wage type
Text Symbol: 033 = Transfer PERNR to the table T7ROA1
Text Symbol: 050 = During processing of following personal numbers errors appeared. Because if this
Text Symbol: 051 = NO data from the whole processed set will be written to the database
Text Symbol: 052 = Run the program with log for personal numbers to analyze the error. Then correct
Text Symbol: 053 = the error or exclude the personal numbers from processing
Text Symbol: 060 = Data were succesfully writen to table T7ROA1 with identification:
Text Symbol: 061 = Run date (LAUFD) :
Text Symbol: 062 = Identification (LAUFI):
Text Symbol: 063 = Date of valuta
Text Symbol: 064 = Number of bank transfers
Text Symbol: 065 = Total
Text Symbol: E01 = Error Write flag: No payroll results
Text Symbol: E02 = Error Write flag: Unable to restore results for current payroll
Text Symbol: E03 = Error Write flag: No authorization to read results
Text Symbol: E04 = Error Write flag: Unknown error importing buffer
Text Symbol: E05 = Error Write flag: Error reading payroll result:
Text Symbol: E06 = Error Write flag: Error writing payroll result:
Text Symbol: E07 = Error Write flag: Insert error when flushing buffer
Text Symbol: E08 = Error Write flag: Other error when flushing buffer
Text Symbol: E09 = Repeat runs available only for alpha phase (Rest of the Pay checked)
Text Symbol: 001 = Additional options
Text Symbol: 002 = Special run
Text Symbol: 003 = Restriction of processed data
Text Symbol: 004 = Rest of the pay
Text Symbol: 005 = Other deductions
Text Symbol: 006 = Tax&SI
Text Symbol: 008 = Transfer and output options
Text Symbol: 009 = Test





Text Symbol: 010 = Medium table T7ROA1
Text Symbol: 011 = DMEE
Text Symbol: 012 = Bank key and account
Text Symbol: 013 = Sklic
Text Symbol: 014 = APP co/Text
Text Symbol: 015 = Transfer options
Text Symbol: 016 = Do not summarize bank transfers
Text Symbol: 017 = Display results as bank transfer
Text Symbol: 018 = ALV variant
Text Symbol: 019 = Debugging log
Text Symbol: 020 = Display results with Pernr
Text Symbol: 021 = Repeated runs
Text Symbol: 022 = Repeat run: Date
Text Symbol: 023 = Time
Text Symbol: 024 = ER Cont. Differences
Text Symbol: 025 = ER Contribution G
Text Symbol: 026 = Get Tax Office from
Text Symbol: 027 = Infotype 519
Text Symbol: 028 = grouping T7RO01P-GETFUL
Text Symbol: 030 = Payee key
Text Symbol: 031 = not found.


INCLUDES used within this REPORT HROCBT00

INCLUDE HROIFORM.
INCLUDE HROIREP0.
INCLUDE HROICLS0.


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_F4 CALL FUNCTION 'REUSE_ALV_VARIANT_F4' EXPORTING is_variant = alvari IMPORTING es_variant = alvari EXCEPTIONS not_found = 1 program_error = 2 OTHERS = 3.

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

HR_RO_READ_PYRES_INTERVAL CALL FUNCTION 'HR_RO_READ_PYRES_INTERVAL' EXPORTING pernr = pernr-pernr mode = 'S' begda = pn-begda endda = pn-endda bondt = bondt payty = payty payid = payid tprun = '' tpall = '' TABLES runs = it_runs myrg = it_myrg rtdet = it_rtdet.

HR_RO_READ_PYRES_INTERVAL CALL FUNCTION 'HR_RO_READ_PYRES_INTERVAL' EXPORTING pernr = pernr-pernr mode = 'R' begda = pn-begda endda = pn-endda bondt = bondt payty = payty payid = payid tprun = '' tpall = 'X' TABLES runs = it_runs myrg = it_myrg rtdet = it_rtdet rtall = it_rtall.

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING i_callback_program = repid i_structure_name = 'T7ROA1' is_variant = alvari i_save = 'X' TABLES t_outtab = it_table.

HR_PCLX_INIT_BUFFER CALL FUNCTION 'HR_PCLX_INIT_BUFFER'.

HR_IMPORT_BUFFER_FROM_PCLX





CALL FUNCTION 'HR_IMPORT_BUFFER_FROM_PCLX' EXPORTING employee_number = pernr cluster_id = cluster_id from_sequence_number = seqnr to_sequence_number = seqnr EXCEPTIONS no_results = 1 no_read_authority = 2 OTHERS = 3.

PYXX_READ_PAYROLL_RESULT CALL FUNCTION 'PYXX_READ_PAYROLL_RESULT' EXPORTING clusterid = cluster_id employeenumber = pernr sequencenumber = seqnr CHANGING payroll_result = result EXCEPTIONS illegal_isocode_or_clusterid = 1 error_generating_import = 2 import_mismatch_error = 3 subpool_dir_full = 4 no_read_authority = 5 no_record_found = 6 versions_do_not_match = 7 OTHERS = 8.

PYXX_WRITE_PAYROLL_RESULT CALL FUNCTION 'PYXX_WRITE_PAYROLL_RESULT' EXPORTING clusterid = cluster_id employeenumber = pernr sequencenumber = seqnr payroll_result = result EXCEPTIONS illegal_isocode_or_clusterid = 1 error_generating_export = 2 export_error = 3 subpool_dir_full = 4 no_update_authority = 5 incomplete_result_imported = 6 OTHERS = 7.

HR_FLUSH_BUFFER_UPDATE_PCLX CALL FUNCTION 'HR_FLUSH_BUFFER_UPDATE_PCLX' EXCEPTIONS insert_error = 1 no_update_authority = 2 OTHERS = 3.



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