Skip to Content
Author's profile photo Ramakrishnappa Gangappa

Using a special tool <> while debugging in Web Dynpro ABAP

Hi, Welcome 🙂

I would like to demonstrate the scenario of using a special tool called “Web Dynpro” while debugging WDA applications.

While debugging Web dynpro applications, we would be looking for viewing the data filled at runtime in context nodes, along with available runtime objects of whole WDA component.

The new debugger application is having a special tool called “Web Dynpro”, which helps in analyzing the WD context data at runtime along other runtime objects.

Pre-requisite:

Basic knowledge of Web Dynpro ABAP, OO ABAP

Scenario:

Here, I would like to demonstrate the simple application with a table filled with 3 rows of data as below

  • Creat a WDA component with a view V_MAIN
  • Create a context node with attributes FIRST_NAME & SECOND_NAME
  • Fill the data  in method WDDOINIT( )  of component controller & activate the component
  • Add an ui element TABLE and bind it to the context node of component controller
  • Creata an application and here is the out of our application

1.PNG

Now, I set “External Breakpoint” in method WDDOMODIFYVIEW( ) of view V_MAIN

When we run our application, the debugging window opens up as below

2.PNG

Choose your preferred desktop in debugging window & click on “New Tool” as shown in the above picture

Upon clicking on New tool button, a dialong box opens up as below

3.PNG

Choose  “Web Dynpro” option under “Special Tools” node ( as shown in above picture ) and now the web dynpro debugger window opens up as below

/wp-content/uploads/2014/01/4_1_363641.png

Here, we can see WD component structure with component controller, view, window information.

Chose component controller and then open the node DEMO_1, we can see the values filled inside the context node along with lead selection details

We can also, navigate into the context of view as below

/wp-content/uploads/2014/01/5_1_363642.png

Also, we can visit the component usages and analyze the data filled in respective context nodes.

This tool is very helpful for analysing context nodes and its data filled at runtime in complex applications 🙂

I appreciate any comments/feedback 🙂 🙂 🙂

Assigned Tags

      24 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Naren Krishna Karra
      Naren Krishna Karra

      Hi Rama,

                     This tools is certain to come in handy for WDP beginners. Thanks for sharing it.

      Regards,

      Krishna.

      Author's profile photo Ramakrishnappa Gangappa
      Ramakrishnappa Gangappa
      Blog Post Author

      Thanks a lot Krishna 🙂

      I appreciate your valuable feedback... yes.. its handy for all while debugging 😉

      Regards,

      Rama

      Author's profile photo Venu P
      Venu P

      Hi Rama,

      Thanks for sharing it. This will be useful  a lot 🙂 .

      Regards,

      Venu

      Author's profile photo Ramakrishnappa Gangappa
      Ramakrishnappa Gangappa
      Blog Post Author

      Thank you Venu 🙂

      I appreciate your comments

      Regards,

      Rama

      Author's profile photo murali krishna
      murali krishna

      Thanks Rama. Your suggestions are always helpful from the past 🙂

      Author's profile photo Ramakrishnappa Gangappa
      Ramakrishnappa Gangappa
      Blog Post Author

      Thank a lot Murali 🙂 .. Your feedback is highly appreciable 🙂

      Hope you are doing well.

      Author's profile photo Former Member
      Former Member

      Good One Rama,

      It is very helpful and informative for beginner's.......

      Regards,

      Mohsin.

      Author's profile photo Ramakrishnappa Gangappa
      Ramakrishnappa Gangappa
      Blog Post Author

      Thank you Mohsin 🙂 I appreciate your time and your feedback 🙂

      Regards,

      Rama

      Author's profile photo Laxman Chittepu
      Laxman Chittepu

      Thanks Rama,

      Very helpful...

      Regards,

      Laxman

      Author's profile photo Ramakrishnappa Gangappa
      Ramakrishnappa Gangappa
      Blog Post Author

      Thank you Laxman 🙂

      Am glad that its helpful 😎

      Regards,

      Rama

      Author's profile photo Former Member
      Former Member

      Very nice and very instructive.

      Author's profile photo Ramakrishnappa Gangappa
      Ramakrishnappa Gangappa
      Blog Post Author

      Thank you Carlo 🙂 I appreciate your feedback.

      Regards,

      Rama

      Author's profile photo VidyaSagar Malla
      VidyaSagar Malla

      Its a good one if pos try to show a example with a complex one thanks.

      Author's profile photo Ramakrishnappa Gangappa
      Ramakrishnappa Gangappa
      Blog Post Author

      Thank you 🙂

      Author's profile photo Harsh Bhatt
      Harsh Bhatt

      Nice tool...

      Regards,

      Harsh

      Author's profile photo Ramakrishnappa Gangappa
      Ramakrishnappa Gangappa
      Blog Post Author

      Thank you Harsh 🙂

      Author's profile photo Gaurang Gujar
      Gaurang Gujar

      Hello Ramakrishnappa,

      Thanks for sharing the information.

      Regards,

      Gaurang

      Author's profile photo Ramakrishnappa Gangappa
      Ramakrishnappa Gangappa
      Blog Post Author

      Thank you Gaurang 🙂

      Author's profile photo Sergey Novikov
      Sergey Novikov

      Thanks Rama,

      I'd like ask you.

      You say: "Also, we can visit the component usages and analyze the data filled in respective context nodes."

      How can I do it. Especially, how can I view table node?


      Regards,

      Serg.

      Author's profile photo Venu P
      Venu P

      Thanks Rama.

      Very Nice tool...

      Author's profile photo Ramakrishnappa Gangappa
      Ramakrishnappa Gangappa
      Blog Post Author

      You are welcome Venu, thanks for your time.

      Yes, its a very useful tool

      Author's profile photo Ramakrishnappa Gangappa
      Ramakrishnappa Gangappa
      Blog Post Author

      Hi Serg,

      Yes you can also view data of context node of component usages as well.

      You click on component usage name on the left side panel and you would be able to navigate into the component and its interface nodes.

      Regards,

      Rama

      Author's profile photo raja m
      raja m

      Thank u so much rama,

      Its very helpfull.

      Author's profile photo Ramakrishnappa Gangappa
      Ramakrishnappa Gangappa
      Blog Post Author

      Thank you Raja 🙂 Yes, its a very useful tool 😎