on 2025 Jan 03 9:47 PM
I want to set the value of a product group in a market segment substitutions using g/l account,
and I want to know if it is possible.
Request clarification before answering.
Hello @suyoung_choi3
You can configure S/4HANA Public Cloud to automatically assign the Product Sold Group during FI postings to Margin Analysis (CO-PA). This can be done either through a no-code substitution in the Accounting: Market Segment context or, if that field is not available in your tenant, by implementing a small BAdI in Custom Logic.
Open Manage Substitution/Validation Rules.
Business context: Accounting: Market Segment
Event: During Journal Entry Item
Rule type: Substitution
Condition (IF): G/L Account = your account (or use a list/range if you have more than one).
Action (THEN): Set Product Sold Group to the fixed value that corresponds to that G/L account (your 1:1 mapping).
Activate the rule and test by posting a simple journal entry to that G/L. In the posting’s Market Segment (profitability segment), confirm that Product Sold Group is filled automatically. You’ll also see it reflected in profitability reports (Product Profitability).
If "Product Sold Group" appears in the rule’s target list, you are done; no code is needed.
Let me know how it goes
Chuma
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
It seems to be available:
Rules for Substitution | SAP Help Portal
What's the error you get?
Do you mean you can't set G/L as condition?
Best Regards,
Owen
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Did you already consider using GL Account Hierarchies ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Could you help provide more detail information about your query?
What's the rules you want to set?
Thanks
Lucy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 7 | |
| 7 | |
| 6 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.