What is Web Dynpro in SAP? | Guide For Functional Consultants

What is Web Dynpro in SAP?

Web Dynpro is basically a web application technology. When you hear Web Dynpro, you can associate it to web based applications or portals. This is mostly used for its declarative user interface feature. An example would be business users or approvers who do not need to explicitly access SAP. Rather, they are able to utilize a portal (Web Dynpro) to work on related tasks. Any sort of transactions done on the portal is expected to reflect in SAP.

Web Dynpro for Functional Consultants

In some cases, SAP Functional Consultants may need to do some analysis on Web Dynpro Applications whether it be to analyze the feasibility of building on top, anew, or to simply understand the functionalities behind it.

In this post, we will be covering some basic ways to search for tables and methods used in Web Dynpro.

Note that it helps to have a basic background on programming language/s. If there is totally no programming (or even scripting) background and you are stuck on how to interpret the code, seeking help from an ABAP-er will be much helpful.

  1. Find The Web Dynpro Application / I Do Not Know The Web Dynpro Application
  2. I Know The Table Name but I Do Not Know the Web Dynpro Application
  3. How to Find The Table Used in Web Dynpro Application

Here is an overview of the helpful Transaction Codes and Tables:

TABLEWDY_APPLICATIONWeb Dynpro: Application
TABLEWDY_COMPONENTWeb Dynpro: Component
TCODESE11ABAP Dictionary
TCODESE80Object Navigator / ABAP Development Workbench
TCODESE16NGeneral Table Display

1. Find The Web Dynpro Application / I Do Not Know The Web Dynpro Application

In some cases there is a lack of documentation so if you are unsure of the Web Dynpro Application you need to analyze, you can try doing the options below.

  • SE16N > WDY_APPLICATION > Wildcard Search
  • SE16N > WDY_COMPONENT> Wildcard Search
  • SE80 > Wildcard Search

Remember that it is assumed that you have at least some keywords that fit the Web Dynpro application you are searching for. For this example, we are trying to locate a Web Dynpro Application that deals with Time so our wildcard search will be *time*.

SE16N > WDY_APPLICATION > Wildcard Search

Go to Transaction Code SE16N, Enter the Table Name WDY_APPLICATION, then do a Wildcard Search.

The results should be seen in the search results where you can use the Web Dynpro Application names to search via SE80. In most cases, I find that this table is able to provide what I am looking for.

SE16N > WDY_COMPONENT> Wildcard Search

Similar to the example above, you can go to Transaction Code SE16N, Enter the Table Name WDY_COMPONENT, then do a Wildcard Search.

The results should be seen in the search results where you can use the Web Dynpro Component names to search via SE80.

SE80 > Wildcard Search

You can use this even without doing the options above but if you have a Web Dynpro Application Name in mind, you can enter it in the search field later on.

Go to Transaction Code SE80, Click on Repository Browser, and Select Web Dynpro Comp./Intf. from the drop down (highlighted in red). From there you can do a wildcard search in the search field (highlighted in blue).

Usually, upon typing the wildcard search you should see the available selections right below (highlighted in purple).

If you know the Web Dynpro Application name, simply key it in and press enter. You should see it being populated under the Object Name Area below.

You can traverse the Web Dynpro Applications and Double Click on your Selection

To test the Web Dynpro Application, simply click on the Test/Execute button or F8 on your keyboard. A pop-up should occur for your use.

2. I Know The Table Name but I Do Not Know the Web Dynpro Application

SE11 > Table Name > Where Used List > WebDynpro Application

If you know the Table Name and are trying to find the corresponding Web Dynpro Application, Go to Transaction Code SE11, Enter the Table Name, then Click on the Where Used List Button (highlighted in red).

You should see a similar screen below where you can Select Web Dynpro Component to filter your search. Click on the green Check button to proceed.

Results should look something like this where you can find the Web Dynpro Application or Component (highlighted in pink) for your use in SE80.

Tip: you can also double click on the search result line to pull the specific line of code that calls this table.

3. How to Find The Table Used in Web Dynpro Application

In the example below, I will be doing a quick run-through on how to find the table used in the Web Dynpro Application. Let us assume that we are looking for the table used for a dropdown that is being displayed in Web Dynpro.

Go to Transaction Code SE80, Click on Repository Browser, and Select Web Dynpro Comp./Intf. from the drop down. Enter the Web Dynpro Application in concern then press Enter on your keyboard.

Expand the Views area and locate the Main View or View you are looking for (where the drop-down is seen). Go to the Methods Tab and locate Method WDDOMODIFYVIEW (highlighted in black). Double click on this Method.

Your screen should now show the code behind Method WDDOMODIFYVIEW.

At this point, you can do a Ctrl+F to find the chunk of code that does the drop-down loading. Enter the keyword “load” or “drop-down” or anything you find suitable then click on the Find Next Button to traverse the code. Usually, you can find some comments in the code or the variable/method names should contain keywords of “load”.

If you find what you are looking for, double click on the load method to traverse its code.

From here you should see the code calling tables or even a query (highlighted in yellow) that generates the dropdown selection.

You can also double click on the table (highlighted in orange) that is being called to trigger a Database View where you can view the associated table fields.

For my case, I find that by going to the “Table/Join Conditions” Tab, I am able to get a clearer picture of the conditions that need to be met for the drop-down selections.

I can now check on these tables (as seen on the left-hand side) in SE16N to cross reference and further analyze.

SUMMARY

  • SE16N > WDY_APPLICATION > Wildcard Search
  • SE16N > WDY_COMPONENT> Wildcard Search
  • SE80 > Wildcard Search
  • SE11 > Table Name > Where Used List > WebDynpro Application
  • SE80 > WebDynpro Search and Selection > Views > MainView > Methods Tab > WDDOMODIFYVIEW > Find Key Words / Traverse  

I hope this helps. Goodluck! 😊

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.