You wish to change the profit centers being determined by the system in the journal entry posting for certain transactions, for example for Bank-to-Bank Transfer's journal entry. To achieve that, you have created a script in the SAP pre-delivered BAdI "ProfitCenterAndSegmentDetermination" via Studio. However, when you post the Bank-to-Bank transfer, the custom script is not triggered and the profit center is not overwritten.
SAP Business ByDesign.
Reproducing the Issue
Having a Bank-to-Bank transfer as example:
- Go to Liquidity Management work center.
- Under Common Tasks, select New Bank-to-Bank Transfer.
- Fill in the required fields.
- Post the transaction.
Upon posting, the system determines the profit center for the resulting journal entry. You expect that the BAdI is called and your custom script gets executed to overwrite the profit center.
Whether or not this BAdI is called to overwrite the profit center, depends on the subledgers that the journal entry posts, since not all subledger and subledger line items are supported. Therefore, if the transaction posts to a not supported subledger the overwriting does not work.
The supported subledger and subledger line item types by this BAdI as are as follows:
Supported subledger types:
- 01 - Fixed Assets
- 02 - Materials
- 03 - Production
- 04 - Procurement
- 08 - Sales
- 09 - Overhead Ledger
- 11 - Other Direct Costs
Supported subledger line item types:
- 07200 - Bank Interest
- 07201 - Bank Maintenance Charges
- 07202 - Bank Transaction Charges
This is the expected behavior for this BAdI. For any transaction that posts to different subledger/line item types than mentioned above, the overwriting via BAdI script is not supported.
If you aim to address this feature and want to raise a request for enhancing the current definition, you may submit this suggestion in detail via Influence Forum.
SDK. PDI. Profit Center Determination. Profit Center Derivation. Journal Entry. , KBA , AP-ACC , Business ByDesign: Financial Accounting , How To