cancel
Showing results for 
Search instead for 
Did you mean: 

ALV Table not seen in tabstrip

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

ChandraMahajan
Active Contributor
0 Kudos

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

Former Member
0 Kudos

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

ChandraMahajan
Active Contributor
0 Kudos

Hi Sascha,

As you did for your 1st view, on the same way just do it for 2nd view. It should work.

you just need to put your VCE(ViewContainerUIElement), inside Tab of TabStrip.

Thanks,

Chandra

Former Member
0 Kudos

It not works! Could it be a problem with an support package level?

Former Member
0 Kudos

How many tabs are there in Tabstrip?

Try to make the tab as default for the ALV one (the one you want to show ALV).

It must not be support pack problem. May be you need to adjust the TABSTRIP and ALV width and hieght settings and also check the LAYOUT type you have used...

Former Member
0 Kudos

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

Former Member
0 Kudos

How about the LAYOUT (MATRIX/GRID) for the TABSTRIPs.

Are they tabs in tabstrips or individual tabstrips.

Former Member
0 Kudos

Hi Lekha,

the Layout for the tabstrip is Matrix. They are all tabs in tabstrip.

Best regards, Sascha

ChandraMahajan
Active Contributor
0 Kudos

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

Former Member
0 Kudos

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!

Answers (0)