You made configuration on SSCUI 102393 Define Field Status Variants. Set the WBS Element to "Req. Entry". Afterwards, the Field Status Group was assigned to the respective account. (SSCUI 150001 Manage G/L Account Master Data).
You created outgoing invoice with apps Manage Sales Orders and Create Billing Documents.
Even the WBS Element was indicated, the error message still occurred on posting the respective billing document.
"Document xxxxxxx: WBS element is required for G/L account xxxx xxxxxxxxxx"
SAP S/4HANA Cloud
Reproducing the Issue
Created outgoing invoice with apps Manage Sales Orders and Create Billing Documents.
Making a field a required entry in a field status group should have effect on two areas:
- UIs for manual posting of Journal Entries: Here, the field status groups should already be evaluated in the UI so the user is forced to enter such fields.
- Postings creating a Journal Entry, also for logistical documents, like invoices: Here, the field status groups should be evaluated during creation of the Journal Entry.
Logistical applications often have their only field status handling though, like in MM or SD.
Important to mention is that marking a field like WBS element as required entry in a field status group only has an effect on this field in the coding block, i.e. if you use this field as the true account assignment for Management Accounting, for example, when manually posting a Journal Entry.
If you entered the WBS element on the account assignment screen of the profitability segment, field status groups are unfortunately never evaluated, even not in manual postings of Journal Entries.
If you would like to force the user entering a WBS element in the account assignment screen of the profitability segment in a sales order item. In the case of sales orders, you normally can use the incompletion log in order, but again this only relates to fields of the sales order, not to detailed fields of the profitability segment, so also here it is unfortunately not possible to have kind of a validation for obligatory entries in the profitability segment screen.
Therefore, we unfortunately are unable to offer a solution to your problem at the moment. The required technical functionality probably would be a validation for profitability segments but this is currently not in place.
WBS element, field status group, mandatory, profit. segment, profitability segment, assignment. , KBA , CO-PA , Profitability Analysis , How To