Functionality Use this method to close an account in Bank Customer Accounts>(BCA). The method returns the following details:
- Account status enhancement
- Bank statement up to the date of closure
- Account identification details
The method logs the errors that occurred during the processing in thereturn parameter (RETURN). To close an account, it is mandatory to specify the Bank Area (BANKAREA)and the External Account Number (EXTACCOUNTNR). If you have not alreadyspecified a reference account for account closure, it is mandatory tospecify values in the Reference Account (REFERENCEACCOUNT) importparameter. ,,Notes This method works with buffering. This means that other change methodsof instances created or changed by this method can be executed in thesame Logical Unit of Work (LUW), without a prior posting beingnecessary. Customer Enhancements> INCLUDE BAPI_CUST1 INCLUDE BAPI_CUST_INOUT INCLUDE BAPI_CUST2 Return Messages> INCLUDE BAPI_RETDescription This parameter returns details of the account identifiers (such as theinternal and external account numbers). For further information about the individual parameter fields, see thedata element documentation in the ABAP Dictionary. Description This parameter returns the extendedaccount status>.Value range The value range for this parameter corresponds to the values that youdefine in the IMG activity Define Status.>Description This parameter returns basic details about the bank statement such asthe bank statement period, the external account number, and the accountcurrency. For further information about the individual parameter fields, see thedata element documentation in the ABAP Dictionary. Description This parameter transfers the bank area> for anaccount and is a mandatory value. The system returns an error message ifyou specify an invalid value.Value range The value range for this parameter corresponds to the values that youdefine in the IMG activity Define BankArea.>Description The external account number> parameter contains theunique identifier for an account and is a mandatory value to close anaccount. The system returns an error message if you specify an invalid value.Description This parameter allows you to specify if the Business Transaction Event(BTE) 10510 is to be called at the end of the account closure process. Value range ' ' (no value) This value means that the BTE is not called. 'X' This value means that the BTE is called. Description This parameter specifies whether the details entered by the customers ina Business Add-In (BAdI) of this method, must be retrieved. You will find information on the meaning of the parameter in thedocumentation for the data element Execute Extension(s)(BAdI). Value range ' ' (no value) This value means that the customer enhancements are not executed. 'X' This value means that the customer enhancements are executed. Description This parameter contains the identification details of the referenceaccount for account closure. The system transfers the account balance onclosure to this account. If you have not already specified a referenceaccount for account closure, it is mandatory to specify values in thisparameter. For specifying an internal reference account, transfer values for thefollowing fields:
- Bank area for internal reference account (REFACCBANKAREA)
- Account number for internal or external reference account
(REFACCACCOUNTEXTNUMBER)
- Account holder (REFACCACCOUNTHOLDER)
For specifying an external reference account, transfer values for thefollowing fields:
- Country key (REFACCCOUNTRYKEY)
- Bank key (REFACCBANKKEY)
- Account number for internal or external reference account
(REFACCACCOUNTEXTNUMBER)
- Account holder (REFACCACCOUNTHOLDER)
You can only specify 01> as the reference account category(REFERENCEACCOUNTCATEGORY).Description If this parameter is set, the method will only be executed in the testrun. All checks are then carried out, without an entry being made in thedatabase. This is used for write BAPIs to check the entries for the objectinstance in the database before actually creating the instance. Theobject instance is not actually created; it is merely simulated. Value range ' ' (no value) This value means that the database is updated. 'X' This value means that the method is called in simulation mode and thatno data is written to the database. Description This table contains details about the period for which the bankstatement is generated and other balancing data such as the accountbalance, account currency and details about the reference account forbalancing. For further information about the individual parameter fields, see thedata element documentation in the ABAP Dictionary. Description This table contains details about the correspondence addresses of thebank statement recipients. The parameter also contains dispatch detailsabout the bank statement such as the dispatch type and the format. For further information about the individual parameter fields, see thedata element documentation in the ABAP Dictionary. Description This table contains basic address details of the bank statementrecipients such as the first name, the last name, and the contactdetails. For further information about the individual parameter fields, see thedata element documentation in the ABAP Dictionary. Description This table contains details about the payment items that were posted tothe account from the last bank statement date. For further information about the individual parameter fields, see thedata element documentation in the ABAP Dictionary. Description This table contains details of the payment notes that are created foreach payment item during the account closure process. For further information about the individual parameter fields, see thedata element documentation in the ABAP Dictionary. Description This table contains details of the payment items that are created duringthe account closure process. For further information about the individual parameter fields, see thedata element documentation in the ABAP Dictionary. INCLUDE BAPI_EXTIN INCLUDE BAPI_EXTOUT Description INCLUDE BAPI_TABLE Value range Messages for Value Checks> Type ID,, Message Number,, Messages 1E,, 036,, Account closure date is before account opening date 1E,, 146,, Account &1 cannot be closed on &2 because it is still in thehierarchy 1E,, 174,, Checks found for account &1 1E,, 181,, Account &1 is a reference account 1E,, 289,, Items found in post processing for account &1 1E,, 335,, Account &1: Bank Area &2: Planned items &3 have been found 1E,, 700,, Account &2: bank area &1: Item &3 with value date &4 >closure date Additional Messages> Type ID,, Message Number,, Messages 1E,, 089,, SYST: Error in import parameter check 1BKKBAPI,, 100,, BAPI call has been processed successfully 1BKKBAPI,, 101,, BAPI call failed 1BKKBAPI,, 218,, Message protocol could not be opened 1BKKBAPI,, 012,, Instance of BADI definition &1 could not be created 1BKKBAPI,, 013,, Error on opening instance of object type &1. Externalreference &2 &3
|