Skip to Content
avatar image
Former Member

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

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 ).

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • May 04, 2017 at 10:40 AM

    1. Your decision table must be generated in order for new values to be available

    2. Make sure you run your ABAP code in a completely new process, i.e. exit whatever transaction you're using. The generated code uses timestamps to retain the current rule state until the current transaction/process/whatever is complete

    Add comment
    10|10000 characters needed characters exceeded