cancel
Showing results for 
Search instead for 
Did you mean: 

how to use combined determinations ?! #ABAP RAP#

queen_sissi
Explorer
0 Kudos
85

Hey, 

I am currenty trying to convert the currency of an amount of a travel entity once the user changes the fields BookingFee and/or CurrencyCode. Therefore I have implemented the following determination: determination calculateTotalPrice on modify { field BookingFee , CurrencyCode; } in my root behaviour definition. 

The problem is that while debugging I get only the new currency code although for the used function i need both codes : the old and the new one to execute my conversion. So my solution was that i need maybe to implement two determinations the first one reads the old currency code and saves and the other to execute the conversion. Since determinations are independent, does anyone knows how can I use the result of a determination in the next one or is there any other approach that can serve? 

Best regards and thanks in advance 

sisi

Accepted Solutions (0)

Answers (0)