Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 2069

Re: BRF+ Comparing 2 variables of table operation

$
0
0

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


Viewing all articles
Browse latest Browse all 2069

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>