cancel
Showing results for 
Search instead for 
Did you mean: 

Activate and view lean BRF+ trace

KSHARMA00
Employee
Employee
0 Kudos

Hello,

Can some one please help me with steps to switch 'ON' lean trace for BRF+ and how to view the same.

Thanks in advance.

Regards,

Kartik

View Entire Topic
nabhish_saxena
Employee
Employee
0 Kudos

Hi Kartik,

While calling the BRF+ function from your business process pass the indicator to BRF+ framework that you want to run it with trace as per sample code below.

The recorded Trace can later be visualized in BRF+ workbench via
- the 'Trace' tool in 'Tools' menu (in 'Expert' mode) OR
- by clicking on the 'Trace' button on the corresponding BRF+ function UI 

cl_fdt_function_process=>process( EXPORTING iv_function_id = lv_function_id
iv_timestamp = lv_timestamp
"see constants if_fdt_constants=>gc_trace_mode*
iv_trace_mode = if_fdt_constants=>gc_trace_mode_lean
IMPORTING ea_result = <la_any>
eo_trace = lo_trace

Hope this helps.

Regards,
Nabhish Saxena