cancel
Showing results for 
Search instead for 
Did you mean: 

How to trace , debug an BRF+ Application ?

Former Member
0 Kudos

Hello Experts ,

     Please provide steps to debug an BRF+Application .

Thanks and Regards,

Nikhil Kulkarni

Accepted Solutions (1)

Accepted Solutions (1)

carsten_ziegler
Active Contributor
0 Kudos

There are the following options to analyze execution of business rules:

1. Simulate with test data (from BRFplus workbench)

2. Activate the trace (in the API to start rules processing) and look at recorded traces afterwards.

3. Find the generated class (in NW 731 or higher they can be found on the function screen, you may need appropriate user configuration) and set a break-point in the ABAP code as mentioned in above comments.

NW DSM gives you another nice tool for problem analysis: A business rule debugger that allows you setting break-points, watch-points, change variables, etc.

Answers (2)

Answers (2)

anindyaSAP
Product and Topic Expert
Product and Topic Expert

Hi Nikhil,

Just to elaborate a bit on Yasin's reply: You can generate code for a BRF+ function explicitely by runing report "FDT_GENERATION_TOOL". If code is already generated, you can get the class name either from BRF+ workbench or by running the above report and selecting the option "Generate Function on Demand" and providing the function name/id.

Once you get the generated class name, you can open it and go to method PROCESS_PURE. Here you will see comments like "Start of Rule xxxxxxx". By searching these you can directly place the external break point in the code line that is responsible for a particular BRF+ object.

Thanks,

Anindya

0 Kudos

Hi,

You can debug it by placing an external breakpoint in the generated brf+ app class.

Regards,