cancel
Showing results for 
Search instead for 
Did you mean: 

Code to get Expression in BRF+

former_member382625
Participant
0 Kudos

Hello,

I have a BRF+ decision table in which returns true when there are specific values of a field.

I need to determine the possible values in this table that will lead to evaluation as true.

Can you please suggest the method that can be used to achieve this. I tried several methods but none worked.

Thanks and Regards,

Neha

Accepted Solutions (0)

Answers (2)

Answers (2)

pusala_mahesh
Explorer
0 Kudos

Hi Neha,

I think you should

  • Generate the code for this using 'CODE GENERATION'  TAB in BRF + screen.
  • Go and find the class in SE24 and then find the process pure method from it.
  • In process pure method click 'CTRL+F' and provide the UUID of your expression and
  • Put an external break point there and work it from there.

Thanks,

Mahesh

christianlechne
Active Contributor
0 Kudos

Hi Neha,

you can access all the data within BRFplus using the BRFplus API. Some blogs that give an overview/introduction are:

The strategy to get the values is comparable to the first part of the task that is done in this blog: .

Solution would be to fetch the data from the decision table via the BRFplus API, identify the row with the "true" as result value and then gathering the corresponding values of the result columns (and store them, display them ...)

Hope that helps

BR

Christian