SAP Reports / Programs | Financials | Financial Supply Chain Management | Basic Functions(FIN-FSCM-CLM-CM-CM) SAP FIN

RFEKA200 SAP ABAP Report - Import MultiCash Format to Bank Data Buffer







RFEKA200 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 RFEKA200 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 RFEKA200. "Basic submit
SUBMIT RFEKA200 AND RETURN. "Return to original report after report execution complete
SUBMIT RFEKA200 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 MultiCash Format to Bank Data Buffer
Text Symbol: 021 = Transfer to bank data store running...
Text Symbol: 030 = Statement & acct & & & was skipped (house bank does not exist)


INCLUDES used within this REPORT RFEKA200

INCLUDE RFEBKA03.
INCLUDE RFEKA203.


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:

READ_CUSTOMIZED_MESSAGE call function 'READ_CUSTOMIZED_MESSAGE' "hw630615 exporting i_arbgb = 'FV' i_dtype = '-' i_msgnr = '781' importing e_msgty = g_fv781.

DEQUEUE_ALL CALL FUNCTION 'DEQUEUE_ALL'.

EB_CURRENCY_CODE_ISO_TO_SAP CALL FUNCTION 'EB_CURRENCY_CODE_ISO_TO_SAP' "ak310899 EXPORTING ID_ISO_CODE = ISO_CODE ID_BANKL = BANKL * ID_BNKN2 = BNKN2 "note746010 id_bigac = l_bigac "note746010 IMPORTING ED_SAP_CODE = SAP_CODE EXCEPTIONS NO_UNIQUE_ACCOUNT = 0 OTHERS = 1.

CURRENCY_AMOUNT_IDOC_TO_SAP CALL FUNCTION 'CURRENCY_AMOUNT_IDOC_TO_SAP' EXPORTING CURRENCY = FEBKO-WAERS IDOC_AMOUNT = HEAD IMPORTING SAP_AMOUNT = FEBKO-SSBTR EXCEPTIONS OTHERS = 0.

CURRENCY_AMOUNT_IDOC_TO_SAP CALL FUNCTION 'CURRENCY_AMOUNT_IDOC_TO_SAP' EXPORTING CURRENCY = FEBKO-WAERS IDOC_AMOUNT = HEAD IMPORTING SAP_AMOUNT = FEBKO-SUMSO EXCEPTIONS OTHERS = 0.

CURRENCY_AMOUNT_IDOC_TO_SAP CALL FUNCTION 'CURRENCY_AMOUNT_IDOC_TO_SAP' EXPORTING CURRENCY = FEBKO-WAERS IDOC_AMOUNT = HEAD IMPORTING SAP_AMOUNT = FEBKO-SUMHA EXCEPTIONS OTHERS = 0.

CURRENCY_AMOUNT_IDOC_TO_SAP CALL FUNCTION 'CURRENCY_AMOUNT_IDOC_TO_SAP' EXPORTING CURRENCY = FEBKO-WAERS IDOC_AMOUNT = HEAD IMPORTING SAP_AMOUNT = FEBKO-ESBTR EXCEPTIONS OTHERS = 0.

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.

CURRENCY_AMOUNT_IDOC_TO_SAP CALL FUNCTION 'CURRENCY_AMOUNT_IDOC_TO_SAP' EXPORTING CURRENCY = FEBKO-WAERS IDOC_AMOUNT = HEAD IMPORTING SAP_AMOUNT = L_LONG_AMOUNT "hw655185 EXCEPTIONS OTHERS = 0.

FUNCTION_EXISTS CALL FUNCTION 'FUNCTION_EXISTS' "start n1114242 EXPORTING funcname = 'SEARCH_FOR_IBAN' EXCEPTIONS others = 1.

SEARCH_FOR_IBAN CALL FUNCTION 'SEARCH_FOR_IBAN' EXPORTING i_string = head IMPORTING * e_tiban = l_tiban e_subrc = l_subrc.

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

CURRENCY_AMOUNT_IDOC_TO_SAP CALL FUNCTION 'CURRENCY_AMOUNT_IDOC_TO_SAP' EXPORTING CURRENCY = FEBEP-FWAER IDOC_AMOUNT = HEAD IMPORTING SAP_AMOUNT = L_LONG_AMOUNT "hw655185 EXCEPTIONS OTHERS = 0.

READ_CUSTOMIZED_MESSAGE call function 'READ_CUSTOMIZED_MESSAGE' EXPORTING i_arbgb = 'FV' i_dtype = '-' i_msgnr = '170' IMPORTING e_msgty = l_msgtype.

CONVERT_TO_LOCAL_CURRENCY call function 'CONVERT_TO_LOCAL_CURRENCY' EXPORTING date = sy-datum foreign_amount = febep-fwbtr foreign_currency = febep-fwaer local_currency = febep-kwaer IMPORTING local_amount = l_long_amount EXCEPTIONS others = 1.

CUSTOMIZED_MESSAGE call function 'CUSTOMIZED_MESSAGE' EXPORTING i_arbgb = 'FV' i_dtype = l_msgtype i_msgnr = '170' i_var01 = febko-absnd i_var02 = febko-azidt.

STRING_SPLIT CALL FUNCTION 'STRING_SPLIT' EXPORTING * delimiter = ';' * DELIMITER = C_DELIM "ak251099 DELIMITER = GD_SEPARATOR "ak251099 STRING = STRING IMPORTING HEAD = l_big_head "note 529355 TAIL = STRING EXCEPTIONS NOT_FOUND = 1 NOT_VALID = 2 TOO_LONG = 3 TOO_SMALL = 4.

WS_UPLOAD





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

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

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

CUSTOMIZED_MESSAGE call function 'CUSTOMIZED_MESSAGE' "hw630615 exporting "hw630615 i_arbgb = 'FV' "hw630615 i_dtype = g_fv781 "hw630615 i_msgnr = '781' "hw630615 i_var01 = febko-hbkid "hw630615 i_var02 = febko-hktid "hw630615 i_var03 = febko-aznum. "hw630615

GET_BANK_ACCOUNT CALL FUNCTION 'GET_BANK_ACCOUNT' EXPORTING I_BANKL = FEBVW-BANKL * I_BNKN2 = BNKN2 "note746010 I_WAERS = FEBKO-WAERS i_bigac2 = u_bigac "note746010 IMPORTING E_T012 = T012 E_T012K = T012K E_IBAN = c_iban EXCEPTIONS BANK_ACCOUNT_NOT_FOUND = 01 BANK_KEY_FALSE = 02 BANK_KEY_NOT_FOUND = 03 * MULTIPLE_BANK_ACCOUNT = 04 "ak221099 * INPUT_WRONG = 05 "ak221099 CURRENCY_FALSE = 06 * CURRENCY_NOT_FOUND = 06 "ak221099 OTHERS = 07. "ak181199

READ_CUSTOMIZED_MESSAGE CALL FUNCTION 'READ_CUSTOMIZED_MESSAGE' "fk260202 EXPORTING "fk260202 I_ARBGB = 'FB' "fk260202 I_DTYPE = '-' "fk260202 I_MSGNR = '702' "fk260202 IMPORTING "fk260202 E_MSGTY = LD_MSGTY. "fk260202

GET_BANK_ACCOUNT CALL FUNCTION 'GET_BANK_ACCOUNT' "fk260202 EXPORTING "fk260202 I_BNKN2 = BNKN2 "fk260202 I_WAERS = FEBKO-WAERS "fk260202 IMPORTING "fk260202 E_T012 = T012 "fk260202 E_T012K = T012K "fk260202 EXCEPTIONS "fk260202 BANK_ACCOUNT_NOT_FOUND = 01 "fk260202 BANK_KEY_FALSE = 02 "fk260202 BANK_KEY_NOT_FOUND = 03 "fk260202 CURRENCY_FALSE = 06 "fk260202 OTHERS = 07. "fk260202

READ_CUSTOMIZED_MESSAGE CALL FUNCTION 'READ_CUSTOMIZED_MESSAGE' "ak221099 EXPORTING "ak221099 I_ARBGB = 'FB' "ak221099 I_DTYPE = 'E' "ak221099 I_MSGNR = '733' "ak221099 IMPORTING "ak221099 E_MSGTY = LD_MSGTY. "ak221099

READ_CUSTOMIZED_MESSAGE call function 'READ_CUSTOMIZED_MESSAGE' "note 428736 exporting i_arbgb = 'FB' i_dtype = 'I' i_msgnr = '772' importing e_msgty = l_msgtype.

CUSTOMIZED_MESSAGE call function 'CUSTOMIZED_MESSAGE' EXPORTING i_arbgb = 'FB' i_dtype = 'I' i_msgnr = '772' i_var01 = FEBKO-ABSND i_var02 = FEBKO-AZIDT i_var03 = *FEBKO-AZIDT.

READ_CUSTOMIZED_MESSAGE call function 'READ_CUSTOMIZED_MESSAGE' "note 747633 exporting i_arbgb = 'FB' i_dtype = 'I' i_msgnr = '770' importing e_msgty = l_msgtype.

CUSTOMIZED_MESSAGE CALL FUNCTION 'CUSTOMIZED_MESSAGE' "mo141101 EXPORTING I_ARBGB = 'FB' I_DTYPE = 'I' I_MSGNR = '770' I_VAR01 = FEBKO-ABSND I_VAR02 = L_AZIDT.

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

DATE_CHECK_PLAUSIBILITY CALL FUNCTION 'DATE_CHECK_PLAUSIBILITY' EXPORTING DATE = X_DAT EXCEPTIONS PLAUSIBILITY_CHECK_FAILED = 1 OTHERS = 2.

READ_CUSTOMIZED_MESSAGE call function 'READ_CUSTOMIZED_MESSAGE' "hw630615 exporting i_arbgb = 'FV' i_dtype = '-' i_msgnr = '780' importing e_msgty = l_fv780.

CUSTOMIZED_MESSAGE call function 'CUSTOMIZED_MESSAGE' EXPORTING i_arbgb = 'FV' i_dtype = l_fv780 i_msgnr = '780' i_var01 = febko-hbkid i_var02 = febko-hktid i_var03 = febko-aznum.

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.

SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING TEXT = P_TEXT.

CURRENCY_CODE_ISO_TO_SAP CALL FUNCTION 'CURRENCY_CODE_ISO_TO_SAP' EXPORTING ISO_CODE = PISOC EXCEPTIONS OTHERS = 1.

CONVERT_YEAR_WITH_THRESHOLD call function 'CONVERT_YEAR_WITH_THRESHOLD' exporting input = numc02 * THRESHOLD = 50 importing output = numc04 exceptions others = 1.




DATE_CHECK_PLAUSIBILITY call function 'DATE_CHECK_PLAUSIBILITY' EXPORTING date = x_dat EXCEPTIONS plausibility_check_failed = 1 others = 2.



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