on 02-19-2007 6:24 PM
Hello,
I have dynpro application where data is displayed in ALV table using SALV_WD_TABLE. the view of this dynpro application has node 'operations' and operation node has around 36 attributes.
I want to read value of a first column of first row.
How can I achieve this.
Pl suggest... its bit urgent.
thanks,
Sharada
You can call get_element passing the index as 1, and read the attribute.
Data:
Node_Op type ref to if_wd_context_node,
Elem_Op type ref to if_wd_context_element.
Node_Op = wd_Context->get_child_node( 'Operations' ).
Elem_Op = Node_Op->get_Element( index = 1 ).
Elem_Op->get_attribute( name = 'attribute name' value = <value> ).
This would be the same irrespective of whether you are using ALV or table controls. I hope this is what you are looking for.
-nithya
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Nithya,
Thanks for help.
It has solved my problem and have done some change in last
Elem_Op->get_attribute( exporting name = 'attribute name' importing value = <field which can hold the data>).
thanks,
Sharada
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
24 | |
12 | |
9 | |
7 | |
6 | |
5 | |
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.