on 08-01-2005 7:11 AM
Hi All,
Can you plz tell me how to make a tabstrip control invisible.
Rgds
Kalyan
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
User | Count |
---|---|
5 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.