on 05-05-2016 9:02 PM
Hi,
I have just started to work with BRF+. I found application with function at BRF+ workbench, How to find where this function called at backend system?
Thanks in advance and regards,
Pavlo
Hi Pavlo,
Unfortunately, there isn't a direct way that I know of; would have been great if there were though!
One thing that you can try is searching for the BRF+ function's name in the ABAP source code. You can use the standard report RS_ABAP_SOURCE_SCAN to do this. You may want to restrict the scope of the search by providing the package/class/program name or something.
Another option could be to set a breakpoint in the generated class's PROCESS_PURE method. In case you don't know, the generated class is the ABAP class that is generated for every BRF+ function and contains the logic of your BRF+ rules translated into ABAP. You can find this class on the "Code Generation" tab of your function.
Yet another option could be to set a breakpoint in method IF_FDT_FACTORY~GET_INSTANCE of class CL_FDT_FACTORY. Normally, this method is called at places that call BRF+ functions. If the control stops here, you can check the call stack and figure out the exact point where the BRF+ function is being called.
Having said that, you must know that it is also possible that the function you are looking at is not called from ABAP directly. It may have a wrapper function that calls it, in which case, the where-used on your function should show function calls (the BRF+ expression type) created for it.
Regards,
Akshat
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.