Hi I have created a BRFplus application with output as structure in decision table,
Whenever I call into report program, I don see the values filled
DATA:lo_admin_data TYPE REF TO if_fdt_admin_data,
lo_function type REF TO if_fdt_function,
lo_context TYPE REF TO if_fdt_context,
lo_result TYPE REF TO if_fdt_result,
lx_fdt TYPE REF TO cx_fdt.
TYPES: BEGIN OF y_st,
pur TYPE string,
date TYPE string,
END OF y_st.
DATA: e_st TYPE y_st.
FIELD-SYMBOLS: <lv_discount> TYPE any.
ASSIGN e_st to <lv_discount>.
cl_fdt_factory=>get_instance_generic( EXPORTING iv_id = '001E0B8362C21ED289C98FC18B09C500'
IMPORTING eo_instance = lo_admin_data ).
move lo_admin_data ?to lo_function .
*TRY.
lo_context ?= lo_function->get_process_context( ).
lo_context->set_value( iv_name = 'LANG' ia_value = 'E').
lo_context->set_value( iv_name = 'PO_MODE' ia_value = 'NEW').
TRY.
lo_function->process( EXPORTING io_context = lo_context
IMPORTING eo_result = lo_result ).
lo_result->get_value( IMPORTING ea_value = <lv_discount> ).
CATCH cx_fdt INTO lx_fdt.
ENDTRY.
In this <lv_discount> the result is null,
Please help on this.