TABSTRIP control scrollbar

Hi all
I have on screen window with TABSTRIPS and when I have a smaller resolution then I see on the right scrollbar. Is is possible
to change position for this from code like in ALV grid->set_scroll_info_via_id ?
Thanx for any help
Edited by: Kosmo on Jan 28, 2010 9:23 AM

Do you know procedure to change position with scrollbar to main window with tabstrip?

Similar Messages

  • Wat is tabstrip control?

    wat is tabstrip control?

    hi,
    A tabstrip control is a screen object consisting of two or more pages. Each tab page consists of a tab title and a page area. If the area occupied by the tabstrip control is too narrow to display all of the tab titles, a scrollbar appears, allowing you to reach the titles that are not displayed. There is also a pushbutton that allows you to display a list of all tab titles.
    Tabstrip controls allow you to place a series of screens belonging to an application on a single screen, and to navigate between them easily. .
    When you create a tabstrip control, you must:
    Define the tab area on a screen and the tab titles.
    Assign a subscreen area to each tab title.
    Program the screen flow logic.
    Program the ABAP processing logic.
    You must then decide whether you want to page through the tabstrip control at the SAPgui or on the application server. In the first case, each tab page has its own subscreen. In the second, there is a single subscreen area that is shared by all tab pages.
    check this link :
    http://help.sap.com/saphelp_nw04/helpdata/en/17/5bf1b52ba211d2954f0000e8353423/content.htm.
    pls reward if helpful.
    Rajyalakshmi.

  • How can i hide a tabstrip control

    On my screen there are a pushbutton and a tabsrtip control which contain two tabs.
    initial,the tabstrip is visible,and the button with icon_collapse icon.
    then,i click the button ,and the tabstrip must be invisible,and the button's icon will change to icon_expand.
    if i use screen-name conditions to set the tab invisible,but the tabstrip has a shadow on the screen.the color of the space obtained by the tabstrip is different with other space's color.
    How can i set the color same with other if i want to hide the tabstrip.
    ths very much.

    see the example of custom tabstrip control for 0591 infotype
    MODULE ztab_strip_active_tab_set OUTPUT.
       IF  psyst-dsubt EQ 'BNPF'.
         g_ztab_strip-pressed_tab = c_ztab_strip-tab2.
         LOOP AT SCREEN.
           IF screen-group4 = '060'.
             screen-active = 0.
             MODIFY SCREEN.
           ENDIF.
         ENDLOOP.
       ELSEIF  psyst-dsubt EQ 'BNES'.
         g_ztab_strip-pressed_tab = c_ztab_strip-tab1.
         LOOP AT SCREEN.
           IF screen-group4 = '050'.
             screen-active = 0.
             MODIFY SCREEN.
           ENDIF.
         ENDLOOP.
       ENDIF.
       IF   psyst-dsubt NE 'BNPF' AND psyst-dsubt NE 'BNES'.
          LOOP AT SCREEN.
           IF screen-group4 = '050'.
             screen-active = 0.
             MODIFY SCREEN.
           ENDIF.
         ENDLOOP.
          LOOP AT SCREEN.
           IF screen-group4 = '060'.
             screen-active = 0.
             MODIFY SCREEN.
           ENDIF.
         ENDLOOP.
         g_ztab_strip-pressed_tab = ' '.
       ENDIF.
       ztab_strip-activetab = g_ztab_strip-pressed_tab.
       CASE g_ztab_strip-pressed_tab.
         WHEN c_ztab_strip-tab1.
           g_ztab_strip-subscreen = '0201'.
         WHEN c_ztab_strip-tab2.
           g_ztab_strip-subscreen = '0203'.
         WHEN OTHERS.
           g_ztab_strip-subscreen = '0202'.
       ENDCASE.
    ENDMODULE.                    "ZTAB_STRIP_ACTIVE_TAB_SET OUTPUT
    check this for hiding one tabstrip in one subtype and another in next subtype

  • How to insert tabstrip control in module pool screen painter

    Hi all!
    plz tell e how to use tabstrip control in module pool screen painter.Also plz give me an example program using tabstrip control.

    To insert tabstrip just open layout of screen and press on the tabstrip button there .
    Use this souce code further to activate it .
    CONTROLS tabstrip TYPE TABSTRIP.
    DATA: okcode TYPE sy-ucomm,
    dynnr TYPE sy-dynnr,
    flag type flag,
    active like tabstrip-activetab .
    call SCREEN 100.
    *& Module USER_COMMAND_0100 INPUT
    text
    MODULE USER_COMMAND_0100 INPUT.
    data: lv_okcode type syucomm.
    lv_okcode = okcode.
    clear okcode.
    case lv_okcode.
    WHEN 'TAB1'.
    dynnr = '0110'.
    WHEN 'TAB2'.
    dynnr = '0120'.
    WHEN 'TAB3'.
    dynnr = '0130'.
    WHEN 'TAB4'.
    dynnr = '0140'.
    WHEN 'TAB5'.
    "check authorization, if authorization fails
    flag = 'X'. "set the global flag
    active = 'TAB1'. "store active tab in global variable
    dynnr = '0110'. "set the screen number
    WHEN 'BACK' or 'EXIT'.
    leave program.
    ENDCASE.
    IF lv_okcode(3) = 'TAB'.
    tabstrip-activetab = lv_okcode.
    ENDIF.
    ENDMODULE. " USER_COMMAND_0100 INPUT
    *& Module STATUS_0100 OUTPUT
    text
    MODULE STATUS_0100 OUTPUT.
    SET PF-STATUS 'MAIN'.
    SET TITLEBAR 'xxx'.
    IF tabstrip-activetab IS INITIAL OR
    dynnr IS INITIAL.
    tabstrip-activetab = 'TAB1'.
    dynnr = '0110'.
    ENDIF.
    "set the activetab explicilty here
    if flag eq 'X'. "from authorization failure
    tabstrip-activetab = active. "'TAB1'
    clear flag.
    endif.
    ENDMODULE. " STATUS_0100 OUTPUT

  • How to hide tabstrip Control at runtime?

    hi to all.
    i used a tabstrip control in my screen.
    i want to make my tabstrip visible or invisible based on t-code
    for my screen.
    it will be total based on t-code.
    if i will enter t-code zins11 it will show me tabstrip for screen 100.
    if i will enter t-code zins12 it will hide me tabstrip for screen 100.
    Reply me.
    thanks.

    If you don't mind seeing the blank grey Tab Strip control box and simply hiding the tabs, this code will help.
      LOOP AT SCREEN.
        IF screen-name CP 'TS_TEST1_TAB*'.
          screen-active = 0.
          modify screen.
        ENDIF.
      ENDLOOP.
    where my Tab Strip name was 'TS_TEST1

  • Query about TABSTRIP Control within Sub screen

    Hi Expert,
    I have requirement like follows:
    In IW32->Enhancement Tab screen is as subscreen and No: 0900.
    Now I want to have 2 different sub screen say 0910 and 0920 each of this for different purpose according to
    Order Type as per clients requirement.
    Actaully I have developed screen 0900 already for some order type and now clients requirement changed i.e.
    there are 2 different groups of Order types (say Grp1 and Grp2)
    So, I proposed a solution for this as follows:
    In Enhancement Tab of IW32 according to group of Order Type (either Grp1 or Grp2) only you will be able to
    see fields for that perticular Grp either of 2.
    Technical Solution is like...
    1) I thought that I will create 2 subscreens say 0910 and 0920.
    2) In 0910 i will insert all those fields which are designed already in 0900 which is for Grp1
    3) and for Grp2 i will design 0920
    4) according to Order Type only 0910 or 0920 client will be able to see.
    Now I got stuck in between the screen development for 0920 because there are so many fields and i said to
    client that they will be able to see those fields in different Tab strips.
    I never worked on Tab Strip concept, I search so many forums and sites for Lesson on Tab Strip but not
    understood how to proceed as per my specific requiment.
    Please can anyone suggest me how to proceed further.
    Thanks in advance.
    Regards,
    Jay.

    There's no reason why you couldn't do it.
    A tabstrip control is simply made of a subscreen area and a "tabstrip" above, where each tab corresponds to a button/function code. You have 2 ways to define/program it, "local" or "server", the difference being a better performance with the "local" (interesting in slow WAN).
    In ABAPDOCU demos, you have 2 programs DEMO_DYNPRO_TABSTRIP_LOCAL and DEMO_DYNPRO_TABSTRIP_SERVER.
    Sandra

  • How to change the text for the tabs of a tabstrip control dynamically

    Hi Guys,
        I am having two screens in a transaction.
    1. 1st screen has material number as an input and submit push button
    2. 2nd screen has two tabs in a tabstrip control.
        I want to display material description and plant number as heading for the two tabs based on the material number entered by the user in the 1st screen. Means i want to change the text dynamically. Is there any possible way? If it is there please help me. Very urgent...
    Thanks in advance
    James.

    Hi,
    If you set the "Output field" attribute for a pushbutton/tab, you can also set its text dynamically in the ABAP program. To do this, you must create a field in the ABAP program with the same name as the pushbutton/tab. You must then assign the required text to the field before the screen is displayed.
    For example define a global field in your program called MATNUM(20) and use this as the name for the material number tab on the tabstrip. Then you can assign a text MATNUM = 'Material Number' and this will appear as the tab title. Don;t forget to set the "Output field" attribute on the tab.
    Hope it helps

  • Request for code on Tabstrip controls with subscreen in it.

    Hi experts,
    Can somebody please provide me the code for tabstrip controls with subscreens in it?
    Thanks,

    Hi,
    <li>Check the demo program DEMO_DYNPRO_TABSTRIP_SERVER.
    Thanks
    Venkat.O

  • Problem in Tabstrip Control

    Hi All,
    i had created an Custom Infotype.
    In that infotype i had created Tabstrip control with 2tabs.
    Each Tab contain 4 fields.
    When creating( F5) a record in transaction PA30, it allowing me create a record and the record is available in Data base table.
    1. My doubt is, when Display the Record through F7 and Change mode (F6), Still the fields are in editable mode. But not in Display Mode ( Editable Mode ).
    How to Disable the Fields for this Tab Strip Control. I have not used any Group Field for this. Can we need to Main tain anything.
    But SAVE option is automatically disabled.Iam not able to SAVE when i press F7 but in Editable is the My Problem.
    2. And one more query is, when press F5 or F6 or F7 it is show the following message at End screen,i.e.
    Protected tab titles are not supported (tab MENU_TABSTRIP title PUSH1) . But MENU_TABSTRIP is My Tab Strip control text Name and PUSH1 is my Tab1 , Function code.
    How to remove this message.
    Points will be rewarded.
    Thanks,
    N.L.

    Hi,
    Try this ....In the Table Control, double click on a field. In the attributes make that field as output only...
    Hope it helps,
    Swathi

  • Tabstrip control  Tab line navigation button display issue

    I have a tabstrip that has more tabs than can be displayed at the top of the tabstrip control.  When this happens a navigation button appears on the far right of the tab line( the line that contains all the tabs).  This has been working fine for several years.  Recently I needed to increase the width of the tabstrip control so that it was 160 character wide.  Now when the tabstrip displays, the tab line stops displaying at around 130 characters so the navigation button no longer shows.  As it turns out, the button is still there and functions as normal, except that it cannot be seen even though there are still too many tabs to all be displayed. 
    This appears to me to be a bug in the tabstrip control, but before I start complaining to SAP I thought I would ask here to see if anyone else might know of a solution to this problem. 
    Thanks for looking.

    Hi,
    cresate a managed bean in viewScope within the parent page and pass it as an argument to the child task flow. The managed bean contains/exposes a method to hide the menu items you don't want to show (or just disable them). The child task flow then can call the managed bean (from its input parameter reference) and invoke the method (e.g. in a method call activity as the default activity of the task flow).
    See this blog entry for more details: http://one-size-doesnt-fit-all.blogspot.de/2010/09/master-child-btf-chaperone-contextual.html
    Frank

  • Module Pool (tabstrip control Error :  )

    I am trying to activate tabstrip control in module pool but error is coming like no sub screen is assigned to tabstrip pushbutton
    tab12.
    my main screen is : 0221
    flow logic for 0221 is below :
    PROCESS BEFORE OUTPUT.
    CALL SUBSCREEN SUB1 INCLUDING SY-REPID '0321'.
    CALL SUBSCREEN SUB2 INCLUDING SY-REPID '0322'.
    PROCESS AFTER INPUT.
    CALL SUBSCREEN SUB1.
    CALL SUBSCREEN SUB2.
    MODULE USER_COMMAND_0221.
    and 0321 and 0322 is subscreen and i also gave ref field sub1 and sub2 .
    can you plz help me to solve the problem ?

    Hi,
    yes i created sub screen. i am going to explain what i have done .
    step : i created screen 200 (i choose subscreen)and inside 200 i put  tabstripcontrol then in tab1 i gave ref field sub1 and tab2 i gave ref field sub2 and fatch code ic1 and ic2.
    and then i created screen 221 and 222.
    inside 200 flow logic i wrote below code but still its giving me same error.
    PROCESS BEFORE OUTPUT.
    CALL SUBSCREEN SUB1 INCLUDING SY-REPID '0221'.
    CALL SUBSCREEN SUB2 INCLUDING SY-REPID '0222'.
    PROCESS AFTER INPUT.
    CALL SUBSCREEN SUB1.
    CALL SUBSCREEN SUB2.
    MODULE USER_COMMAND_0221.
    i dont know is it required to make any normal screen .
    please try to give me ans as soon as possible.

  • I need help in tabstrip control....helpful answers will be rewarded....

    Hi All,
    I am finding difficulty with the tabstrip control.i have created 3 tabs one for mara,marc and mard tables.i have to display few fields of these tables in their respective subscreens.using the material number i have to get the values from the table and display it in the respective subscreens.i am getting the output.but if i try to give another value for the material number it is not accepting...it holds the same value i gave before.i tried to use refresh,clear to clear the internal tabes i am using to fetch data.but i am not getting it....also
    i want to use f3 function key to go back even if i havent given the value for  mandatory fields.   can u help me?helpful answers will be rewarded....
    regards,
    sheeba.

    Hi,
    http://help.sap.com/saphelp_nw70/helpdata/en/04/10f2469e0811d1b4700000e8a52bed/content.htm
    http://help.sap.com/saphelp_sm32/helpdata/en/d1/801bd2454211d189710000e8322d00/content.htm
    Check think link:
    http://www.****************/Tutorials/ABAP/Tabstrips/page1.htm
    http://www.sapdevelopment.co.uk/dialog/tabcontrol/tc_basic.htm
    Regards,
    Priyanka.

  • Table update problem in tabstrip control

    Hi experts.
    i have one tabstrip control having 4 tabs.
    in those tabs i am updating one table say ztable(database table).
    my problem is this is happening in pai of every tab.
    but what ever i am updateing table those changes will reflect in other tabs.
    where i have to write code like pbo or what i should do.
    what ever i am updateing in tab1 i have to see in tab2.what ever i have update i should see in tab3.
    but it is not showing the updates when we will go for other tabs.
    Thanks

    Hi,
    Please check the following things :
    1 . The Fucntion code type for each tab is blank
    2 . Same subscreen area is assigned to each tab
    3 . Corresponding subscreen is dynamically incorporated into the subscreen area CALL SUBSCREEN in the flow logic
    If you are not doing this, then you are scolling in SAP GUI, not in your program. In this case the values entered in TAB1 won't get reflected in TAB2.
    If this is the case in your program, fix the above three points. then it will work.

  • Regarding icon in tabstrip control

    Hi Friends,
       I've designed a tabstrip control with 3 tabs.In each tab, I'm populating different data in ALV format.I've used a custom container for the same.Now I've a requirement from business side that if any of the tabs is having the data, some icon should be displayed alongwith the name of the tab (may be ICON_OKAY). If there is no data in the tab, then no icon should be displayed.
    Please advise me in detail as how to do this.Is there any standard functionality or method available for the same.
    Thanks in advance!!!!!

    Hi,
    I dont think we can control icon on tabs dynamically. May be the below links will be useful to find the alternatives / solutions.
    [Tabstrip controls|http://help.sap.com/saphelp_nw04/helpdata/en/17/5bf1b52ba211d2954f0000e8353423/frameset.htm]
    [Tabstrips|http://help.sap.com/saphelp_sm32/helpdata/EN/d1/801bd2454211d189710000e8322d00/content.htm]
    http://www.sapdesignguild.org /resources/icon_cookbook/icon_cookbook.pdf
    Statically if you want to attach then you can use : Screen painter: attributes for the TAB2.
    Regards,
    ~Satya
    Edited by: Satya suresh Donepudi on Mar 28, 2009 8:31 PM

  • Problem in Tabstrip Control in Custom Infotype Creation

    Hi All,
    Can any body tell me how to process with Tabstrip Control in an Custom Infotype.
    Iam creating Customizing Infotype With Tabstip Control.The Tabstrip Control have 2tabs.Each tab have Custom some fields.
    But iam not able activating the sample Tabstrip control.
    Can u tell me how to approach to create this in Modulepool programming for my Custom Infotype.
    Points wil be rewarded.
    Thanks,
    N.L.Narayana

    Hello Swapna,
    Thanks for your reply.
    This is my code for tabstrip control.
    AT SELECTION-SCREEN.
    CASE SSCRFIELDS-UCOMM.
       WHEN 'BOOK'.
         tabb1-prog = 'ZAXOMM005_V1'.
         tabb1-dynnr = 1.
         tabb1-activetab = 'TABS1'.
         option = '1'.
       WHEN 'SUMM'.
         tabb1-prog = 'ZAXOMM005_V1'.
         tabb1-dynnr = 2.
         tabb1-activetab = 'TABS2'.
         option = '2'.
       WHEN 'POST'.
         tabb1-prog = 'ZAXOMM005_V1'.
         tabb1-dynnr = 3.
         tabb1-activetab = 'TABS3'.
         option ='3'.
    *CH01 start
       WHEN 'RSET'.
         tabb1-prog = 'ZAXOMM005_V1'.
         tabb1-dynnr = 4.
         tabb1-activetab = 'TABS4'.
         option = '4'.
    ENDCASE.
    case option.
      when '1'.
    IF  SSCRFIELDS-UCOMM = 'ONLI'.
       if p1_werks is initial or p1_lgort is initial or
          p1_bstar is initial or p1_gjahr is initial.
         message e000(vz) with text-001.
       endif.
    ENDIF.
      when '2'.
    IF  SSCRFIELDS-UCOMM = 'ONLI'.
       if p2_gjahr is initial.
         message e000(vz) with text-005.
       endif.
    ENDIF.
      when '3'.
    IF  SSCRFIELDS-UCOMM = 'ONLI'.
       if p3_gjahr is initial.
         message e000(vz) with text-005.
       endif.
        ENDIF.
    *CH01 start
      when '4'.
    IF  SSCRFIELDS-UCOMM = 'ONLI'.
      if s4_werks is initial or p4_gjahr is initial.
         message e000(vz) with text-001.
      endif.
      if p4_book is initial and
         p4_summ is initial.
         message e000(vz) with text-022.
      endif.
       ENDIF.
    endcase.
    I can give you some more information.
    If I execute from program it is working fine, if I execute from T.code it is not working properly.
    Regards.
    Krishna.

Maybe you are looking for

  • I have a basic applet method timing problem with Firefox (and Chrome), not IE nor Opera. Works if JavaScript issues windows.alert() prior, fails otherwise.

    I have an applet method, which is invoked from a JavaScript function, that is triggered by the window.onload event. The problem seems to center in the loading of the applet and its methods. If I step through the 3 applet acceptance prompts (I chose t

  • Illustrator CS4 saves two files?

    Hi all, hopefully someone can help? When I save a file as an .eps from Illustrator it also saves the same file but adds _01 onto the end so I end up with twofiles saved of th same thing? Does anyone know how to stop this? Many thanks, S

  • Security, Consistency Check, Physical Model

    Hi experts, just THREE questions: 1- the following object-level security configurations: "Assign users to a web catalog group" and "Create a Web catalog group" could be done in the BI Administration Tool? 2- a consistency check can be performed over

  • Problem with importing CDs on itunes

    I am trying to update my Mums ipod so dont usually use this PC. Each time I try to import a CD an error message saying: iTunes has encountered a problem and needs to close. We are sorry for the inconvenience. It then closes down itunes and the same p

  • Able to keep time machine backups?

    I want to reinstall leopard to start clean, however I have ~300gb's worth of backups I would like to keep. So my question is, after reinstalling, can time machine "continue" with the backups from before? As i would like to use it to say, restore my d