on 09-17-2008 7:26 PM
Hi,
how can I see the values of the attribues of the context nodes on the debbuging mode?
Is it possible?
Thanks,
Hi,
Sure it is possible..
all you have to do is find a point may be the WDDOMODIFY method where you call the following code to get all the attributes of the node. the code may look like
DATA lo_nd_source TYPE REF TO if_wd_context_node.
DATA lo_el_source TYPE REF TO if_wd_context_element.
DATA ls_source TYPE wd_this->element_source.
DATA lt_source TYPE wd_this->elements_source.
* navigate from <CONTEXT> to <SOURCE> via lead selection
lo_nd_source = wd_context->get_child_node( name = wd_this->wdctx_source ).
CALL METHOD lo_nd_source->get_static_attributes_table
IMPORTING
table = lt_source.
Here Source is the node and lt_source has all the attributes.
Set a break point at call method and after the method is executed you can check all the attributes for this node.
Regards,
Kinshuk
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks a lot.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
use the "Read Context" feature of WD Code Wizard in your event handler code. Put break points there and check out the values.
Thanks.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi ,
U can see the context values in the new debugger. U need to add the Web Dynpro tool in the new debugger.
With Regards,
Ranganathan.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
10 | |
9 | |
9 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.