on 04-23-2008 5:13 AM
Hi All,
My requirement is like that dynamically i have to create tabstrip and in that each tab has Alv table to disply the data.
Regards,
Rajesh.
Hi Venkat,
For Dynamic Tabstrip you can use the Runtime class CL_WD_TABSTRIP. In that class using NEW_TABSTRIP class you can create a Dynamic Tabstrip.
For dynamic layout designing you should write the code in do modify view.
Thanks.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
To dynamically include an ALV additionally, you would have to do the following:
1. First declare the component usage for the ALV in your component, so that you can instantiate and use the ALV
2. Within the tab, you will have to dynamically also create a viewcontainerUIelement dynamically (similar way as you have dynamically created the tabstrip) - try using CL_WD_VIEW_CONTAINER_UIELEMENT.
3. You will have to dynamically embed the ALV component in viewcontainerUIelement created in (2). Try going thru
http://help.sap.com/saphelp_nw04s/helpdata/en/77/3545415ea6f523e10000000a155106/frameset.htm
4. Proceed with the ALV as usual.
Hope this helps.
Regards,
Wenonah
Hi,
Firstly, to have multiple ALVs in your component, you need to define separate component usages of the ALV component. Each of these has to be bound to every view container UI element that you define.
What exactly is your requirement? There could be a simpler solution than creating everything dynamically, which is not really worth the effort.
Regards,
Nithya
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
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.