Symptom
Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental.
User would like to modify journal entry line items for purchase order accruals postings.
For example, it is standard system behavior that Cost center only derived for P&L G/L Accounts, but not for B/S G/L accounts for Purchase Order Accruals Postings.
How to derive cost center to B/S G/L accounts for purchase order accruals postings?
Environment
SAP S/4HANA Cloud
Reproducing the Issue
- Go to “Analyze Accrual posting” fiori application.
- Click one Journal entry number and view the document.
In our example, cost center derived for P&L G/L account but for B/S G/L account no cost center is derived.
Resolution
You can use accrual engine cloud BAdI BADI_ACE_DOCUMENT_SCHEMA_CLD to set below values for journal entry lines:
cost_center (cost center)
profit_center (profit center)
glaccount (G/L account)
item_text (item text of the journal entry item) ...
You can find the cloud BAdI in app Custom Logic.
Business Context
Accrual Engine
BAdI Description
Accrual Engine: Modify Journal Entry Line Items(Cloud)
Keywords
BAdI, Accrual Engine, Purchase Order Accruals, Modify Journal Entry Line Items, Custom Logic, Cost center, Profit Center, G/L Account , KBA , FI-GL-GL-ACE , Accrual Engine , How To