Hi Tim
you goal is not achievable within the table operation expression. From my point of view you have two options:
Option 1 - if you want to model it strictly in BRFplus
- Use a Loop expression that loops over the table
- Within the loop you can then make the comparison based on the single line that is iterated
- You have to sum up the value manually and write it into a variable in BRFplus
Option 2:
- Implement the loop and the logic in ABAP in a class with a static method
- Call that method from BRFplus via a procedure call expression that returns the total amount
I would prefer option, but both should work
BR
Christian