SAP Reports / Programs

RPCBBKH0 SAP ABAP Report - Insured persons report to APEH on borrowed workers







RPCBBKH0 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for According to subsection a) of Section 17 (17) of the Act XCII of 2003 on the rules of taxation effective from 1 January 2012, the borrowing entity shall report the name and tax number - or, if missing, the private person's identification data and residence address - of the employee affected by the workforce borrowing contract, the name and tax number of the borrower, and the day of starting the employment to the national tax authorities until the day prior to the day of starting the employment, but at leatest on the day of starting the employment...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 RPCBBKH0 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_M21_RPCBBKH0 - Insured persons report -- borrowed


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 RPCBBKH0. "Basic submit
SUBMIT RPCBBKH0 AND RETURN. "Return to original report after report execution complete
SUBMIT RPCBBKH0 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_ALLMH = Permanent authorized person
Selection Text: P_BUKRS = D Company code
Selection Text: P_CODPAG = D Code page (coded char. set)
Selection Text: P_DIR = D File name
Selection Text: P_DVALI = Report effect date
Selection Text: P_EXT = File name extension
Selection Text: P_FNPREF = File name prefix
Selection Text: P_KEPVIS = Employee/applicant name
Selection Text: P_MEGH = Authorized person
Selection Text: P_NYILV = Reg.no. of datash. to be corr.
Selection Text: P_TESZT = Test run
Selection Text: P_VAROS = D City
Title: Insured persons report to APEH on borrowed workers
Text Symbol: 001 = File to be imported in ABEV successfully created:
Text Symbol: AIR = Signat.
Text Symbol: FIL = File data to be creat.
Text Symbol: TOV = Further selections


INCLUDES used within this REPORT RPCBBKH0

No INCLUDES are used within this REPORT code!


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_AND_ALV_DISPLAY CALL FUNCTION 'HR_PAL_LOG_AND_ALV_DISPLAY' EXPORTING i_structure_name = 'P21_RPCBBKH0' i_save = 'A' TABLES t_outtab = gt_aktjel_alv[] EXCEPTIONS program_error = 1 OTHERS = 2.

HR_HU_FORMAT_ADDRESS CALL FUNCTION 'HR_HU_FORMAT_ADDRESS' EXPORTING i_p0006 = p0006 IMPORTING es_cim = ps_jel-cim.

GUI_DOWNLOAD CALL FUNCTION 'GUI_DOWNLOAD' EXPORTING * BIN_FILESIZE = filename = lv_filename * FILETYPE = 'ASC' * APPEND = ' ' * WRITE_FIELD_SEPARATOR = ' ' * HEADER = '00' * TRUNC_TRAILING_BLANKS = ' ' * WRITE_LF = 'X' * COL_SELECT = ' ' * COL_SELECT_MASK = ' ' * DAT_MODE = ' ' * CONFIRM_OVERWRITE = ' ' * NO_AUTH_CHECK = ' ' * CODEPAGE = ' ' * IGNORE_CERR = ABAP_TRUE * REPLACEMENT = '#' * WRITE_BOM = ' ' * TRUNC_TRAILING_BLANKS_EOL = 'X' * WK1_N_FORMAT = ' ' * WK1_N_SIZE = ' ' * WK1_T_FORMAT = ' ' * WK1_T_SIZE = ' ' * WRITE_LF_AFTER_LAST_LINE = ABAP_TRUE * SHOW_TRANSFER_STATUS = ABAP_TRUE * IMPORTING * FILELENGTH = TABLES data_tab = lt_imp * FIELDNAMES = EXCEPTIONS file_write_error = 1 no_batch = 2 gui_refuse_filetransfer = 3 invalid_type = 4 no_authority = 5 unknown_error = 6 header_not_allowed = 7 separator_not_allowed = 8 filesize_not_allowed = 9 header_too_long = 10 dp_error_create = 11 dp_error_send = 12 dp_error_write = 13 unknown_dp_error = 14 access_denied = 15 dp_out_of_memory = 16 disk_full = 17 dp_timeout = 18 file_not_found = 19 dataprovider_exception = 20 control_flush_error = 21 OTHERS = 22 .

HRCA_COMPANYCODE_GETDETAIL CALL FUNCTION 'HRCA_COMPANYCODE_GETDETAIL' EXPORTING companycode = pv_bukrs IMPORTING address = ls_addr-addrnumber EXCEPTIONS not_found = 1 OTHERS = 2.

ADDR_GET CALL FUNCTION 'ADDR_GET' EXPORTING address_selection = ls_addr IMPORTING sadr = ls_sadr1 address_value = ls_address EXCEPTIONS parameter_error = 1 address_not_exist = 2 version_not_exist = 3 internal_error = 4 OTHERS = 5.



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