SAP Reports / Programs

RFEBFR20 SAP ABAP Report - Import Electronic Bank Statement (France)







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


Text pool values


Title: Import Electronic Bank Statement (France)


INCLUDES used within this REPORT RFEBFR20

INCLUDE RFEBKA03.
INCLUDE RFEBFR03.


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'.

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

EB_CURRENCY_CODE_ISO_TO_SAP CALL FUNCTION 'EB_CURRENCY_CODE_ISO_TO_SAP' "ak310899 EXPORTING ID_ISO_CODE = ISO_CODE ID_BANKL = FEBVW-BANKL ID_BNKN2 = BNKN2 IMPORTING ED_SAP_CODE = SAP_CODE EXCEPTIONS NO_UNIQUE_ACCOUNT = 0 "ak181199 OTHERS = 1.

EB_CURRENCY_CODE_ISO_TO_SAP CALL FUNCTION 'EB_CURRENCY_CODE_ISO_TO_SAP' "ak310899 EXPORTING ID_ISO_CODE = 'EUR' ID_BANKL = FEBVW-BANKL ID_BNKN2 = BNKN2 IMPORTING ED_SAP_CODE = SAP_EUR_CODE EXCEPTIONS NO_UNIQUE_ACCOUNT = 0 "ak181199 OTHERS = 1.

EB_CURRENCY_CODE_ISO_TO_SAP CALL FUNCTION 'EB_CURRENCY_CODE_ISO_TO_SAP' "ak310899 EXPORTING ID_ISO_CODE = 'FRF' ID_BANKL = FEBVW-BANKL ID_BNKN2 = BNKN2 IMPORTING ED_SAP_CODE = SAP_FRF_CODE EXCEPTIONS NO_UNIQUE_ACCOUNT = 0 "ak181199 OTHERS = 1.

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

EB_CURRENCY_CODE_ISO_TO_SAP CALL FUNCTION 'EB_CURRENCY_CODE_ISO_TO_SAP' "ak310899 EXPORTING ID_ISO_CODE = ISO_CODE ID_BANKL = FEBVW-BANKL ID_BNKN2 = BNKN2 IMPORTING ED_SAP_CODE = SAP_CODE EXCEPTIONS NO_UNIQUE_ACCOUNT = 0 "ak181199 OTHERS = 1.

CONVERT_TO_FOREIGN_CURRENCY CALL FUNCTION 'CONVERT_TO_FOREIGN_CURRENCY' EXPORTING DATE = FEBEP-BVDAT FOREIGN_CURRENCY = FEBEP-FWAER LOCAL_AMOUNT = FEBEP-KWBTR LOCAL_CURRENCY = FEBEP-KWAER IMPORTING FOREIGN_AMOUNT = FEBEP-FWBTR EXCEPTIONS NO_RATE_FOUND = 1 OVERFLOW = 2 NO_FACTORS_FOUND = 3 NO_SPREAD_FOUND = 4 DERIVED_2_TIMES = 5 OTHERS = 6.

CONVERT_TO_FOREIGN_CURRENCY CALL FUNCTION 'CONVERT_TO_FOREIGN_CURRENCY' EXPORTING DATE = FEBEP-BVDAT FOREIGN_CURRENCY = FEBEP-KWAER LOCAL_AMOUNT = FEBEP-FWBTR LOCAL_CURRENCY = FEBEP-FWAER IMPORTING FOREIGN_AMOUNT = CAMOUNT EXCEPTIONS NO_RATE_FOUND = 1 OVERFLOW = 2 NO_FACTORS_FOUND = 3 NO_SPREAD_FOUND = 4 DERIVED_2_TIMES = 5 OTHERS = 6.

WS_UPLOAD * CALL FUNCTION 'WS_UPLOAD' ** EXPORTING FILENAME = INPUT-FILE * EXPORTING FILENAME = AUSZUG-FILE * FILETYPE = 'ASC' * TABLES * DATA_TAB = BDATA * EXCEPTIONS * FILE_OPEN_ERROR = 1 * FILE_READ_ERROR = 2.

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

GET_BANK_ACCOUNT CALL FUNCTION 'GET_BANK_ACCOUNT' EXPORTING I_BANKL = FEBVW-BANKL * i_bankn = febko-ktonr "ak280998 I_WAERS = FEBKO-WAERS I_BNKN2 = BNKN2 "ak280998 IMPORTING E_T012 = T012 E_T012K = T012K EXCEPTIONS "ak260199 * BANK_ACCOUNT_NOT_FOUND = 1 "ak260199 * BANK_KEY_FALSE = 2 "ak260199 * BANK_KEY_NOT_FOUND = 3 "ak260199 * MULTIPLE_BANK_ACCOUNT = 4 "ak260199 * INPUT_WRONG = 5 "ak260199 * CURRENCY_FALSE = 6 "ak260199 * CURRENCY_NOT_FOUND = 7 "ak260199 OTHERS = 8. "ak260199

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.

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

READ_CUSTOMIZED_MESSAGE call function 'READ_CUSTOMIZED_MESSAGE' " \TP 787803 exporting i_arbgb = 'FB' " \TP 787803 i_dtype = 'I' " \TP 787803 i_msgnr = l_msgnr " \TP 787803 importing e_msgty = l_msgty. " \TP 787803



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