SAP MDG · VALIDATION DERIVATION
How do I implement a blank or no-op DERIVE_ENTITY method in SAP MDG USMD_RULE_SERVICE?
Use a minimal IF_EX_USMD_RULE_SERVICE~DERIVE_ENTITY implementation that does nothing when no derivation is required. If you are creating the BAdI from scratch, define it in SE18, create the implementation in SE19, assign the implementing class, and activate the class skeleton.
Use a minimal IF_EX_USMD_RULE_SERVICE~DERIVE_ENTITY implementation that does nothing when no derivation is required. If you are creating the BAdI from scratch, define it in SE18, create the implementation in SE19, assign the implementing class, and activate the class skeleton.
A minimal MDG derivation scaffold is enough when no defaulting is needed: implement `IF_EX_USMD_RULE_SERVICE~DERIVE_ENTITY` and leave the body empty. If you are starting from scratch, first verify the BAdI definition in SE18, then create the implementation in SE19, assign the class, and activate it.
Process flow
- Open SE18 and display BAdI `
USMD_RULE_SERVICE`. - Confirm the interface name is `IF_EX_USMD_RULE_SERVICE` and whether the BAdI is filter-dependent.
- Open SE19 and create the implementation.
- Enter the implementation name, short text, package, and transport request.
- Maintain filter values if required by the BAdI definition.
- Assign or create the implementing class.
- Implement `IF_EX_USMD_RULE_SERVICE~DERIVE_ENTITY` as a no-op if no derivation is needed.
- Activate the class and then activate the BAdI implementation.
The remaining configuration, implementation details, and testing guidance continue from this answer more…
Related questions and keywords
Alternative questions
- How do I activate a BAdI class for
USMD_RULE_SERVICEwithout derivation logic? - What is the minimal DERIVE_ENTITY implementation in SAP MDG?
- How do I scaffold IF_EX_USMD_RULE_SERVICE~DERIVE_ENTITY when no derivation is required?
Possible questions
- How do I implement a blank or no-op DERIVE_ENTITY method in SAP MDG
USMD_RULE_SERVICE? - How do I activate a BAdI class for
USMD_RULE_SERVICEwithout derivation logic? - What is the minimal DERIVE_ENTITY implementation in SAP MDG?
- How do I scaffold IF_EX_USMD_RULE_SERVICE~DERIVE_ENTITY when no derivation is required?
- How do I create the BAdI implementation in SE18/SE19 and keep DERIVE_ENTITY empty?