You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 8 Next »

Status

  Approved

Owner
Stakeholders

@Marie Flourie

Issue

In the classic SAP EHS system, Expert Rules (developed using Expert Rule Editor in CG02) are widely used to automate processes as part determination of secondary data like classification, property value calculation, and data inheritance.

In S/4HANA Product Compliance New Functionality, there is no direct support for Expert Rules. 
However, the logic to determine secondary data is build into compliance requirements.
- e.g. for marketability by integrated “Substance list check” pattern
• Compliance requirements are processed
– Directly within S/4HANA system à logic is programmed in ABAP
– As a service à logic is hidden behind service interface, executed remotely, results are 
stored in S/4HANA
• Customers can define their own compliance requirements (based on existing patterns)


Recommendation

Replace Classic Expert Rules with a combination of:

  • Compliance Requirements (via Embedded Content)
  • Business Rule Framework plus (BRF+)

01. Compliance Requirements (via Embedded Content):
• Compliance requirements are processed
– Directly within S/4HANA system à logic is programmed in ABAP
– As a service à logic is hidden behind service interface, executed remotely, results are 
stored in S/4HANA
• Customers can define their own compliance requirements (based on existing patterns)

02. Business Rule Framework plus (BRF+):

FeatureExpert Rules (EHS Classic)BRF+ (S/4HANA Product Compliance)
PurposeAutomate property tree logic, phrase values, SDSAutomate decisions, validations, approvals
Rule EngineExpert ServerBRF+ Framework
Integration LevelDeep in specification database (EHS)Integrated into Fiori apps, workflows, decisions
Use Case ScopeWide (e.g., data derivation, SDS logic)Narrower (e.g., validations, change request logic)
User InterfaceRule Sets, Mapping TablesGraphical BRF+ Workbench (browser-based)

Background & Context

  • In legacy SAP EHS (CG02-based), Expert Rules were used to:

    • Auto-derive property values.

    • Copy composition data.

    • Apply regional compliance logic.

  • Expert Rule functionality is not carried forward in the new Fiori-based Product Compliance apps.

  • SAP now promotes rule-based checks via integrated services, supported by BRF+, predefined compliance patterns, and marketability rules.

  • Logic for data consistency checks is build into the data management apps

  • Logic to determine secondary data is build into compliance requirements

          - e.g. for marketability by integrated “Substance list check” pattern

          - e.g. for SDS content via partner solution “Intelligent SDS authoring” by 3E1

Logic to check marketability status or dangerous goods transport allowance of a 
product is either

– Part of the compliance requirements, or
– Part of the process integration

 Compliance requirements are processed

– Directly within S/4HANA system à logic is programmed in ABAP
– As a service à logic is hidden behind service interface, executed remotely, results are 
stored in S/4HANA

 Customers can define their own compliance requirements (based on existing patterns)

Assumptions

  • Customer is migrating to or already using S/4HANA Product Compliance (New).

  • Composition data, DG, SVT, and Marketability checks are managed in the new compliance framework.

  • Business rules used in classic Expert Rules are still relevant and required post-migration if Product Classification and SDS Authoring is in S4 Classic.


Constraints

  • BRF+ and new rule mechanisms may not cover 100% of legacy Expert Rule logic.

  • Regulatory rule subscriptions (like SAP Content) may be required to replicate certain automated checks.

  • Custom logic via BAdIs might increase implementation effort and complexity.

  • There’s no UI-based Rule Editor as intuitive as the CG02 Expert Rule Editor.


Impacts

AreaImpact
AutomationNeed to rebuild logic using BRF+/Custom
Migration EffortHigh if many Expert Rules exist
User TrainingNew interfaces and logic mechanisms
PerformanceMay improve with optimized BRF+ logic
Future-readinessAligns with SAP’s roadmap and innovations


Business Rules

Examples of business rules to be rebuilt:

  • Copy composition from reference material

  • If DG classification = X, then apply specific packaging group

  • If substance is SVHC, then block marketability in EU

  • Calculate concentration sum for a regulatory group

These can be re-implemented using:

  • Compliance Rule Patterns

  • Marketability Templates

  • BRF+ functions

  • Regulatory content from SAP


Options considered

Option A: Continue AS-IS

Description: ABAP logic, and executed through the Expert Server
                   Automated logic-based rules used to derive, validate, or calculate values in specifications, substances, properties, or other EHS master data.

Pros: Flexible, standard, no code

Cons: Technical Complexity - Requires ABAP development knowledge; not accessible to business users for direct maintenance.

          Hard to Maintain - Changes in regulatory content or business logic require rule updates, which can be time-consuming and error-prone.

Option A: Compliance Requirements

Description: Directly within S/4HANA system à logic is programmed in ABAP
                   As a service à logic is hidden behind service interface, executed remotely, results are 
                   stored in S/4HANA

Pros: Flexible, standard, no code

Cons: Compliance Requirements do not derive values (e.g., hazard class, phrases) — unlike Expert Rules which could auto-populate the property tree.


Evaluation



Option A: Continue AS-IS

Option B:
Compliance Requirement
System Integration

(minus)Con: Complex Customization and Maintenance:-Even minor changes may require deep understanding of EHS data structures, rule sequences, and integration dependencies.

(minus)Con: Limited Reusability:- Expert Rules are tightly coupled to specific EHS data models and not reusable across modules like Product Compliance, Dangerous Goods, or SVT without significant rework.

(plus)Pro: Instead of using separate tool like EHS Expert, everything is now integrated, smarter, and more flexible, right inside S4 HANA - or through connected services when needed.


Compliance Management

(minus)Con: Compliance Management:- Hard to adapt to complex or dynamic regulations

(plus)Pro: Centralized, scalable, Flexible

            

Maintenance

(minus)Con: Requires technical effort for every update

(plus)Pro: Centralized Management: Compliance Requirements are managed in one place and can be applied across products and regions, reducing redundancy.

(plus)Pro: Impact Analysis: Any changes in a requirement can automatically trigger re-assessments, helping ensure ongoing compliance without having to manually track updates.

Scalability

(minus)Con: Performance issues in large datasets

(plus)Pro: Modular Structure: Each requirement can be scoped to a region, regulation, or compliance purpose, allowing companies to scale by simply adding new requirements (e.g., for new countries or products).

(plus)Pro: Integration with Product Master Data: Seamlessly integrates with material/product data and processes (e.g., sales, purchase), allowing the compliance framework to grow with the business.

Reusability

(minus)Con: Rules are tightly scoped and hard to generalize across processes

(plus)Pro: Reusable Assessment Logic: Once created, Compliance Requirements can be reused across multiple products, plants, or business units.

(plus)Pro: Rule Reuse Across Products: Rules and checks defined within a requirement automatically apply to any product linked to that requirement — no need to recreate logic.




See also


No files shared here yet.

Change log

Version Published Changed By Comment
CURRENT (v. 8) Sept 10, 2025 12:51 WENNINGER-ext, Sascha
v. 42 Aug 20, 2025 16:00 WENNINGER-ext, Sascha
v. 41 Aug 20, 2025 10:49 ROUT-ext, Praksh
v. 40 Aug 20, 2025 10:45 WENNINGER-ext, Sascha
v. 39 Aug 14, 2025 16:59 CHOUDHARY-ext, Tanvi
v. 38 Aug 08, 2025 12:57 ROUT-ext, Praksh
v. 37 Aug 08, 2025 12:56 ROUT-ext, Praksh
v. 36 Aug 08, 2025 11:01 ROUT-ext, Praksh
v. 35 Aug 08, 2025 10:53 CHOUDHARY-ext, Tanvi
v. 34 Aug 08, 2025 10:48 CHOUDHARY-ext, Tanvi

Go to Page History

  • No labels