Skip to Content
0
Former Member
Apr 28, 2017 at 08:23 PM

BRF+ function call from ABAP Issue : Latest values from decision table not coming in result

239 Views Last edit May 06, 2017 at 09:03 PM 2 rev

Hi All,

BRF+ function call from ABAP Issue : Latest values from decision table not coming in result.

I tried with generated code from code generation option in the function and also with old way of doing, shown below.

But the latest value from the decision table is not coming. Only if I do the manual regeneration then only latest values are captured in the ABAP side function call. Is there any way to do the generation automatically while doing the BRF call from ABAP.

lo_function TYPE REF TO if_fdt_function

lo_context_s ?= lo_function->get_process_context( ).

lo_context_s->set_value( iv_name = im_structure

ia_value = im_parameter ).

lo_function->process( EXPORTING io_context = lo_context_s IMPORTING eo_result = lo_data ).