SAP Function SAMPLE_INTERFACE_00011010 - Account Master Data: Account Number Without Check Digit

Parameter Reference Type Length Default Optional Text
I_ACCUR BKK42-WAERS C 5 Account Currency
I_BKKRS TBKK01-BKKRS C 4 Bank Area
I_COUNTRY IBKK_EVENT-COUNTRY C 3 X Bank Country Key
I_PARTNER BKK45-PARTNER C 10 BP Number of Account Holder
I_PRODEXT IBKK50-PRODEXT C 10 External Product ID

Parameter Reference Type Length Text
E_ACCNUM_COMPL BKK42-ACNUM_EXT C 35 Complete Account Number (Without Check Digit)
E_RETURN SYST-SUBRC I 4 Return Code
E_XSKIP IBKK_MISC-XSKIP C 1 Flag: Run SAP Standard Coding

Parameter Reference Length Optional Text
T_MESG IBKKMESG 224 Transfer Table for Messages

Functionality
Function module SAMPLE_INTERFACE_00011010 returns a new account number,needed, for example, when you create an account. The bank area, product,account holder, and account currency are transferred. With this data,a new account number is generated with a structure corresponding to thebank-specific standards.
IMPORTANT: The account number returned may not contain a check digit.

Example
In this function module, the structure of the account number is assumedto be as follows:
XXXXNNNNNP,
where
XXXX: Bank area code
NNNNN: Sequential number
P: Check digit

Description
Account number generated.
The account number returned may not contain a check digit.

Description
Processing result.

Value range
Possible values:
0: Processing ended without errors
1: Processing ended with error(s)

Description
With this parameter you can control in the BTE whether the BTE isexited and the SAP standard coding run instead.
You can use it if you only want to use the BTE under certaincircumstances - such as, for a certain country indicator - and otherwisethe SAP standard coding is to run.
If the requirement is not met, a value can be assigned to parameterE_XSKIP and the customer function module exited. By entering a valuein E_XSKIP, you control that the SAP standard coding is to run insteadof the customer function module.

Description
Account currency

Description
Bank area in which the account is being created.

Description
BP number of the account holder

Description
External product ID of the account

Description
Structure for (error) messages