cancel
Showing results for 
Search instead for 
Did you mean: 

Tabstrip Control

Former Member
0 Kudos

Hi All,

Can you plz tell me how to make a tabstrip control invisible.

Rgds

Kalyan

Accepted Solutions (0)

Answers (5)

Answers (5)

Juwin
Active Contributor
0 Kudos

When you create a TABSTRIP control on the screen, you will have to declare, something like the below statement in your program.

CONTROLS: <SCREEN_TAB_NAME> TYPE TABSTRIP.

Once you do this, you will be able to access <SCREEN_TAB_NAME> as a structure in your program. Now, in your PBO write code <SCREEN_TAB_NAME>-INVISIBLE = 'X', and then your tabstrip will be invisible.

Similar is the case for table control too.

~Juwin

Former Member
0 Kudos

Hi Priya,

I must agree with what Juwin says. The tabstrip will have a <i>name</i> and that must be available in the <i>screen</i> table.

Regards,

Anand Mandalika.

Former Member
0 Kudos

Hi Anand and Juwin,

I have got a solution for making a tabstrip Invisible.

It is not possible with the SCREEN table.

I have made all the tab pages of the tabstrip invisible. This automatically makes the tabstrip invisible.

Rgds

Priya

Juwin
Active Contributor
0 Kudos

Hi,

I guess you misunderstood my answer. The TABSTRIP will not be listed in the SCREEN table. You needn't loop at screen to make the tabstrip invisible. Just write the statement <SCREEN_TABSTRIP_NAME>-INVISIBLE = 'X' and that's enough. No "LOOP AT SCREEN" OR "MODIFY SCREEN" is required for this.

~Juwin

Former Member
0 Kudos

try this

CASE save_ok.

WHEN 'DISP'.

LOOP AT SCREEN.

IF screen-group1 = 'ABC'.

screen-input = 0.

MODIFY SCREEN.

ENDIF.

ENDLOOP.

WHEN 'CHAN'.

LOOP AT SCREEN.

IF screen-group1 = 'ABC'.

screen-input = 1.

MODIFY SCREEN.

ENDIF.

ENDLOOP.

WHEN 'CREA'.

LOOP AT SCREEN.

IF screen-group1 = 'ABC'.

screen-input = 1.

MODIFY SCREEN.

ENDIF.

ENDLOOP.

ENDCASE.

regards,

surpreet

Former Member
0 Kudos

Hi,

In Dialog program: at <b>PBO</b> or in a selection screen: at <b>selection-screen output</b>

LOOP AT SCREEN.

IF SCREEN-GROUP1 = 'M01'.

SCREEN-ACTIVE = '0'.

modify screen.

endif.

endloop.

Svetlin

Former Member
0 Kudos

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/abap/abap code samples/alv grid/abap code sample for tab strip in alv.pdf

U can search for option here.

athavanraja
Active Contributor
0 Kudos

where on selection-screen or in dialog program, what exactly is your problem. if you could give us some more details , we would be able to help you.

Regards

Raja

Former Member
0 Kudos

Hi,

We cannot assign a tabstrip to a Group...and hence we cannot make a tabstrip invisible using loop at screen.

My requirement is:

There are two buttons in a screen and one tabstrip.

When I click on the button 1, tabstrip should be invisible and when I click on button 2, tabstrip should be visible.

Regards

Kalyan

athavanraja
Active Contributor
0 Kudos

put the tablstrip in side a box. and box can have group value, based on that you can hide/unhide

Regards

Rajada