Ansicht
Dokumentation
BAPI_BKK_ACCNT_CHANGE - Change Account
TXBHW - Original Tax Base Amount in Local Currency rdisp/max_wprun_time - Maximum work process run timeThis documentation is copyright by SAP AG.
Functionality
Use this method to modify the master data (such as limits, conditions, and direct debit orders) of an existing account. The Change Accountmethod returns the following values:
- Identification details for the account that is changed such as the internal and the external account number, and the bank area details
- Details of the changes that you made
The method logs the errors that occur in the return parameter (RETURN).
To change account details by using this method, it is mandatory to specify values for the import parameters Bank Area (BANKAREA) and External Account Number (EXTERNALACCOUNTNR).
To specify amount notice details, you must transfer values in both the Amount Notice Master Data import parameter (NOTICEONAMOUNT_RULEIN) and the Amount Notice Details table parameter (NOTICEONAMOUNTIN).
To change the attributes of a term agreement after the account has been fixed (not possible in dialog mode), use this BAPI to enter the status of the fixed-term account as Created (01), although this is not the same as the original status of the account (this is not verified in the system). You enter the Created (01) status in the input table. Once you have done so, you need to execute fixing for the account again.
Update Indicator Parameters
To enable the system to track the changes, you must also set the update indicator for every changed parameter. Update indicator parameters have the suffix "X". For example, the update indicator parameter for ACCMASTERDATAINis ACCMASTERDATAINX.
Each update indicator parameter contains the following fields:
- UPDATEFLAG
- This field specifies the operation being carried out, and can have following values:
Value | Operation |
---|---|
I | Insert |
U | Update |
D | Delete |
- An update indicator corresponding to each field in the input parameter.
Thus, to change the value for a parameter by using this method, do the following:
- Transfer the required values in the input parameters
- Make the following changes in the corresponding update indicator parameter:
- In the UPDATEFLAGfield, specify the operation (whether insert, update, or delete)
- In the update indicator corresponding to each field in the input parameter, indicate if the value is changed by specifying the value "X"
Example
- You may want to increase the amount of the direct debit order number 1 from EUR 100 to EUR 200. To make this change, specify the following values:
Parameter | Fields | Value |
---|---|---|
DEBITORDERIN | DIRECTDEBITORDER | 1 |
(input parameter) | DIRECTDEBITODERITEM | ' ' |
PAYMENTRECIPIENTNAME | ' ' | |
DIRECTDEBITAMOUNTLIMIT | 200 | |
DIRECTDEBITCURRENCY | ' ' | |
CURRENCYISO | ' ' | |
DEBITORDERINX | UPDATEFLAG | U |
(update indicator parameter) | DIRECTDEBITORDER | 'X' |
DIRECTDEBITODERITEM | ' ' | |
PAYMENTRECIPIENTNAME | ' ' | |
DIRECTDEBITAMOUNTLIMIT | 'X' | |
DIRECTDEBITCURRENCY | ' ' | |
CURRENCYISO | ' ' |
- To delete the direct debit order, you can set the parameters as follows:
Parameter | Fields | Values |
---|---|---|
DEBITORDERIN | DIRECTDEBITORDER | 1 |
(input parameter) | DIRECTDEBITODERITEM | ' ' |
PAYMENTRECIPIENTNAME | ' ' | |
DIRECTDEBITAMOUNTLIMIT | ' ' | |
DIRECTDEBITCURRENCY | ' ' | |
CURRENCYISO | ' ' | |
DEBITORDERINX | UPDATEFLAG | D |
(update indicator parameter) | DIRECTDEBITORDER | 'X' |
DIRECTDEBITODERITEM | ' ' | |
PAYMENTRECIPIENTNAME | ' ' | |
DIRECTDEBITAMOUNTLIMIT | ' ' | |
DIRECTDEBITCURRENCY | ' ' | |
CURRENCYISO | ' ' | |
- To insert a new direct debit order, you can set the parameters as follows:
Parameter | Fields | Values |
---|---|---|
DEBITORDERIN | DIRECTDEBITORDER | 1 |
(input parameter) | DIRECTDEBITODERITEM | '1' |
PAYMENTRECIPIENTNAME | 'Marcus Adams' | |
DIRECTDEBITAMOUNTLIMIT | '500' | |
DIRECTDEBITCURRENCY | 'EUR' | |
CURRENCYISO | 'EUR' | |
DEBITORDERINX | UPDATEFLAG | I |
(update indicator parameter) | DIRECTDEBITORDER | 'X' |
DIRECTDEBITODERITEM | 'X' | |
PAYMENTRECIPIENTNAME | 'X' | |
DIRECTDEBITAMOUNTLIMIT | 'X' | |
DIRECTDEBITCURRENCY | 'X' | |
CURRENCYISO | 'X' |
Notes
This method works with buffering. This means that other change methods of instances created or changed by this method can be executed in the same logical unit of work (LUW).
Customer Enhancements
The BAPI customer enhancement concept allows customers to include additional data that is not anticipated by the interface.
The ExtensionIn and ExtensionOut parameters are data containers, in which the additional values are sent during import or export.
As well as the extension parameters in the interface, the BAPI function module also includes BAdIs (Business Add-Ins) or customer exits. These check the data sent by you to the method, and also perform additional functions.
Return Messages
Messages are returned in the Return parameter. The parameter documentation shows the return codes and their meanings.
Further information
Parameters
ACCMASTERDATAINACCMASTERDATAINX
ACCOPERATIVEDATAIN
ACCOPERATIVEDATAINX
ACCOUNTIDENTIFICATION
ACCOUNTIDENTIFICATIONIN
ACCOUNTLOCKSIN
ACCOUNTLOCKSINX
ACCOUNTTIMEPERIODSIN
ACCOUNTTIMEPERIODSINX
BANKAREA
BUSINESSPARTNERIN
BUSINESSPARTNERINX
CONTROLINDICATORBALANCEIN
CONTROLINDICATORBALANCEINX
CORRDATAIN
CORRDATAINX
DEBITORDERIN
DEBITORDERINX
EXTENSIONIN
EXTENSIONOUT
EXTERNALACCOUNTNR
HOLDIN
HOLDINX
INDIVIDUALCONDITIONHEADERIN
INDIVIDUALCONDITIONHEADERINX
INDIVIDUALCONDITIONPOSITIONIN
INDIVIDUALCONDITIONPOSITIONINX
LIMITSIN
LIMITSINX
NOTICEIN
NOTICEONAMOUNTIN
NOTICEONAMOUNTINX
NOTICEONAMOUNT_RULEIN
NOTICEONAMOUNT_RULEINX
POSITIONTYPESCHECKSIN
POSITIONTYPESCHECKSINX
PROCESS_EXTENSION
REFERENCEACCOUNTSIN
REFERENCEACCOUNTSINX
RELEASECHECK_OFF
RETURN
SAVEONCOMMIT
TERMIN
TERMINX
TERMRULEIN
TERMRULEINX
TESTRUN
Exceptions
Function Group
FB_ACCOUNT_BAPIFill RESBD Structure from EBP Component Structure Vendor Master (General Section)
This documentation is copyright by SAP AG.
Length: 18729 Date: 20240523 Time: 105023 sap01-206 ( 101 ms )