on 04-28-2017 9:23 PM
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 ).
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.