Problem in navigatiion between Tabs in Tabstrip control

Hi experts,
I have an issue when working on tab strip. That is, i m having few text fields in Tab1 and a table control in Tab2. Now when i enter values in table control in Tab2 and again if i click Tab1, tab 1 is not getting displayed. Still Tab2 is displayed. Im not able to navigate between Tab1 and Tab2.
I have written the following in the main program/
PROCESS BEFORE OUTPUT.
MODULE STATUS_9000.
module get_domain.
call subscreen :sub1 including sy-repid '9001',
                          sub2 including sy-repid '9002'.
PROCESS AFTER INPUT.
call subscreen sub1.
call subscreen sub2.
MODULE USER_COMMAND_9000.
Pls tell me how to solve this issue

HI,
Please try to use one one sub screen i.e. SUB1.
in PBO write  : call subscreen: sub1 including sy-repid w_dynnr.
In PAI write : call subscreen: sub1.
and in coding.
when 'SCR1'.
      ts101-activetab = 'SCR1'.
      clear w_dynnr.
      w_dynnr = '0102'.   " HERE 102 is normal screen. we are passing this screen to sub1
when 'SCR2'.
      ts101-activetab = 'SCR2'.
      clear w_dynnr.
      w_dynnr = '0103'. " " HERE 103 is normal screen. we are passing this screen to sub1
so try to create 3 screens i.e. 1 subscreen with 2 normal screens.
Thanks,
kat

Similar Messages

  • Adding tab in tabstrip control dynamically..........

    Hi ,
        I am using TabStrip control of PDK .NET. I want to add tab dynamically in tabstrip control.
    But I am getting error for any postback when I switch in between tabs.
    Error description is :
    <b>"Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index"</b>
    <b>Stack Trace:
    [ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
    Parameter name: index]
       System.Collections.CollectionBase.System.Collections.IList.get_Item(Int32 index) +2382545
       SAP.Web.UI.Controls.TabCollection.get_Item(Int32 index) +6
       SAP.Web.UI.Controls.TabStrip.LoadPostData(String sPostData, NameValueCollection oPostCollection) +92
       System.Web.UI.Page.ProcessPostData(NameValueCollection postData, Boolean fBeforeLoad) +674
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2965</b>
    Any help appreciated?
    Regards,
    Prashant

    Hi Prashant,,
    your index is less than zero, the postback will not store it unless you explicitly save it using 'enable view state' for the tree control, if it is already enabled and still not working: here is the work around :-
    you can store it in a hidden input field, so that it can be retrived when you do a postback, and then reassign the current index
    it should be a relatively simple fix
    please let me know how you get along...
    with respect,
    amit

  • Tab in Tabstrip Control in display mode (Module Pool)

    Hi friends,
    I am trying to give authorization based on sy-uname, in runtime based on uname the particular tab should be opend in a display mode and some in change mode.  please help me out in this
    Edited by: shravan sonayila on Aug 12, 2008 8:06 AM

    Hi,
    when u creating tabstrip,while defining each tab in tabstrip , u have to
    create one subscreen for each tab.i think u want one tab for display
    mode and one tab for edit mode. if u want this way , in one tab try to
    give fields all in invisible mode this for display mode and goto second tab if u want all visible only keep like that only other wise u have create geoups.when u press enter ,groups will be change.it means visible , invisible modes.
    u have to give logic for screen in pbo.
    *&      Module  STATUS_0300  OUTPUT
          text
    module status_0300 output.
      set pf-status 'GUI_300'.
      set titlebar 'TITLE_300' with v_title.
      if i_aktyp = 'H'.
        if temp_flag = 1.
          loop at screen .
            if screen-group1 = 'GP2'.
              screen-input = 1.
              modify screen .
            else.
              screen-input = 0.
              modify screen.
            endif.
            temp_flag = 0.
          endloop.
        else.
          loop at screen.
            if screen-group1 = 'GP1'.
              screen-input = 1.
              modify screen.
            else.
              screen-input = 0.
              modify screen.
            endif.
            temp_flag = 1.
          endloop.
        endif.
      elseif i_aktyp = 'V'.
        loop at screen.
          if screen-group1 = 'GP1'.
            screen-input = 1.
            modify screen.
          else.
            screen-input = 0.
            modify screen.
          endif.
        endloop.
      endif.
    endmodule.                 " STATUS_0300  OUTPUT
    Try to give this logic.
    Regards,
    Ramya

  • Module pool. error while navigating between tabs in tabstrip

    Hi all,
    in the module pool program, when i navigate from one tab to another it is giving me an error saying "Illegal value when compressing the screen". what might be the reason?
    Thanks

    Hi,
    Check out the dimensions of the subscreen. May be its bigger than your subscreen area.
    Regards,
    Naga Sai Swapna

  • 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

  • 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.

  • 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

  • Problem hiding Tabs in Tabstrip of My Trips and Expenses WD ABAP iView

    Hi,
    My requirement is to hide the thet tabs ALL MY Trips,All my Travel REquest,All my travel Plans,Pending expense report from the tabstrip ALl my Expense report in Travel and Expense Application.
    I have gone through the thread and the sap note mentioned in
    Re: Problem hiding Tabs in Tabstrip of My Trips and Expenses WD ABAP iView
    My problem is tabs that has to be deleted /hidden does not present in the Development system, but exist in the QA or the prd system.
    So how to implement the note when data is not present in the dev system and only exist in the QA/PRD system.
    Pleas eprovide me your valuable inputs.
    Thanks in advance.
    Pooja

    Implemneted the note and problem is solved.

  • 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.

  • I've noticed this especially when I youtube or video stream for a while. Switching between tabs takes 3-4 seconds. Definitely a memory leak! Is it a general problem or addon specific?

    I've noticed this especially when I youtube or video stream for a while. Switching between tabs takes 3-4 seconds.
    Definitely a memory leak! Is it a general problem or addon specific?
    Also, when I try to close firefox and restart it, the process doesn'y get killed with the normal Command + Q in Mac.
    I need to use Force Quit instead.

    Try updating Flash. You appear to be running an older version dating from September 2010 which might be the cause of the problem. Download from http://get.adobe.com/flashplayer/
    If the problem persists after updating, try running Firefox in [[Safe Mode]]. If it functions properly in that configuration, then one of your add-ons is the culprit.

  • Renaming the tabs on a tabstrip control for ME21N

    Hello SDNers,
    I am working on a screen enhancement for ME21N using user exit MM06E00.
    On ME21N a addiional tab called "Customer Data " has been added along with the standard tabstrip control.
    I wanted to rename this has "CFORM" now how do I do this.
    Please help me regarding this.
    Regards,
    Ranjith N

    Hi Nambiar,
    Go to the text symbols of Function Pool SAPLXM06 (function pool that contains the modules and includes and screens creatted using Enhancement MM06E005 ).
    Say you want to name the custom header tab (screen number 101) in PO as 'PO Header additonal data'.
    Then in the text symbols of Function Pool SAPLXM06 add '101' to "Sym" coulmn and 'PO Header additonal data' to "Text" column.
    Now after activating the text elements and the enhamcement project, if you run ME21N/ME22N/ME23N the name of the custom addtional header tab would be displaed as 'PO Header additonal data'.
    Hope this helps.
    Regards,
    Abhisek.

  • Tabstrip Control Problem

    I created a form with a a two-tab tabstrip (using the wizard).  On the first tab is an ALV grid, on the second, a text field.  When I run the program and the first grid shows up with the ALV grid just fine.  When I click the second tab, however, the program just terminates.  I'm a newbie so it's probably something obvious.  Thanks in advance!

    hi ,
    look at this...
    http://help.sap.com/saphelp_nw04/helpdata/en/04/10f2469e0811d1b4700000e8a52bed/frameset.htm
    Tabstrip control
    check this test code...
    TABLES : VBAK ,VBAP.
    CONTROLS : TAB_STRIP TYPE TABSTRIP.
    CONTROLS : TAB_CNTRL TYPE TABLEVIEW USING SCREEN 0002.
    DATA : OK_CODE_0101(20).
    DATA : D_REPID TYPE SY-REPID,
    D_SUBSCR TYPE SY-DYNNR.
    DATA : D_VBELN TYPE VBAK-VBELN.
    TYPES : BEGIN OF D_STRUCT,
    VBELN TYPE VBELN_VA,
    POSNR TYPE POSNR_VA,
    MATNR TYPE MATNR,
    FMENG TYPE FMENG,
    NETWR TYPE NETWR_AP,
    END OF D_STRUCT.
    DATA : ITAB TYPE STANDARD TABLE OF D_STRUCT WITH HEADER LINE.
    DATA : D_WA TYPE D_STRUCT.
    *& Module GET_SCR OUTPUT
    text
    module GET_SCR output.
    IF OK_CODE_0101 IS INITIAL.
    D_SUBSCR = '0001'.
    ENDIF.
    D_REPID = SY-REPID.
    endmodule. " GET_SCR OUTPUT
    *& Module EXIT_MODULE INPUT
    text
    module EXIT_MODULE input.
    SET SCREEN 0.
    LEAVE SCREEN.
    endmodule. " EXIT_MODULE INPUT
    *& Module USER_COMMAND_0101 INPUT
    text
    module USER_COMMAND_0101 input.
    case ok_code_0101.
    when 'TAB1'.
    D_SUBSCR = '0001'.
    TAB_STRIP-ACTIVETAB = 'TAB1'.
    WHEN 'TAB2'.
    D_SUBSCR = '0002'.
    TAB_STRIP-ACTIVETAB = 'TAB2'.
    WHEN 'GET1'.
    D_SUBSCR = '0002'.
    TAB_STRIP-ACTIVETAB = 'TAB2'.
    ENDCASE.
    regards,
    venkat.

  • Problem on tab in tabstrip

    Hi all,
       I want to execute particular code or event when i select a particular tab. But in standard only one event is available, that execute every time when i select any tab in tabstrip.Plz reply....
    Regards,
    Ramesh.

    hi,
    You can use selected tab property of tabstrip, just bind it to attribute
    says tab, node selected_tab and read that attribute by code wizard,
    suppose you have 3 tab name tab1, tab2, tab3
    i.e,
    DATA LO_ND_SELECTED_TAB TYPE REF TO IF_WD_CONTEXT_NODE.
      DATA LO_EL_SELECTED_TAB TYPE REF TO IF_WD_CONTEXT_ELEMENT.
      DATA LS_SELECTED_TAB TYPE WD_THIS->ELEMENT_SELECTED_TAB.
      DATA LV_TAB LIKE LS_SELECTED_TAB-TAB.
    navigate from <CONTEXT> to <SELECTED_TAB> via lead selection
      LO_ND_SELECTED_TAB = WD_CONTEXT->GET_CHILD_NODE( NAME = WD_THIS->WDCTX_SELECTED_TAB ).
    get element via lead selection
      LO_EL_SELECTED_TAB = LO_ND_SELECTED_TAB->GET_ELEMENT(  ).
    get single attribute
      LO_EL_SELECTED_TAB->GET_ATTRIBUTE(
        EXPORTING NAME =  `TAB`
        IMPORTING  VALUE = LV_TAB ).
    case lv_tab.
    when 'tab1'.
    *do somthing'
    when 'tab2'.
    *do somthing
    when 'tab3'.
    *do somthing.
    when  others.
    exit.
    endcase.
    Y N

  • Ios7 Update Problems on iPad 3 - My iPad is not going to black screen after not being touched.  Also, am I crazy; I can't find timing adjustment to go to black.  Finally, iPad slow to switch between some catgagories in control panel

    O.K.  I found 3 issues on my iPad 3 after ios update:
    1.  iPad does not go to black after non-use
    2.  iPad is slow to switch between some catagories in control panel
    3.  Speaking of control panel; have I lost my mind?  I can't find time adjustment responsible for iPad going to black.

    Outside of the contact number for that you've already used I don't know another way of direct contact. Here are some things that they may or may not of had you try that might help you. If you will go to the settings app and pick general on the right-hand side you will see accessibility. Within that you can adjust a text size make the text bowl you can also increase the contrast. You can also adjust the brightness and control panel.
    As for Siri again in the settings app under general you should see Siri on the right-hand side with the switch to turn it on. If that is turned on and you're still having issues
    Try a Restart. 
    Press and hold the Sleep/Wake button for a few seconds until the red "slide to power off" slider appears, and then slide the slider. Press and hold the Sleep/Wake button until the Apple logo appears.
     Resetting your settings
    You can also try resetting all settings. Settings>General>Reset>Reset All Settings. You will have to enter all of your device settings again.... All of the settings in the settings app will have to be re-entered. You won't lose any data, but it takes time to enter all of the settings again.
    Resetting your device
    Press and hold the Sleep/Wake button and the Home button together for at least ten seconds, until the Apple logo appears. Apple recommends this only if you are unable to restart it.
    Or if this doesn't work and nobody else on the blog doesn't have a better idea you can contact Apple. 
    Here is a link to their contacts with most of the information below. 
    http://www.apple.com/contact/

Maybe you are looking for

  • How to use standard Java file in custom module

    Hi All,         I want to use some CatalogItemImpl.java file in my custom DC but i was unable to find any entry in the standard component in businessobject.xml file as <businessObject name="XYZ" className="x"/>. Can anyone let me know how can we use

  • Role Based FireFighter

    Greetings All, We are doing SAP GRC Access Control implementation in our company. We have Modulewise Master Roles working as firefighter Roles. In emergency we assign it to a user for 24 hours. Now when we are implementing FireFighter we want to keep

  • Forefront Password Registration

    Hello, Is there any possibilities that user can make registration from internet for their forefront password registration without including domain name ? for e.g instead of domain\username I want only username or domain name include automatically so

  • Firefox window UI is tiny on MacBook Pro retina screen

    I have Firefox 33.1.1 installed on a 13" MacBook Pro with retina display, and the UI is always tiny when viewing on the in-buillt retina screen. I often have the MacBook plugged into an additional 27" Dell display and firefox looks fine on this displ

  • There is no web application configured to service your request

    After upgrade from 7.0 to 7.0.1 to 7.0.2 ....