SAP Reports / Programs | Financial Accounting | General Ledger Accounting | Information System(FI-GL-IS) SAP FI

RFEBCK00 SAP ABAP Report - Cashed Checks







RFEBCK00 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Program RFEBCK00 imports data on cashed checks delivered by the bank...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 RFEBCK00 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

FCKR - International cashed checks


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 RFEBCK00. "Basic submit
SUBMIT RFEBCK00 AND RETURN. "Return to original report after report execution complete
SUBMIT RFEBCK00 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: CK_FILE = Check file with file path
Selection Text: GROUP = Session name
Selection Text: HR_POST = Post payroll acctg checks
Selection Text: I_BLART = Document type
Selection Text: I_BLDAT = Document date
Selection Text: I_BUDAT = Posting date
Selection Text: PA_XBDC = Generate batch input
Selection Text: PCUPLOAD = PC upload
Selection Text: PNUMC = Prenumbered Checks
Selection Text: POST = Post immediately
Selection Text: P_FILE = Print file
Selection Text: P_POST = Print posting log
Selection Text: P_PROT = Detailed log
Selection Text: TESTRUN = Test run (do not post)
Title: Cashed Checks
Text Symbol: 100 = File specifications
Text Symbol: 099 = Check number not in document database
Text Symbol: 098 = Total number of valid prenumbered checks:
Text Symbol: 097 = Other prenumbered checks
Text Symbol: 096 = Payroll checks
Text Symbol: 094 = Already cashed accord. to check register
Text Symbol: 090 = Invalid according to check register
Text Symbol: 089 = Total number of prenumbered checks:
Text Symbol: 088 = Total number of checks that can be processed:
Text Symbol: 087 = Non-prenumbered checks
Text Symbol: 086 = Prenumbered checks
Text Symbol: 085 = several payment methods (no posting)
Text Symbol: 084 = nor in check register (no posting)
Text Symbol: 083 = Prenumbered checks with
Text Symbol: 082 = Check number not in document database
Text Symbol: 081 = Total number of checks to be processed:
Text Symbol: 080 = Amounts do not agree (=> batch input)
Text Symbol: 079 = Amounts agree
Text Symbol: 078 = No open line item (no posting)
Text Symbol: 077 = No valid line item (no posting)
Text Symbol: 076 = Erroneous document number (no posting)
Text Symbol: 075 = Total number of other prenumbered checks:
Text Symbol: 074 = No offsetting account (no posting)





Text Symbol: 101 = Posting parameters
Text Symbol: 136 = Checks Compressed in an HR Posting
Text Symbol: 135 = Amount
Text Symbol: 134 = Messages on Checks
Text Symbol: 133 = Statistic
Text Symbol: 132 = Curr.
Text Symbol: 131 = Posting Log
Text Symbol: 130 = Check number &:
Text Symbol: 122 = account & may not be marked as "cash-relevant" (field SKB1-XGKON)
Text Symbol: 121 = If document & and account & are not correct,
Text Symbol: 120 = Check number &: Document number &: No unique cash-relevant account
Text Symbol: 114 = Company code:
Text Symbol: 113 = Total number of checks to be processed in file:
Text Symbol: 112 = Different amount (no posting)
Text Symbol: 111 = No posting - the check amount does not agree with the amount in the check register.
Text Symbol: 110 = If everything here is OK, posting takes place. Check register is not updated.
Text Symbol: 109 = Amounts do not agree
Text Symbol: 108 = (no posting)
Text Symbol: 107 = Total number of non-prenumbered checks:
Text Symbol: 106 = Do not post (test run)
Text Symbol: 105 = Post payroll checks
Text Symbol: 104 = Generate batch input
Text Symbol: 103 = Post immediately
Text Symbol: 102 = Output control
Text Symbol: 073 = Check number &: No posting - no FI document found.
Text Symbol: 035 = No posting. Manual payroll accounting check
Text Symbol: 034 = Account short key:
Text Symbol: 033 = Account number:
Text Symbol: 032 = Bank short key:
Text Symbol: 031 = Bank Key:
Text Symbol: 030 = Header record
Text Symbol: 028 = No posting - there is no clearing account defined in the Customizing settings for the payment program.
Text Symbol: 027 = Amount:
Text Symbol: 026 = Company code: & House bank: & Acct ID: & Pmnt method: & Currency: &
Text Symbol: 025 = Check the transaction manually
Text Symbol: 024 = then account & must be flagged as ''cash transaction-relevant' (field SKB1-XGKON)
Text Symbol: 023 = If no errors in document & or account &,
Text Symbol: 022 = Check number &: Check appears in several payment methods in check register - no posting.
Text Symbol: 021 = Check number &: Not posted! Check invalid! Voided by & on & - &.





Text Symbol: 020 = Check number &: FI document found.
Text Symbol: 019 = Check number &: Payroll accounting check
Text Symbol: 018 = Check number &: In document database, but not in check register. will not be updated.
Text Symbol: 017 = Check number &: document & contains no line items with G/L account a valid outgoing check account -> no posting will be made
Text Symbol: 016 = Check number &: document number &: all specifications correct.
Text Symbol: 015 = Check number &: document number &: check amount not equal to document amount
Text Symbol: 014 = Check number &: Document number & already cleared, therefore no posting made
Text Symbol: 013 = in the document database -> no posting will be made made
Text Symbol: 012 = Check number &: Check already marked as "cashed" in check register -> no posting will be made
Text Symbol: 011 = Check number &: Not posted. Check is not in check register or in document database
Text Symbol: 010 = Check number &: The document number &, found in the check register does not exist will be made
Text Symbol: 008 = **********************************************************************************************************************************
Text Symbol: 007 = **** Test run ** Test run ** Test run ** Test run ** Test run ** Test run ** ****
Text Symbol: 005 = Posting log
Text Symbol: 004 = Batch input log session &
Text Symbol: 003 = Processing log
Text Symbol: 002 = Check File & Printout
Text Symbol: 072 = No posting (parameters)
Text Symbol: 071 = No posting/transactions
Text Symbol: 070 = successfully posted/transactions
Text Symbol: 069 = Of which:
Text Symbol: 068 = ===============
Text Symbol: 067 = Total number of checks selected for posting:
Text Symbol: 066 = Manual checks (no posting)
Text Symbol: 065 = Payment Method:
Text Symbol: 064 = Warning: Check is NOT marked as "cashed" is check register
Text Symbol: 063 = Total number or payroll accounting checks:
Text Symbol: 062 = Total no.:
Text Symbol: 061 = Identification:
Text Symbol: 060 = >>>> Error & &:
Text Symbol: 059 = Day of execution:
Text Symbol: 058 = Business Area:
Text Symbol: 057 = Make postings manually
Text Symbol: 056 = No HR checks posted (parameters)
Text Symbol: 055 = Total amount:
Text Symbol: 054 = Compressed check numbers of HR posting:
Text Symbol: 053 = HR checks
Text Symbol: 052 = Value date
Text Symbol: 051 = G/L account



Text Symbol: 049 = Document could not be found. Data generated for batch input.
Text Symbol: 048 = Document & was posted in company code &.
Text Symbol: 047 = Error when trying to mark the check as "cashed" in the check register
Text Symbol: 046 = Check in check register marked as "cashed"
Text Symbol: 045 = Test run: No update in table PAYR
Text Symbol: 044 = Test run: The session & was not created. It contains & transactions in a production run.
Text Symbol: 043 = The session & was created. It contains & transactions.
Text Symbol: 042 = Selected document no.:
Text Symbol: 040 = No Cashing Date, But Cheque Still Flagged as 'Cashed'


INCLUDES used within this REPORT RFEBCK00

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:

FILE_VALIDATE_NAME CALL FUNCTION 'FILE_VALIDATE_NAME' EXPORTING logical_filename = gc_filename parameter_1 = sy-repid parameter_2 = i_blart parameter_3 = group CHANGING physical_filename = ck_file EXCEPTIONS OTHERS = 1.

KD_GET_FILENAME_ON_F4 * CALL FUNCTION 'KD_GET_FILENAME_ON_F4' "mo271101 * EXPORTING * STATIC = 'X' * CHANGING * FILE_NAME = CK_FILE.

POSTING_INTERFACE_CLEARING CALL FUNCTION 'POSTING_INTERFACE_CLEARING' EXPORTING i_auglv = 'AUSGZAHL' i_tcode = 'FB05' * IMPORTING E_SUBRC = SUBRC * E_MSGID = MSGID * E_MSGTY = MSGTY * E_MSGNO = MSGNO * E_MSGV1 = MSGV1 * E_MSGV2 = MSGV2 * E_MSGV3 = MSGV3 * E_MSGV4 = MSGV4 TABLES t_ftpost = ftpost t_ftclear = ftclear t_fttax = fttax t_blntab = blntab.

EB_CURRENCY_CODE_ISO_TO_SAP CALL FUNCTION 'EB_CURRENCY_CODE_ISO_TO_SAP' "ak010999 EXPORTING id_iso_code = head-iso_curr_code id_bankl = t012-bankl id_bnkn2 = bnkn2 IMPORTING ed_sap_code = sap_curr_code EXCEPTIONS no_unique_account = 0. "ak171199

GET_BANK_ACCOUNT CALL FUNCTION 'GET_BANK_ACCOUNT' EXPORTING i_bankl = t012-bankl I_BNKN2 = BNKN2 "hw822973 i_waers = sap_curr_code "ak020699 IMPORTING e_t012 = t012 e_t012k = t012k.

WS_UPLOAD * CALL FUNCTION 'WS_UPLOAD' "UC * EXPORTING * FILENAME = CK_FILE * FILETYPE = 'ASC' * TABLES * DATA_TAB = CHECKS * EXCEPTIONS * FILE_OPEN_ERROR = 1 * FILE_READ_ERROR = 2.

FILE_VALIDATE_NAME CALL FUNCTION 'FILE_VALIDATE_NAME' EXPORTING logical_filename = gc_filename parameter_1 = sy-repid parameter_2 = i_blart parameter_3 = group CHANGING physical_filename = ck_file EXCEPTIONS OTHERS = 1.

POSTING_INTERFACE_END CALL FUNCTION 'POSTING_INTERFACE_END'.

POSTING_INTERFACE_START CALL FUNCTION 'POSTING_INTERFACE_START' EXPORTING i_function = function i_mode = mode i_group = groupname i_user = i_user i_xbdcc = xbdcc.

POSTING_INTERFACE_DOCUMENT CALL FUNCTION 'POSTING_INTERFACE_DOCUMENT' EXPORTING i_tcode = tcode IMPORTING e_msgid = msgid e_msgno = msgno e_msgty = msgty e_msgv1 = msgv1 e_msgv2 = msgv2 e_msgv3 = msgv3 e_msgv4 = msgv4 e_subrc = subrc TABLES t_blntab = blntab t_ftpost = ftpost t_fttax = fttax EXCEPTIONS * ACCOUNT_MISSING = 1 * COMPANY_CODE_MISSING = 2 * POSTING_KEY_INVALID = 3 * POSTING_KEY_MISSING = 4 * RECORD_TYPE_INVALID = 5 * TRANSACTION_CODE_INVALID = 6 * AMOUNT_FORMAT_ERROR = 7 * TOO_MANY_LINE_ITEMS = 8 OTHERS = 9.

FI_FIELD_SELECTION_DETERMINE call function 'FI_FIELD_SELECTION_DETERMINE' "note 786178 EXPORTING i_bschl = '40' i_bukrs = T012K-BUKRS i_saknr = t012k-hkont IMPORTING e_faus1 = faus1 EXCEPTIONS customizing = 1 others = 2.

FI_FIELD_SELECTION_DETERMINE call function 'FI_FIELD_SELECTION_DETERMINE' "note 786178 EXPORTING i_bschl = '50' i_bukrs = T012K-BUKRS i_saknr = t012k-hkont IMPORTING e_faus1 = faus1 EXCEPTIONS customizing = 1 others = 2.

CURRENCY_CODE_ISO_TO_SAP * CALL FUNCTION 'CURRENCY_CODE_ISO_TO_SAP' * EXPORTING * ISO_CODE = P_ISO_CODE * IMPORTING * SAP_CODE = P_SAP_CODE * UNIQUE = UNIQUE * EXCEPTIONS * NOT_FOUND = 1 * OTHERS = 2.

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING i_callback_program = gv_repid * i_callback_pf_status_set = 'HANDLE_EVENT_PF_STATUS' * i_callback_user_command = 'HANDLE_EVENT_USER_COMMAND' is_layout = ls_layo it_fieldcat = lt_fcat it_events = lt_evts1 is_print = ls_prnt TABLES t_outtab = gt_outtab_file EXCEPTIONS program_error = 1 OTHERS = 2.

FAGL_BATCH_HEADING_PERFORM CALL FUNCTION 'FAGL_BATCH_HEADING_PERFORM' EXPORTING is_bhdgd = bhdgd.

REUSE_ALV_COMMENTARY_WRITE CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING it_list_commentary = gt_header1.

REUSE_ALV_EVENTS_GET CALL FUNCTION 'REUSE_ALV_EVENTS_GET' EXPORTING i_list_type = 0 IMPORTING et_events = xt_eventtab_list1 EXCEPTIONS list_type_wrong = 1 OTHERS = 2.

REUSE_ALV_HIERSEQ_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_HIERSEQ_LIST_DISPLAY' EXPORTING i_callback_program = gv_repid is_layout = ls_layo it_fieldcat = lt_fcat it_events = lt_evts2 i_tabname_header = gc_2m i_tabname_item = gc_2s is_keyinfo = ls_key is_print = ls_prnt TABLES t_outtab_header = gt_outtab_chkhdr t_outtab_item = gt_outtab_chkdet EXCEPTIONS program_error = 1 OTHERS = 2.

FAGL_BATCH_HEADING_PERFORM CALL FUNCTION 'FAGL_BATCH_HEADING_PERFORM' EXPORTING is_bhdgd = bhdgd.

REUSE_ALV_COMMENTARY_WRITE CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING it_list_commentary = gt_header1.

REUSE_ALV_HIERSEQ_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_HIERSEQ_LIST_DISPLAY' EXPORTING i_callback_program = gv_repid is_layout = ls_layo it_fieldcat = lt_fcat it_events = lt_evts3 i_tabname_header = gc_3m i_tabname_item = gc_3s is_keyinfo = ls_key is_print = ls_prnt TABLES t_outtab_header = gt_outtab_post_ok t_outtab_item = gt_outtab_postdet_ok EXCEPTIONS program_error = 1 OTHERS = 2.

FAGL_BATCH_HEADING_PERFORM CALL FUNCTION 'FAGL_BATCH_HEADING_PERFORM' EXPORTING is_bhdgd = bhdgd.

REUSE_ALV_COMMENTARY_WRITE CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING it_list_commentary = gt_header1.

REUSE_ALV_HIERSEQ_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_HIERSEQ_LIST_DISPLAY' EXPORTING i_callback_program = gv_repid is_layout = ls_layo it_fieldcat = lt_fcat it_events = lt_evts4 i_tabname_header = gc_3m i_tabname_item = gc_3s is_keyinfo = ls_key is_print = ls_prnt TABLES t_outtab_header = gt_outtab_post_err t_outtab_item = gt_outtab_postdet_err EXCEPTIONS program_error = 1 OTHERS = 2.

FAGL_BATCH_HEADING_PERFORM CALL FUNCTION 'FAGL_BATCH_HEADING_PERFORM' EXPORTING is_bhdgd = bhdgd.

REUSE_ALV_COMMENTARY_WRITE CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING it_list_commentary = gt_header1.

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING i_callback_program = gv_repid is_layout = ls_layo it_fieldcat = lt_fcat it_events = lt_evts5 TABLES t_outtab = gt_outtab_hrpost EXCEPTIONS program_error = 1 OTHERS = 2.

FAGL_BATCH_HEADING_PERFORM CALL FUNCTION 'FAGL_BATCH_HEADING_PERFORM' EXPORTING is_bhdgd = bhdgd.

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING i_callback_program = gv_repid is_layout = ls_layo it_fieldcat = lt_fcat it_events = lt_evts6 is_print = ls_prnt TABLES t_outtab = gt_outtab_stats EXCEPTIONS program_error = 1 OTHERS = 2.

FAGL_BATCH_HEADING_PERFORM CALL FUNCTION 'FAGL_BATCH_HEADING_PERFORM' EXPORTING is_bhdgd = bhdgd.

REUSE_ALV_COMMENTARY_WRITE CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING it_list_commentary = gt_header1.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_structure_name = ic_struc CHANGING ct_fieldcat = xt_fcat EXCEPTIONS inconsistent_interface = 1 program_error = 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 RFEBCK00 or its description.