RFCHKR10 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Using the check management function
If you would like to execute this report or see the full code listing simply enter RFCHKR10 into the relevant SAP transactions such as SE38 or SE80
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: PAR_ZBUK = D Paying Company Code
Selection Text: PAR_XPER = D Payroll checks
Selection Text: PAR_VOID = D Void Reason Code
Selection Text: PAR_HKTI = D Account ID
Selection Text: PAR_HBKI = D House Bank
Selection Text: PAR_CHKT = D Check Number
Selection Text: PAR_CHKF = D Check number from
Title: Cancel the transaction 'reprint'
Text Symbol: 033 = Comment
Text Symbol: 032 = Reprinted
Text Symbol: 031 = Original Check
Text Symbol: 029 = System Error
Text Symbol: 023 = Change Not Wanted
Text Symbol: 022 = Blocked by &
Text Symbol: 021 = Canceled by User
Text Symbol: 020 = OK
Text Symbol: 015 = |CoCd|Bank |Accnt|Original check|Reprinted |Comment |
Text Symbol: 014 = Without Confirmation
Text Symbol: 013 = With Confirmation
Text Symbol: 012 = transaction?
Text Symbol: 011 = Also confirm individual
Text Symbol: 010 = in the system.
Text Symbol: 009 = is to be reset
Text Symbol: 008 = The reprint check information
Text Symbol: 007 = Cancel Reprint
Text Symbol: 006 = removed from the check admin.?
Text Symbol: 005 = Do you want this transaction to be
Text Symbol: 004 = ..
Text Symbol: 003 = and reprinted on check &2..........
Text Symbol: 002 = Check &1........... is voided
Text Symbol: 001 = Details on the accidentally reprinted check
INCLUDE RFCHKI99.
No SAP DATABASE tables are accessed within this REPORT code!
RH_APPLICATION_SYSTEM_CHECK CALL FUNCTION 'RH_APPLICATION_SYSTEM_CHECK' IMPORTING application_system_type = g_application_system_type EXCEPTIONS system_type_unknown = 1 basis_system = 2 OTHERS = 3.
HR_PROGRAM_CHECK_AUTHORIZATION CALL FUNCTION 'HR_PROGRAM_CHECK_AUTHORIZATION' EXPORTING repid = ge_repid IMPORTING subrc = g_subrc.
FI_VOID_REASON_CODE_GETDETAIL CALL FUNCTION 'FI_VOID_REASON_CODE_GETDETAIL' EXPORTING i_voidr = par_void IMPORTING e_tvoid = l_tvoid_bf EXCEPTIONS OTHERS = 1.
HR_CHECK_AUTHORITY_PERNR CALL FUNCTION 'HR_CHECK_AUTHORITY_PERNR' EXPORTING PERNR = payr-PERNR BEGDA = payr-LAUFD ENDDA = payr-LAUFD EXCEPTIONS OTHERS = 4.
POPUP_TO_DECIDE_WITH_MESSAGE CALL FUNCTION 'POPUP_TO_DECIDE_WITH_MESSAGE' EXPORTING diagnosetext1 = text-008 diagnosetext2 = text-009 diagnosetext3 = text-010 textline1 = text-011 textline2 = text-012 text_option1 = text-013 text_option2 = text-014 titel = text-007 IMPORTING answer = hlp_dialog.
ENQUEUE_EFPAYR CALL FUNCTION 'ENQUEUE_EFPAYR' EXPORTING zbukr = payr-zbukr hbkid = payr-hbkid hktid = payr-hktid rzawe = payr-rzawe chect = payr-chect EXCEPTIONS foreign_lock = 8.
ENQUEUE_EFPAYR CALL FUNCTION 'ENQUEUE_EFPAYR' EXPORTING zbukr = *payr-zbukr hbkid = *payr-hbkid hktid = *payr-hktid rzawe = *payr-rzawe chect = *payr-chect EXCEPTIONS foreign_lock = 8.
POPUP_TO_CONFIRM_WITH_MESSAGE CALL FUNCTION 'POPUP_TO_CONFIRM_WITH_MESSAGE' EXPORTING defaultoption = 'J' diagnosetext1 = hlp_text1 diagnosetext2 = hlp_text2 diagnosetext3 = hlp_text3 textline1 = text-005 textline2 = text-006 titel = text-007 IMPORTING answer = hlp_answer.
DEQUEUE_ALL CALL FUNCTION 'DEQUEUE_ALL'.
REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING i_callback_program = gv_repid i_callback_pf_status_set = gc_pf_status i_default = gc_checked is_layout = ls_layo_list it_fieldcat = lt_fcat_list is_print = ls_prnt_list TABLES t_outtab = gt_outtab_list EXCEPTIONS program_error = 1 OTHERS = 2.
REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_structure_name = gc_structure_list CHANGING ct_fieldcat = xt_fcat EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.