cancel
Showing results for 
Search instead for 
Did you mean: 

Expression evaluation in BRF

Former Member
0 Kudos

Dear all,

I have created an expression of type 'Simple formulas(0FR001)' to compare two other expressions, [checking whether expression1 is equal to expression 2].I need to pass values from a function module(FM) to these two expressions to compare them.

However, I am unable to send values from the FM to the BRF.

How do I do this?

Should I use a parameter with associated type BRF_EXPRESSION?

Please help.

Accepted Solutions (0)

Answers (1)

Answers (1)

0 Kudos

Hi,

you must use an expression from type 0CF001 - Call function expression.

This function module must fullfill some requirements conerning the interface.

You can copy BRF_CALL_FUNCTION_TEMPLATE as a template.

In this FM you can code whatever you like. At the end, you have to fill the value into EV_VALUE and the result type into EV_TYPE.

You can then use this FM in BRF and define an expression. This expression can then be used anywhere else in BRF as input.

You have also the option to pass expression to the FM as input.

BR

Lars

Former Member
0 Kudos

Hi Lars,

I am using a function module to read a value from a table and filling the ev_value export parameter as per your instruction BUT when I use the BRF trace the value I place in there does not display in the result in the trace. Do you know how I can easily see if the expression is returning the value for further use in the brf?

cheers,

Ross Goodman