SAP Reports / Programs | Financial Accounting | Accounts Payable | Payment Transactions(FI-AP-AP-PT) SAP FI

RFEBFI20 SAP ABAP Report - Account Statement for Finland in TITO Format







RFEBFI20 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 RFEBFI20 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 RFEBFI20. "Basic submit
SUBMIT RFEBFI20 AND RETURN. "Return to original report after report execution complete
SUBMIT RFEBFI20 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: Account Statement for Finland in TITO Format
Text Symbol: 001 = Table FEBKO already has an entry with key & & &
Text Symbol: 002 = Table FEBVW already has an entry with key & & &
Text Symbol: 003 = Sup.type
Text Symbol: 004 = :
Text Symbol: 005 = Level 1
Text Symbol: 006 = Level 2
Text Symbol: 007 = Line items
Text Symbol: 008 = Stmt
Text Symbol: 009 = - Apportionment by sub-item -
Text Symbol: 010 = Acct number
Text Symbol: 011 = Statement no.
Text Symbol: 012 = Line items
Text Symbol: 013 = Stmt date
Text Symbol: 014 = Level
Text Symbol: 016 = Details on individual sales
Text Symbol: 017 = Amount
Text Symbol: 018 = BTC
Text Symbol: 019 = Posting text
Text Symbol: 020 = Business partner
Text Symbol: 021 = Reference number


INCLUDES used within this REPORT RFEBFI20

INCLUDE RFEBFI23.
INCLUDE RFEBFI24.
INCLUDE RFEBKA03.


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:

DEQUEUE_ALL CALL FUNCTION 'DEQUEUE_ALL'.

WS_UPLOAD * CALL FUNCTION 'WS_UPLOAD' * EXPORTING * FILENAME = P_P_INPUT * FILETYPE = 'ASC' * TABLES * DATA_TAB = ITAB_INPUT * EXCEPTIONS * CONVERSION_ERROR = 1 * FILE_OPEN_ERROR = 2 * OTHERS = 9.

CONVERT_YEAR_WITH_THRESHOLD CALL FUNCTION 'CONVERT_YEAR_WITH_THRESHOLD' EXPORTING INPUT = NUMC02 * THRESHOLD = 50 IMPORTING OUTPUT = NUMC04 EXCEPTIONS OTHERS = 1.

CUSTOMIZED_MESSAGE CALL FUNCTION 'CUSTOMIZED_MESSAGE' "note 428736 EXPORTING I_ARBGB = 'FB' I_DTYPE = 'A' I_MSGNR = '772' I_VAR01 = FEBKO-ABSND I_VAR02 = FEBKO-AZIDT I_VAR03 = *FEBKO-AZIDT.

EB_CURRENCY_CODE_ISO_TO_SAP CALL FUNCTION 'EB_CURRENCY_CODE_ISO_TO_SAP' "ak010999 EXPORTING ID_ISO_CODE = ISO_CODE ID_BANKL = BANKL ID_BNKN2 = BNKN2 IMPORTING ED_SAP_CODE = SAP_CODE EXCEPTIONS *-- explicit handling of OTHERS not necessary here since no "ak181199 *-- ROLLBACK_FEBKO required NO_UNIQUE_ACCOUNT = 0.

GET_BANK_ACCOUNT CALL FUNCTION 'GET_BANK_ACCOUNT' EXPORTING I_BANKL = BANKL I_WAERS = FEBKO-WAERS I_BNKN2 = BNKN2 IMPORTING E_T012 = T012 E_T012K = T012K EXCEPTIONS OTHERS = 1. "ak221099

GET_SHORTKEY_FOR_FEBKO CALL FUNCTION 'GET_SHORTKEY_FOR_FEBKO' EXPORTING I_TNAME = 'FEBKO' IMPORTING E_KUKEY = FEBKO-KUKEY EXCEPTIONS FEBKEY_UPDATE_ERROR = 1.

ENQUEUE_E_FEBKO CALL FUNCTION 'ENQUEUE_E_FEBKO' EXPORTING ANWND = FEBKO-ANWND ABSND = FEBKO-ABSND AZIDT = FEBKO-AZIDT EXCEPTIONS FOREIGN_LOCK = 1.

GET_POSTING_RULE CALL FUNCTION 'GET_POSTING_RULE' EXPORTING * I_VORGC = * I_BUTXT = * I_TEXTS = I_VOZPM = VOZPM I_VGTYP = FEBKO-VGTYP I_VGEXT = XFEBEP-VGEXT * I_USING_DEFAULT = 'X' IMPORTING * E_VGEXT = E_VGINT = XFEBEP-VGINT E_INTAG = XFEBEP-INTAG * E_VGSAP = * E_PFORM = E_USING_DEFAULT = XFEBEP-VGDEF EXCEPTIONS NOT_FOUND = 1 INPUT_WRONG = 2 OTHERS = 3.

EXIT_RFEBFI20_001 CALL FUNCTION 'EXIT_RFEBFI20_001' EXPORTING I_FEBKO = FEBKO I_FEBVW = FEBVW IMPORTING E_FEBKO = R_FEBKO E_FEBVW = R_FEBVW * E_MSGTEXT = * E_MSGTYP = * E_UPDATE = TABLES T_FEBEP = XFEBEP T_FEBRE = XFEBRE * T_FEBMS = T_BASE_REC_ACC_STMT = BASE_REC_ACC_STMT T_BASE_REC_TRANS = BASE_REC_TRANS T_ADD_REC_TRANS = ADD_REC_TRANS T_BALANCE_REC = BALANCE_REC T_CUM_BASE_REC = CUM_BASE_REC T_CUM_CORR_REC = CUM_CORR_REC T_SPEC_REC = SPEC_REC T_MESS_REC = MESS_REC T_BASE_REC_NOTIF = BASE_REC_NOTIF T_ADD_REC_NOTIF = ADD_REC_NOTIF EXCEPTIONS OTHERS = 0.

EB_CURRENCY_CODE_ISO_TO_SAP * CALL FUNCTION 'EB_CURRENCY_CODE_ISO_TO_SAP' "ak010999 * EXPORTING * ID_ISO_CODE = ISO_CODE * ID_BANKL = BANKL * ID_BNKN2 = BNKN2 * IMPORTING * ED_SAP_CODE = SAP_CODE * EXCEPTIONS * NO_UNIQUE_ACCOUNT = 0. "ak181199

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_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING I_PROGRAM_NAME = G_REPID I_STRUCTURE_NAME = G_STRUCTURE_HEADER CHANGING CT_FIELDCAT = LT_FIELDCAT EXCEPTIONS INCONSISTENT_INTERFACE = 1 PROGRAM_ERROR = 2 OTHERS = 3.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING I_PROGRAM_NAME = G_REPID I_STRUCTURE_NAME = G_STRUCTURE CHANGING CT_FIELDCAT = LT_FIELDCAT 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 RFEBFI20 or its description.