on 10-17-2011 9:32 AM
Hi,
I've use the alv component. In a view I've created an view container, embedded the alv-table in the view container of window.
When I start the application directly with this view, I see the alv table with the selected data.
Now, I've made an new view with tabstrips, and have embedded the view with the alv in the view container.
The textview and the buttons I will see, but the alv-table is anywhere.
Is there a problem, when I embed a view with an embedded alv-table?
Thanks for your help!
Sascha
Hi,
There should not be any problem with having ALV table inside TabStrip UI element.
Please check with 2nd view whether you coorectly embedded the ALV (ViewContainerUIElement) window.
Just to test, you can take TabStrip UI element in 1st view and there just put the ALV (ViewContainerUIElement) inside one of the tab of tabstrip.
Thanks,
Chandra
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Chandra,
Thanks for your quickly answer.
Now I've tested it to put the alv table directly in the view container of a test tabstrip. This works now fine.
Unfortunately, when I've embed in this view container of the tabstrip the view, where is embedded the alv, the alv-table will be not visible. When I've call this view with the alv-table separately, it works fine.
Do you have an other idea?
Thanks, Sascha
They're five tabstrips.
My window structure looks like this:
W_MAIN (Window)
V_SERVICE_MAIN (View)
VCU_SERVICE_POS (View Container in Tabstrip 1)
VCU_SERVICE_VSL (View Container in Tabstrip 2)
VCU_SERVICE_SUBSERVICE (View Container in Tabstrip 3)
VCU_SERVICE_VERTPOS_VSL (View Container in Tabstrip 4)
VCU_SERVICE_VERTPOS (View Container in Tabstrip 5)
V_TAB_VERT_POS (Embedded View in Tabstrip 5)
VCU_VERT_POS_TAB (View Container of embedded View in Tabstrip 5)
V_TAB_VERT_POS (View for Tabstrip 5)
VCU_VERT_POS_TAB(View Container for ALV-Table)
TABLE (View of SALV_WD_TABLE)
With the method SET_WIDTH of IF_SALV_WD_TABLE_SETTINGS I've tried it also.
Thanks,
Sascha
Edited by: Sascha Weber on Oct 17, 2011 2:30 PM
Hi,
I created WDA with 2 views. V_MAIN and V_SUB.
In V_MAIN, i have UI Element TabStrip. Inside that I have VCU UI Element. The 2nd View (V_SUB) is embedded into VCU.
Now in V_SUB, I have VCU UI Element to which I embedded ALV table.
I am able to see the ALV Table in Tab of Tabstrip in 1st view V_MAIN.
This is kind of nested VCU but perfectly working. Not sure if this is probelm with your SAP support pack or anything else.
Thanks,
Chandra
Hi Chandra,
Thanks for your example. Now I've founded my failure. I've forgotten to embed the table-view in the VCU of the embedded V_SUB.
Window structure by first time:
W_MAIN (Window)
V_SERVICE_MAIN (View)
VCU_SERVICE_POS (View Container in Tabstrip 1)
VCU_SERVICE_VSL (View Container in Tabstrip 2)
VCU_SERVICE_SUBSERVICE (View Container in Tabstrip 3)
VCU_SERVICE_VERTPOS_VSL (View Container in Tabstrip 4)
VCU_SERVICE_VERTPOS (View Container in Tabstrip 5)
V_TAB_VERT_POS (Embedded View in Tabstrip 5)
VCU_VERT_POS_TAB (View Container of embedded View in Tabstrip 5)
V_TAB_VERT_POS (View for Tabstrip 5)
VCU_VERT_POS_TAB(View Container for ALV-Table)
TABLE (View of SALV_WD_TABLE)
Window structure after correction:
W_MAIN (Window)
V_SERVICE_MAIN (View)
VCU_SERVICE_POS (View Container in Tabstrip 1)
VCU_SERVICE_VSL (View Container in Tabstrip 2)
VCU_SERVICE_SUBSERVICE (View Container in Tabstrip 3)
VCU_SERVICE_VERTPOS_VSL (View Container in Tabstrip 4)
VCU_SERVICE_VERTPOS (View Container in Tabstrip 5)
V_TAB_VERT_POS (Embedded View in Tabstrip 5)
VCU_VERT_POS_TAB (View Container of embedded View in Tabstrip 5)
TABLE (View of SALV_WD_TABLE)
Now, it works!
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.