SAP Reports / Programs

HSKCRZZP SAP ABAP Report - Annual account of health insurance







HSKCRZZP 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 HSKCRZZP 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 HSKCRZZP. "Basic submit
SUBMIT HSKCRZZP AND RETURN. "Return to original report after report execution complete
SUBMIT HSKCRZZP 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_C_DAVK = Batch sequence number
Selection Text: P_DEN = Date
Selection Text: P_D_PATH = Path to output file
Selection Text: P_F580 = Create Batch 580
Selection Text: P_IT0257 = Data from IT0257
Selection Text: P_PREH = Create file overview
Selection Text: P_ROK = Processed year
Selection Text: P_SUMM = Create recapitulation
Selection Text: P_SUM_RC = Merge records w.same per.ID.no
Selection Text: P_V_FAX = Issued by - fax
Selection Text: P_V_MAIL = Issued by - e-mail
Selection Text: P_V_TEL = Telephone
Selection Text: P_ZL_CPP = Insurance payer's number
Selection Text: P_ZL_ICO = Corp. ID No. (ICO)
Selection Text: P_ZP_KOD = Health insurer code
Title: Annual account of health insurance
Text Symbol: M02 = Income code &1 requires a non-zero assessment base. Correct Infotype 0253
Text Symbol: M03 = Income code &1 requires a zero assessment base. Correct Infotype 0253
Text Symbol: O01 = Row no. Employee Pers.ID No. C.Code Pers.Ar. Subarea Group Tax ID Corp.ID Ins.P.No. H
Text Symbol: O02 = Employment FROM-TO:
Text Symbol: O03 = Period Days Income Ass.base ER EE ER Contrib. EE Contrib. Total contrib.
Text Symbol: O04 = Total
Text Symbol: O05 = ---------------------------------------------------------------------------------------------
Text Symbol: O06 = employees for Corp.ID Ins.P.No. HI Code
Text Symbol: O07 = Total
Text Symbol: O08 = xx
Text Symbol: P00 = Batch type
Text Symbol: P01 = new
Text Symbol: P02 = correc.
Text Symbol: P03 = additnl.
Text Symbol: P04 = Bank prefix and no./bank code
Text Symbol: P05 = /
Text Symbol: T11 = STATEMENT OF ADV.PAYMENT FOR ANNUAL HEALTH INSURANCE ACC.
Text Symbol: T12 = year
Text Symbol: A01 = Ins.comp.code:
Text Symbol: A02 = Payer number:
Text Symbol: A03 = STATEMENT OF ADVANCE PAYMENTS FOR INSURANCE CONTRIBUTION ANNUAL ACCOUNT
Text Symbol: A04 = (report type N,O,A)





Text Symbol: A05 = PAYER DATA
Text Symbol: A06 = |Name and surname | XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX |Legal | |
Text Symbol: A07 = | Business name | XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX |form | |
Text Symbol: A08 = | |Tax ID: SK00000000 Corp.ID: |
Text Symbol: A09 = |Resid.:City: Street: |
Text Symbol: A10 = | File no.: No.: ZIP: State: |
Text Symbol: A11 = | Tel.: Fax: |
Text Symbol: A12 = | E-mail: |
Text Symbol: A13 = |Bank name |Prefix |Account |Bank code |
Text Symbol: A14 = | XXXXXXXX | | | |
Text Symbol: A15 = | Number of sentences in body of batch |
Text Symbol: A16 = | Aggregate of employer's advance payments of insurance contributions |
Text Symbol: A17 = | Aggregate of employee's advance payments of insurance contributions |
Text Symbol: A18 = |Completed by: |Tel.: |Date: |
Text Symbol: A19 = | | | |
Text Symbol: A20 = ------------------------------------------- -----------------------------------
Text Symbol: A21 = |Signature and stamp of insurance payer | |Insurance fund stamp |
Text Symbol: A22 = | | | |
Text Symbol: A23 = |Date: | |Acceptance date: |
Text Symbol: ALE = | |
Text Symbol: ALI = --------------------------------------------------------------------------------
Text Symbol: E01 = Entry with key is missing in table T7SK1L
Text Symbol: E02 = Entry conversion not done.
Text Symbol: E03 = Start program HSKURZZK.
Text Symbol: E12 = Insur.
Text Symbol: E13 = You must specify a bank account & code in case of overpayment
Text Symbol: E14 = No entry selected
Text Symbol: E20 = Period was changed, but the clearing code CC is not open for note
Text Symbol: ER1 = Insufficient authoriz.for payroll data
Text Symbol: M01 = Pers.number nnnnnnnn - If absence lasts a whole month, income for HI must be specified in infotype 0253.


INCLUDES used within this REPORT HSKCRZZP

INCLUDE RPC2CD00.
INCLUDE RPC2RX00.
INCLUDE PC2RXSK0.
INCLUDE RPPPXD00.
INCLUDE HSKCRZZD_R580D.
INCLUDE HSKCXXL0.
INCLUDE HSKCXXL2.
INCLUDE HSKCXXL6.
INCLUDE RPUMKC00.





INCLUDE MPPREF00. "IV/12
INCLUDE RPPPXM00.
INCLUDE RPCMGR00.
INCLUDE HSKCRZZD_R580I.


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_SK_HIRE_FIRE CALL FUNCTION 'HR_SK_HIRE_FIRE' IMPORTING fire_date = fire hire_date = hire TABLES pphifi = hifi pp0000 = p0000 pp0001 = p0001.

HRPY_PROCESS_SET_ALL_PERNR_ST CALL FUNCTION 'HRPY_PROCESS_SET_ALL_PERNR_ST' EXPORTING imp_parcel = pyparaid imp_set_suc = 'X' TABLES pernr_index = pnpindex.

HR_SK_TRANSFER_BACC_AND_MODULO CALL FUNCTION 'HR_SK_TRANSFER_BACC_AND_MODULO' "SK EXPORTING bank_account_e = t012k-bankn check_modulo10 = ' ' check_modulo11 = ' ' IMPORTING bank_account_i = ucet EXCEPTIONS no_numeric_bacc = 1 too_long_bacc = 2 too_long_prefix_bacc = 3 too_long_bank_subs = 4 too_many_pause_in_bacc = 5 only_zero_bacc = 6 OTHERS = 7.

HR_SK_TRANSFER_BACC_AND_MODULO CALL FUNCTION 'HR_SK_TRANSFER_BACC_AND_MODULO' "SK EXPORTING bank_account_e = t012k-bankn check_modulo10 = ' ' check_modulo11 = ' ' IMPORTING bank_account_i = ucet EXCEPTIONS no_numeric_bacc = 1 too_long_bacc = 2 too_long_prefix_bacc = 3 too_long_bank_subs = 4 too_many_pause_in_bacc = 5 only_zero_bacc = 6 OTHERS = 7.

HR_SK_WRITE_REPORT_HEADER CALL FUNCTION 'HR_SK_WRITE_REPORT_HEADER' EXPORTING date = sy-datum time = sy-uzeit title = text-t11 title2 = lv_title2 no_line = 'X'.

HR_SK_GET_ADR CALL FUNCTION 'HR_SK_GET_ADR' EXPORTING anart = ianart vargu = ivargu IMPORTING a_text = oadr_a b_text = oadr_b c_text = oadr_c d_text = oadr_d f_text = own_f g_text = own_g h_text = own_h i_text = oadr_i k_text = own_k p_text = own_p r_text = own_r adresa = oadr_all c1_text = xwn_c c2_text = ywn_c c3_text = zwn_c psc = own_psc mesto = own_mesto EXCEPTIONS no_data = 1 OTHERS = 2.

HR_READ_INFOTYPE CALL FUNCTION 'HR_READ_INFOTYPE' EXPORTING PERNR = pernr_set-pernr INFTY = '0016' TABLES INFTY_TAB = lt_0016[] EXCEPTIONS INFTY_NOT_FOUND = 1 OTHERS = 2.

HR_READ_INFOTYPE CALL FUNCTION 'HR_READ_INFOTYPE' "IV/10 EXPORTING PERNR = pernr_set-pernr INFTY = '0253' TABLES INFTY_TAB = lt_0253[] EXCEPTIONS INFTY_NOT_FOUND = 1 OTHERS = 2.

HR_SK_HIRE_FIRE CALL FUNCTION 'HR_SK_HIRE_FIRE' IMPORTING fire_date = fire hire_date = hire TABLES pphifi = phifi pp0000 = p0000 pp0001 = p0001.

HR_READ_INFOTYPE CALL FUNCTION 'HR_READ_INFOTYPE' EXPORTING pernr = p_pernr infty = '0000' IMPORTING subrc = ret_code TABLES infty_tab = p0000 EXCEPTIONS infty_not_found = 1 OTHERS = 2.

HR_READ_INFOTYPE CALL FUNCTION 'HR_READ_INFOTYPE' EXPORTING pernr = p_pernr infty = '0001' IMPORTING subrc = ret_code TABLES infty_tab = p0001 EXCEPTIONS infty_not_found = 1 OTHERS = 2.

HR_SK_SPLIT_COMPLETE_FILENAME CALL FUNCTION 'HR_SK_SPLIT_COMPLETE_FILENAME' EXPORTING complete_filename = l_aux_path IMPORTING drive = drive extension = extension name = name path = path EXCEPTIONS invalid_drive = 1 invalid_extension = 2 invalid_name = 3 invalid_path = 4 OTHERS = 5.

GUI_CREATE_DIRECTORY CALL FUNCTION 'GUI_CREATE_DIRECTORY' EXPORTING dirname = l_dir EXCEPTIONS failed = 1 OTHERS = 2.

HR_READ_INFOTYPE CALL FUNCTION 'HR_READ_INFOTYPE' EXPORTING pernr = pernr-pernr infty = '0253' IMPORTING subrc = ret_code TABLES infty_tab = p0253 EXCEPTIONS infty_not_found = 1 OTHERS = 2.

HR_READ_INFOTYPE CALL FUNCTION 'HR_READ_INFOTYPE' EXPORTING pernr = pernr-pernr infty = '0257' IMPORTING subrc = ret_code TABLES infty_tab = p0257 EXCEPTIONS infty_not_found = 1 OTHERS = 2.

HR_READ_INFOTYPE CALL FUNCTION 'HR_READ_INFOTYPE' EXPORTING pernr = lv_rfp infty = '0000' IMPORTING subrc = lv_subrc TABLES infty_tab = p0000 EXCEPTIONS infty_not_found = 1 OTHERS = 2.

HR_READ_INFOTYPE



CALL FUNCTION 'HR_READ_INFOTYPE' EXPORTING pernr = lv_rfp infty = '0000' IMPORTING subrc = lv_subrc TABLES infty_tab = lt_0000 EXCEPTIONS infty_not_found = 1 OTHERS = 2.

HR_READ_INFOTYPE CALL FUNCTION 'HR_READ_INFOTYPE' EXPORTING pernr = lv_rfp infty = '0001' IMPORTING subrc = lv_subrc TABLES infty_tab = lt_0001 EXCEPTIONS infty_not_found = 1 OTHERS = 2.

HR_SK_HIRE_FIRE CALL FUNCTION 'HR_SK_HIRE_FIRE' IMPORTING fire_date = lv_fire hire_date = lv_hire TABLES pphifi = lt_hifi pp0000 = lt_0000 pp0001 = lt_0001.

HR_PERSONAL_WORK_SCHEDULE CALL FUNCTION 'HR_PERSONAL_WORK_SCHEDULE' EXPORTING PERNR = lv_rfp BEGDA = pn-begda ENDDA = pn-endda TABLES PERWS = lt_psp EXCEPTIONS ERROR_OCCURED = 1 ABORT_OCCURED = 2 OTHERS = 3.

HR_READ_INFOTYPE CALL FUNCTION 'HR_READ_INFOTYPE' EXPORTING pernr = lv_rfp infty = '2001' IMPORTING subrc = lv_subrc TABLES infty_tab = p2001 EXCEPTIONS infty_not_found = 1 OTHERS = 2.



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