on 02-20-2008 6:35 AM
Hi Guys,
My requirement is: In a table control, 2 fields are coming from one node and third field is button. If i'm clicking on this button, the relevant field values are coming from the another database table (Here it may be more than 1). Can anyone has any idea about it? Is it possible to display all these fields in same table control which actually fatches data from 2 database tables?
Thanks,
Ravin Joshi
Thanks for support, i got the answer....
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi joshi,
first get the index of the row where the button is clicked.
don't for get to create action for the button.
write following code in the action:
data: elem_week_data TYPE REF TO if_wd_context_element.
w_index type i.
elem_week_data = wdevent->get_context_element( 'CONTEXT_ELEMENT' ).
w_index = elem_week_data->get_index( ).
Then get the data of two fields and bind it to the node.
Regards,
janakiram.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi ravin....
create a global structure for the table control....
create an internal table for the table control......
create a node with respect to the structure and bind it to the table control.
in teh on acton method... load values into this internal table and bind it to the node.
---regards,
alex b justin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.