on 07-28-2009 3:59 PM
Hi every body ,
My requirment is : i have a tabstrip and the no.of tabs in the tabstrip is dynamic. So in each tab i am creating table ui element and binding the single context only in each tab .I am using the same node on each tab . Now my requirment is i want use the ALV.
I am using single node in all tabs . I need to use 1 ALV component in all the tabs . So guide me how to change the ALV table in all the view container UI elements based on my tab number . All should be done in the run time dynamically only .
Thank in advance ,
vijay
Hi,
Is the context dynamic or static.
You can use the sginle ALV instance but you need to use the SET_DATA and give the node name.
When you create the tabstrip and add a tab to it dynamically then store this instance. Based on this tabstrip intances
use the GET_TABS of cl_wd_tabstrip class and use the SET_DATA method based on the tabs you got.
Regards,
Lekha.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Lekha ,
Thanks for your reply . Here my node is static . I want to dispaly data from 1 table only in all the tabs .So i am using the same node in all the tabs . I am creating the table in each tab dynamically and binding the same node to all the tables. Now i want to make that ALV in that table place . So please guide me how to do it .
Thanks in advance ,
Vijay vorsu
Hi,
Have you resolved the issue?
When you create a ALV in the first tab then store the instance of the ALV globally.
Based on the tab Id, you can use the set_data method of the ALV dynamically and also you binding of table to the node
should also be done dynamically based on tab Id becasue the content is differing.
Regards,
Lekha.
User | Count |
---|---|
84 | |
23 | |
11 | |
9 | |
8 | |
5 | |
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.