| Home • Tips • Tutorials • Sample Specs • Certification Q's • Interview Q's • Jobs • Testimonials • Contact Us | ||
Document Categories:
What's New?
Contribute?What's Hot? |
How to search Web Dynpro component for a particular method or statement? (Web Dynpro for ABAP)By Raghavendra Vadakattu, Yash Technologies Issue: As SAP
didn’t provide any direct option to search the Web Dynpro, the developer has
to search for each and every window, views, and methods etc. Searching one by
one view is a tedious process and time consuming. Say
for example: If the
developer wants to search for some statement, here I would like to check whether
the database table S715 is used in my web Dynpro component ZCD0_WD_FORECAST or
not. If so, then I would like to collect all instances where it is used, the
views and methods it is used. Solution: SAP has
provided a Class to get the class name of the any Web Dynpro component: Class
Name: CL_WDY_WB_NAMING_SERVICE Use
Method: GET_CLASSNAME_FOR_COMPONENT Execute (
Provide
the Web Dynpro component name as input: /1BCWDY/G0DNP6DCGHZPKYVE15GZ
class is a SAP generated one for the Web Dynpro component ZCD0_WD_FORECAST.
Searching this class is same as we search in other normal class. Open the
class /1BCWDY/G0DNP6DCGHZPKYVE15GZ in SE24 and search (Ctrl+F) the class for the
statement ‘S715’. Please find
result in below screen shots, it shows all instance where this table is used by
providing all details like view name, method.
Global
Search: Search
Results:
The below
screen shows the View name and method name in which S715 table is used. And also
you can observe all tabs which you find same in Web Dynpro.
|
|
|
Please send us your feedback/suggestions at webmaster@SAPTechnical.COM Home • Contribute • About Us • Privacy • Terms Of Use • Disclaimer • Safe • Companies: Advertise on SAPTechnical.COM | Post Job • Contact Us ©2006-2007 SAPTechnical.COM. All rights reserved. All
product names are trademarks of their respective companies. SAPTechnical.COM
is in no way affiliated with SAP AG. Graphic Design by Round the Bend Wizards |
||