SQL Server administration and T-SQL development, Web Programming with ASP.NET, HTML5 and Javascript, Windows Phone 8 app development, SAP Smartforms and ABAP Programming, Windows 7, Visual Studio and MS Office software SAP ABAP Programming and HANA Database Tutorials
Development resources, articles, tutorials, samples, codes and tools for .Net, SQL Server, Windows, Windows Phone, SAP and ABAP, like SAP UI5, Screen Personas, etc.




CRM Companies List
Web Based CRM Software


Find Web Dynpro Class Name to Search in ABAP Code

To make code search (Find) in SAP Web Dynpro component codes is not easy as SE38 ABAP Editor screen. Web Dynpro programmer has to search in each action or event method to make search to find specific text. Fortunately cl_wdy_wb_naming_service class get_classname_for_component static method enables ABAP developers to get the class name of the related SAP Web Dynpro component to make a direct code search like Find function within class codes.

Call transaction SE24 Class Builder: Initial screen tcode.
And enter the class name CL_WDY_WB_NAMING_SERVICE in the Object Type input area.

If you Display cl_wdy_wb_naming_service class, you will see that it has a static method named GET_CLASSNAME_FOR_COMPONENT which is used for to supply the implementation class for a Web Dynpro component.

SAP Web Dynpro naming class for ABAP programmer

Press F8 to run the naming service class. ABAP programmers will see the following screen which enables them to execute static methods.
Execute method get_classname_for_component by pressing the icon following the method name.

get class name for web dynpro component using static class method

Enter the Web Dynpro component name which you want to learn its class name in the P_COMPONENT import parameter area. Knowing the class name will help ABAP developers to search within ABAP codes of the Web Dynpro component.

find ABAP class name for SAP Web Dynpro component

After WebDynpro component name is entered, execute the static class method cl_wdy_wb_naming_service->get_classname_for_component by pressing F8 shortcut key. The output will be the class name for the Web Dynpro component as follows.

ABAP class name of SAP Web Dynpro

After the Web Dynpro class name is obtained from the cl_wdy_wb_naming_service->get_classname_for_component static method, return back to SE24 tcode initial screen. Enter the Web Dynpro component class name in Object Type text field and press Display (F7) button. At this point using the Find button ABAP programmers are able to search specific text patterns to find the places where they are used within the Web Dynpro codes.

search in ABAP class code for SAP Web Dynpro component






SAP Tutorials

SAP Tutorial

SAP Forums

SAP Tools

SAP Transaction Codes Table






Related Articles and Tutorials(http://www.kodyaz.com/sap-abap/find-webdynpro-class-name-search-in-code.aspx)
Display Adobe Form in SAP Web Dynpro
Display Data on Web DynPro Table Element
How to Debug SmartForms - Debugging SAP SmartForm in ABAP ?
ABAP Runtime Error ST22 Transaction using Short Dump Analysis
Add Button to ALV Table Header on SAP Web Dynpro
Add Web Dynpro Applications to SAP Favorites Menu
Traffic Lights in SAP Web Dynpro ALV Table
Component Usage ALV Does Not Have an Active Component
Create Search Help in ABAP for Web Dynpro Component
Create Transaction Code for Web Dynpro Application
Display and Download Adobe Form as PDF File in SAP Web Dynpro
Enable Remote Debugging in ABAP using RSRDEBUG
Find Web Dynpro Class Name to Search in ABAP Code
How to Clear Web Dynpro Cache
Web DynPro Tutorial - How to create Web Dynpro Application (Web Dynpro Component)
Test Web Dynpro ABAP Component by Creating Web Dynpro Application
Remove ALV Buttons on SAP Web Dynpro Component
Set Page Title in Web Dynpro Application
Web Dynpro Text Translation using Assistance Class
Trigger ALV Events in Web Dynpro Component
SAP Web Dynpro ALV Tutorial
Read Checkbox Value in Web Dynpro Editable ALV
SAP Web Dynpro File Upload using GOS cl_fitv_gos Class
Add Value Help to Web Dynpro Select Options
Web Dynpro Component Service Syntax Error in Program /1BCWDY/O3EC1AX6A3OVKK9L5FXO==CP
Translate Web Dynpro Header Title displayed on Web Browser
SAP Web Dynpro Service Cannot be Reached Error
Web DynPro Tutorial - Display Spool Requests using Web DynPro Table


Copyright © 2004 - 2017 Eralper YILMAZ. All rights reserved.
Community Server by Telligent Systems