on 09-22-2012 8:00 AM
Hello Experts ,
Please provide steps to debug an BRF+Application .
Thanks and Regards,
Nikhil Kulkarni
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You can debug it by placing an external breakpoint in the generated brf+ app class.
Regards,
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.