SAP Reports / Programs

RFEBBE00_NACC SAP ABAP Report - CODA - Convert Belgium Bank Statement to Multicash Format







RFEBBE00_NACC 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 RFEBBE00_NACC 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 RFEBBE00_NACC. "Basic submit
SUBMIT RFEBBE00_NACC AND RETURN. "Return to original report after report execution complete
SUBMIT RFEBBE00_NACC 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: PAR_AUSZ = Statement File (Multicash)
Selection Text: PAR_CGRS = Code for Transfer Amount
Selection Text: PAR_CNET = -
Selection Text: PAR_DETA = Post Detailed Information
Selection Text: PAR_DINP = CODA Input File
Selection Text: PAR_DOUT = Multicash Output File
Selection Text: PAR_ERRO = -
Selection Text: PAR_ETFR = -
Selection Text: PAR_EXUS = -
Selection Text: PAR_GROS = -
Selection Text: PAR_ITFR = -
Selection Text: PAR_PCFI = File Name
Selection Text: PAR_PROT = -
Selection Text: PAR_SIMU = -
Selection Text: PAR_UMSA = Line Item File (Multicash)
Selection Text: PAR_UNFI = -
Selection Text: PAR_UPLO = Upload from PC
Selection Text: PAR_VALD = -
Selection Text: PAR_VARI = Variant for Multicash Program
Selection Text: PAR_VATC = Tax Code for Bank Costs
Selection Text: PAR_XEXT = -
Selection Text: PAR_XINT = -
Selection Text: P_EXT = -
Selection Text: S_ACCNR = Bank Account No. (Lgth 12)
Selection Text: S_BKEXT = Extended ID (Length 15)
Selection Text: S_EXTNR = Statement Number
Selection Text: S_INTCD = Bank Account Currency
Selection Text: S_INTCD2 = Extended ID (Length 6)
Title: CODA - Convert Belgium Bank Statement to Multicash Format
Text Symbol: VAT = Tax Code for Bank Costs
Text Symbol: VAL = Posting Date is Value Date
Text Symbol: PRO = External Transaction with Log Number
Text Symbol: L01 = File Name (Unix or PC)
Text Symbol: EXU = UserExit
Text Symbol: E17 = Bank acct - Bank statemt NOT selected
Text Symbol: E16 = Bank acct - Bank statemt selected
Text Symbol: E15 = Error when opening file
Text Symbol: E14 = Error during currency specification





Text Symbol: E09 = Error: Rec 2, part 1, pos 0000 missing
Text Symbol: E08 = Error: Start and/or end record missing
Text Symbol: E07 = Difference:
Text Symbol: E06 = ERROR: Calculated Ending Bal. <> Statement End. Bal.,
Text Symbol: E05 = ERROR: More than 1 Entry for Account in 012K
Text Symbol: E04 = ERROR: Records Missing from Statement File
Text Symbol: 022 = No Valid Records in the File
Text Symbol: 021 = Splitting
Text Symbol: 020 = External Transaction Not Assigned
Text Symbol: 019 = Account Determination - Symbol Was Not Replaced
Text Symbol: 018 = Account Determination - No Posting Specifications
Text Symbol: 017 = Account Determination - Entry Incorrect
Text Symbol: 016 = Account Determination - Entry Missing
Text Symbol: 015 = -
Text Symbol: 014 = SEQ Statemt no. Int. Area It. Pk Account Amount Message
Text Symbol: 013 = -
Text Symbol: 012 = Posting Simulation (Account / Statmt.no./ Company ).
Text Symbol: 011 = ------------------------------------------------------------------------------------------------
Text Symbol: 010 = Bank account Statemnt Log Begin. Balance Sum of Debits Sum of Credits End. bal. Statm / Calculated
Text Symbol: 009 = ----------------
Text Symbol: 008 = Coda Bnk Statmnt
Text Symbol: 007 = No Files Converted (Due to Errors)
Text Symbol: 006 = -------------------------------
Text Symbol: 005 = Multicash Line Item File (Outp)
Text Symbol: 004 = --------------------------------
Text Symbol: 003 = MultiCash Statement File (Outpt)
Text Symbol: 002 = ------------------
Text Symbol: 001 = CODA Input File
Text Symbol: E03 = ERROR: Entry Missing in T028B
Text Symbol: E02 = ERROR: Entry Missing in T012K
Text Symbol: E01 = Parameter Selection Incompat.
Text Symbol: DOC = Structured Message Contains the Document Number
Text Symbol: BSI = Complete Log
Text Symbol: BI1 = Company Code House Bank Accts: New Ext. Trans.
Text Symbol: BGR = Clear with Transfer Amount
Text Symbol: BER = Only log with missing transactions
Text Symbol: BE2 = Dummy Ext. Transaction
Text Symbol: BE1 = House Bank Accts (Foreign Companies): New Ext. Trans.
Text Symbol: B13 = Bank Account and/or Statement Selection





Text Symbol: B12 = Posting Simulation
Text Symbol: B11 = Posting Area 2 - Clearing with Net or Transfer Amount
Text Symbol: B10 = Change ext. transactn for house bank accts
Text Symbol: B08 = General Posting Parameters
Text Symbol: B07 = Files
Text Symbol: B06 = Lists
Text Symbol: B05 = Access Multicash Progrm
Text Symbol: B04 = CODA Tax and Detailed Postings
Text Symbol: B03 = Posting Control
Text Symbol: B02 = Output
Text Symbol: B01 = Input File


INCLUDES used within this REPORT RFEBBE00_NACC

INCLUDE RFEBKAT9_NACC.


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 CHANGING physical_filename = PAR_PCFI EXCEPTIONS OTHERS = 1.

FILE_VALIDATE_NAME CALL FUNCTION 'FILE_VALIDATE_NAME' EXPORTING logical_filename = gc_filename CHANGING physical_filename = PAR_PCFI EXCEPTIONS OTHERS = 1.

EXIT_RFEBBE00_001 CALL FUNCTION 'EXIT_RFEBBE00_001' EXPORTING I_NBVWZ = HLP_NBVWZ " Number of note to paye I_C1 = C1 " CODA record 1 I_AGKTO = UMSATZ-AGKTO " Partner bank account I_AGBNK = UMSATZ-AGBNK IMPORTING E_AGKTO = UMSATZ-AGKTO " Partner bank account E_AGBNK = UMSATZ-AGBNK TABLES T_C21 = T_C21 T_C22 = T_C22 T_C23 = T_C23 T_C31 = T_C31 T_C32 = T_C32 T_C33 = T_C33 T_C4 = T_C4 T_VWZ = T_VWZ.

FILE_VALIDATE_NAME CALL FUNCTION 'FILE_VALIDATE_NAME' EXPORTING logical_filename = gc_filename CHANGING physical_filename = PAR_AUSZ EXCEPTIONS OTHERS = 1.

FILE_VALIDATE_NAME CALL FUNCTION 'FILE_VALIDATE_NAME' EXPORTING logical_filename = gc_filename CHANGING physical_filename = PAR_UMSA EXCEPTIONS OTHERS = 1.

WS_UPLOAD * CALL FUNCTION 'WS_UPLOAD' * EXPORTING * FILENAME = PCFILE * FILETYPE = 'ASC' * TABLES * DATA_TAB = CC * EXCEPTIONS * FILE_OPEN_ERROR = 1 * FILE_READ_ERROR = 2.

UPLOAD * CALL FUNCTION 'UPLOAD' * EXPORTING * FILENAME = PCFILE * FILETYPE = 'ASC' * ITEM = PCFILE * TABLES * DATA_TAB = CC.

ACCOUNT_DETERMINATION CALL FUNCTION 'ACCOUNT_DETERMINATION' EXPORTING I_ANWND = '0001' I_EIGR1 = HLP_VGINT I_EIGR2 = '1 ' "AD_BEREICH I_EIGR3 = ' ' I_EIGR4 = ' ' I_FPART = ' ' I_KOMO1 = '+ ' " acc. modification

ACCOUNT_DETERMINATION CALL FUNCTION 'ACCOUNT_DETERMINATION' EXPORTING I_ANWND = '0001' I_EIGR1 = HLP_VGINT I_EIGR2 = '1 ' "AD_BEREICH I_EIGR3 = ' ' I_EIGR4 = ' ' I_FPART = ' ' I_KOMO1 = '+ ' " acc. modification

GET_BANK_ACCOUNT CALL FUNCTION 'GET_BANK_ACCOUNT' EXPORTING I_BNKN2 = BNKN2 IMPORTING E_T012 = T012 E_T012K = T012K EXCEPTIONS BANK_ACCOUNT_NOT_FOUND = 01 BANK_KEY_FALSE = 02 BANK_KEY_NOT_FOUND = 03 MULTIPLE_BANK_ACCOUNT = 04 INPUT_WRONG = 05 CURRENCY_FALSE = 06 CURRENCY_NOT_FOUND = 07.

GET_BANK_ACCOUNT CALL FUNCTION 'GET_BANK_ACCOUNT' EXPORTING I_BANKN = BANKN IMPORTING E_T012 = T012 E_T012K = T012K EXCEPTIONS BANK_ACCOUNT_NOT_FOUND = 01 BANK_KEY_FALSE = 02 BANK_KEY_NOT_FOUND = 03 MULTIPLE_BANK_ACCOUNT = 04 INPUT_WRONG = 05 CURRENCY_FALSE = 06 CURRENCY_NOT_FOUND = 07.

STRING_SPLIT CALL FUNCTION 'STRING_SPLIT' EXPORTING DELIMITER = C_DELIM STRING = HLP_COMMU IMPORTING HEAD = HLP_SCHNR TAIL = HLP_COMMU EXCEPTIONS NOT_FOUND = 1 NOT_VALID = 2 TOO_LONG = 3 TOO_SMALL = 4.

FILE_VALIDATE_NAME



CALL FUNCTION 'FILE_VALIDATE_NAME' EXPORTING logical_filename = gc_filename parameter_1 = sy-cprog physical_filename = PAR_AUSZ EXCEPTIONS OTHERS = 1.

FILE_VALIDATE_NAME CALL FUNCTION 'FILE_VALIDATE_NAME' EXPORTING logical_filename = gc_filename parameter_1 = sy-cprog physical_filename = PAR_UMSA EXCEPTIONS OTHERS = 1.



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