cancel
Showing results for 
Search instead for 
Did you mean: 

How to see the values of attributes of context node in debuggine mode

former_member224404
Active Participant
0 Kudos

Hi team,

I want to see the attribute values of context node at debugging mode.

Tell me the way to do that.

Accepted Solutions (1)

Accepted Solutions (1)

SergioFerrari
Active Contributor

From the New Debugger:

- select "new tool" icon (on the right)

- select Special Tools

- select Web Dynpro

- select your web dynpro object (e.g. a view)

- and you will find a tab with the context

Sergio

former_member224404
Active Participant
0 Kudos

I can't find any new tool icon in debugger.Can you clarify in details?

SergioFerrari
Active Contributor
0 Kudos

Are you using the New Debugger? you can activate it via:

SE80 - Utilitites - Settings - ABAP Editor - Debugging.

Sergio

former_member224404
Active Participant
0 Kudos

Very very thanks to you Sergio for your detailed clarification. It was really worth a helpful one for me. Thanks to heidi as well for documentation. Cheers team

SergioFerrari
Active Contributor
0 Kudos

Not so important but in sdn.sap.com you should usually rewards points via the "Solved problem (10)" check box.

In any case, you are welcome...

Answers (3)

Answers (3)

former_member224404
Active Participant
0 Kudos

My query has been answered. Thanks everybody for their time

Former Member
0 Kudos

Hi Mainak Aich,

The Values of the attributes of node inside the context node can be seen in debugging mode.

Since the values for a node are generated at run time. You need to have a variable pointing to your node.

For this you can use the Code wizard that is present in the development workbench.

Code wizard automatically creates code for you. It will declare 3 variables,

1. For Node.

2. For Node Element.

3. For Element Structure.

Now you can see your attributes values directly from Element Structure variable or indirectly from the node variable provided the node is filled with element.

I think you have proper knowledge on how to debug a standard ABAP Report it is similar

to that.

Only thing is that you need to place the break-point at an appropriate place. For eg. In action method of a Button UI Element.

Hope it helps.

Regards,

Maheswaran.B

Former Member
0 Kudos

Hi,

see the <a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/43/95a6c84f7c60b7e10000000a11466f/frameset.htm">documentation</a>

Regards, Heidi