I'd like to collect structured results from each BRF Expression within an internal table that can be presented to the user in the last Expression or made available to the initiating ABAP program for controlled presentation to the user. In essence, the Event would be a logical group of validations, the Expressions would represent individual validations, and this collection of results would support showing the user all errors in a single presentation.
Is this a practical objective/application for the BRF in ECC?
Can a Reference-Like Expression (0RF001) be defined for an internal table and updated with the results as a parameter of the Action FM?
If so, how is this Expression/Table made available to the final FM Expression (0CF001) that would present the list of errors? How might it be made available to the initiating ABAP program, when the Context indicated that the triggering program wanted to control presentation of the results?
I appreciate your insight, ideas, and alternative suggestions.
- Cheryl Knott
You can have a
Expressions with BAdi implementation. within this BAdi implementation update DB table ...... in the last expression, you can read this DB table, and give the result to the user at once....
you can have rule set with multiple rules, with expressions attached to each rule...
(make the setting - so that the execution of rule set should not stop if only one rule fails)
after each rule is executed you can throw an error related to that expression. and go to next rule....
hope this is helpful