on 09-09-2014 8:20 PM
I have configured the enrichment sport for cross entity validations and used BRF to validate the data, but looks like validations are
not executed. I have the check activated for the step in the configuration and I can see my custom class is being picked in method GET_ENRICHMENTS of class CL_USMD_DQ_ACCESS_ENRICHMENT for that request type and step. I have flag relevant selected and option “Execute Always” (will change this to “Execute when data changed).
I am trying to figure out if SAP MDG standard code will execute my custom class code or not. I had put break point in my custom class constructor and this is called when an instance for enrichment is created in method GET_ENRICHMENTS of class CL_USMD_DQ_ACCESS_ENRICHMENT. However my code in below method is not executed (and hence BRF is not called)
IF_USMD_ENRICHMENT_FEEDER~GET_ADAPTER_DATA
IF_USMD_ENRICHMENT_FEEDER~IS_RELEVANT
Now I am trying to figure out a place from where these enrichment class methods will be executed. I feel this will be from EXECUTE_ENRICHMENT
of class CL_USMD_DQ_ACCESS_ENRICHMENT. But this method is also not executed when I hit on Check button. Am I looking wrong standard class?
Is there anything I am missing in configuration? Or we need to implement any SAP note? I tried to find one, but no luck.
Hi All, I had been OOO for some time, this issue has been resolved, there
was another enhancement conflicting with this design.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
I'm a little confused as to how you used BRF+ validations in the cross-entity BAdI? These are two separate objects. BRF+ validations are built for single entities and are only called when an entity is changed. Cross-entity BAdI is called every time data is changed.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello, I am not using cress entity BADI for Validation. I am using this BADI for cross entity derivations and they are working fine.
I had a requirement to do cross entity validations, and I have rules written using the BRF+.
I had used enrichment sport functionality to have a custom class used to call BRF functions and prepare the context with required entity data.
Validations are supposed to happen based on the enrichment spot defined and the configuration for that enrichment sport on the process step level. This is not happening. let me know if you need more information on it,
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.