on 05-03-2007 6:35 AM
Hi experts..
I have an ALV table with display type hierachy..
Thats editable..Now i want to save the changes back into the database ...
So how do i get the data of the table in to an internal table.........
Jagruti
Hi Jagruti,
Did you write this line of code
node_test = wd_context->get_child_node( 'ALV_TABLE' ).
where 'ALV_TABLE' is the name of the context node that has been bound to the ALV .
After this call the get_static_attributes_table method.
Try this if you have not, may be of some help.
Regards,
Ismail.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi
good
your query is bit incomplete,try this process hope ll get some help.
1- go to Se38
2- put BCALV*
3-press F4
4- you ll find lots of example related to ALV,test them and use as per your requirement.
thanks
mrutyun^
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You would have declared a Context node that binds to the ALV table. So declare an internal table of the type of the context node and read the content of the ALV table.
Please find below the code snippet which may be of some help;
Assume the name of your view is Firstview and the node you have used for ALV is ALV_TABLE.
Data:lt_table type if_firstview=>elements_alv_table, table to hold data
Node_table type ref to if_wd_context_node.
node_table = wd_context->get_child_node( 'ALV_TABLE' ).
CALL METHOD node_table->get_static_attributes_table( IMPORTING
table = lt_table ).
You will get all the data into an Internal table lt_table .
Now you can proceed to do your further proceedings with the Internal table.
Regards,
Ismail.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
80 | |
9 | |
9 | |
7 | |
7 | |
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.