SAP Function BKK_CREATE_BANK_CHECK_DIG_ES - Calculation of Bank Control Key for Spain

Parameter Reference Type Length Default Optional Text
I_BANK_ACCOUNT IBKK42-ACNUM_EXT C 35 SPACE Bank Account Number
I_BANK_BKKRS TBKK01-BKKRS C 4 X Bank Area
I_BANK_COUNTRY KNBK_BF-BANKS C 3 SPACE Bank Country Key
I_BANK_NUMBER KNBK_BF-BANKL C 15 SPACE Bank Key

Parameter Reference Type Length Text
E_CRE_CHECK_DIG KNBK_BF-BKONT C 2 Bank Control Key
E_OK_PREC SYST-SUBRC I 4 Return Value, Return Value After ABAP Statements

Exception Text
INVALID_INPUT Incorrect Entry

Return value for check of bank identification number and account number
1....Error in bank identification number
2....Error in account number
0....No errors