‎2019 Sep 19 1:59 PM
Hi folks,
I have a WDA with an context controller attribute. There is no supply function for it, I have the strong sucpicion its changed while runtime. I wanna watch at it resp. monitor it in debugger for changes, it means I would like to identify where its used within the source.
How can I do it in ABAP? Thanks,
br
‎2019 Sep 19 6:47 PM
Web Dynpro has a special debug tool. Set a breakpoint in your code and execute the application to trigger the breakpoint. Once in debug, click "New Tool" to add a tool then select "Web Dynpro".


Cheers,
Amy
‎2019 Sep 19 6:47 PM
Web Dynpro has a special debug tool. Set a breakpoint in your code and execute the application to trigger the breakpoint. Once in debug, click "New Tool" to add a tool then select "Web Dynpro".


Cheers,
Amy
‎2019 Sep 20 9:32 AM
Thank you for your help Amy. An ABAP developing colleague, I have asked for advice on this issue, had the same idea and we ran together trough the WDA debug tool to test if we can observe corresponding context attribute for getter / setter access somehow, but we werent successful.
We were able to find some references to the content of the attribute Im looking for, but its content is not what Im interested in. My task is rather to observe its value for any changes or read access and be able to identify where it comes from, means which dictionary objects are triggering it. Cause of this I cant follow your suggestion to set a break point somewhere - I wouldnt even know where, actually I would like to find out code segments which are affecting a context attribute first. I hope my explanations are clear more or less.
Probably we have missed something, if have any further clues those would be very welcome, thanks,
br
‎2019 Sep 24 7:54 PM
The answer to my question was this for me in fact:
https://blogs.sap.com/2013/07/17/steps-to-do-a-global-search-in-abap-webdynpro/
Its a bit dirty, since the search is showing you also sap generated classes, but works if you are looking for potential read or write operations. SAP ways are weird...
br