Problem in Tab strip

Hello all,
    I am facing problem in Tab strip where imy second tab is automatically getting in active position once after saving data in the first tab through save button in pf-status.

Hi dear
You can try this  Take a Strig type attribute in context
goto the tabstrip properties  there in option "SELECTED TAB"  bind it with that string attribute
and provide the value of that attribute as the name of first tab of tabstrip
mine thing worked properly
please try the provided link too.
http://help.sap.com/saphelp_erp2005/helpdata/EN/e8/ac884118aa1709e10000000a155106/content.htm
Edited by: AMARENDRA on Nov 30, 2011 11:50 AM

Similar Messages

  • Problem with tab strip in report programing

    hi,
    I have coded 4 tab strips in a report program.Each tab has some obligatory fields.
    My requirement is user must fill all obligatory fields.
    suppose if I enter values only one tab and execute , its not asking the obligatory fields in other tabs.may be this is the behaviour of tab strips.
    To check the obligatory fields,I  wrote cheks in at selection screen with error message.In this case, suppose I didnt enter values in 2nd tab, the error message is coming under 1st tab screen and I am not able to select the 2nd tab.
    Can any body tells me how to overcome this issu.
    pavan meda

    Hi,
    Check this example..
    Basically you have to check the sy-ucomm not equal to the tab button function code (marked in bold)....
    Note: The only thing is I have to press the second button twice to get to the second tab..But it works..
    SELECTION-SCREEN BEGIN OF TABBED BLOCK tb1 FOR 10 LINES.
    SELECTION-SCREEN TAB (30) tab1  USER-COMMAND tab1  DEFAULT SCREEN 1001.
    SELECTION-SCREEN TAB (30) tab2  USER-COMMAND tab2  DEFAULT SCREEN 1002.
    SELECTION-SCREEN END OF BLOCK tb1.
    SELECTION-SCREEN BEGIN OF SCREEN 1001 AS SUBSCREEN.
    PARAMETERS: p_1 TYPE matnr.
    SELECTION-SCREEN END OF SCREEN 1001.
    SELECTION-SCREEN BEGIN OF SCREEN 1002 AS SUBSCREEN.
    PARAMETERS: p_2 TYPE kunnr.
    SELECTION-SCREEN END OF SCREEN 1002.
    INITIALIZATION.
      tab1 = 'Material'.
      tab2 = 'Customer'.
    AT SELECTION-SCREEN.
    <b>  CHECK sy-ucomm <> 'TAB1' AND sy-ucomm <> 'TAB2'.</b>
      IF p_1 IS INITIAL.
        MESSAGE e000 WITH 'Required entry'.
      ENDIF.
      IF p_2 IS INITIAL.
        MESSAGE e000 WITH 'Required entry'.
      ENDIF.
    START-OF-SELECTION.
      WRITE: / p_1.
      WRITE: / p_2.
    Thanks,
    Naren

  • Problem with Tab Strips

    Hi,
    I have added a new tab to an existing view containing 5 tabs.
    I have 3 transparent containers inside the tab container..
    Application built n deployed successfully, but
    Now when i click on the new tab which i added, application crashes with following exceptions:-
    ClassCastException occurs
    rendering exception in grid layout data etc.. in all UI elements on that tab.
    Anybody has any idea why this is happening?
    pls help me with this. Its urgent.
    Regards,
    Amey Mogare

    These are the exception that Im getting,
    the list is pretty long, im giving start of it... Pls let me kno what u tthink ASAP ==>
    Exception(java.lang.ClassCastException) during processing a Web Dynpro Application.
    TION]
    #java.lang.ClassCastException
      at com.sap.tc.webdynpro.progmodel.context.Paths.getAttributeInfoFor(Paths.java:202)
      at com.sap.tc.webdynpro.clientimpl.html.uielib.standard.uradapter.DropDownByKeyAdapter.setViewAndNodeElement(DropDow
    apter.java:247)
      at com.sap.tc.webdynpro.clientimpl.html.uielements.adaptmgr.URAdapterManager.getAdapterFor(URAdapterManager.java:231
      at com.sap.tc.webdynpro.clientimpl.html.uielements.adaptmgr.URAdapterManager.getAdapterFor(URAdapterManager.java:64)
      at com.sap.tc.webdynpro.clientimpl.html.uielib.standard.uradapter.GridLayoutAdapter$Cells.getContent(GridLayoutAdapt
    641)
      at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.ie6.GridLayoutRenderer.renderGridLayoutCellFragment(Grid
    nderer.java:739)
      at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.ie6.GridLayoutRenderer.renderGridLayoutRowFragment(GridL
    derer.java:388)
      at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.ie6.GridLayoutRenderer.renderGridLayoutFragment(GridLayo
    er.java:310)
      at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.ie6.GridLayoutRenderer.render(GridLayoutRenderer.java:71
      at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.AbstractRenderManager.render(AbstractRenderManager.
      at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.AbstractRenderManager.render(AbstractRenderManager.
      at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.ie6.ScrollContainerRenderer.renderScrollContainerFragmen
    ContainerRenderer.java:516)
      at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.ie6.ScrollContainerRenderer.render(ScrollContainerRender
    61)
      at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.AbstractRenderManager.render(AbstractRenderManager.
      at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.AbstractRenderManager.render(AbstractRenderManager.
      at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.ie6.GridLayoutRenderer.renderGridLayoutCellFragment(Grid
    nderer.java:739)
      at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.ie6.GridLayoutRenderer.renderGridLayoutRowFragment(GridL
    derer.java:388)

  • Tab Strip Internationalization

    Hi,
         I have a problem with Tab Strip Control Internationalization. I created a .xlf for Germany Language for that window, but that text is not getting changed to Germany for Tab Strip Heading. Can any one help me?
    Thanks,
    Sridhar

    Hi,
    If you open the default .xlf file for the main view which has the tab strip,in the tab - "Resource Text" tab,check if all the entries present,the value in the Translate column is "Yes".
    Agian the same will apply to the any .xlf you create for other language and suppose you are creating for German,make sure you add the Translated text to each entry in the Text column for each entry.
    Once done ,perform a Reload for the DC.it should worked.
    Hope this helps
    Cheers
    Priya

  • How to remove the search bar in the tab strip?

    My latest firefox update includes a search bar IN THE TAB STRIP on top of the page (not the one in the navigation toolbar). It takes up too much space for the tabs and it is useless (since there is already a search bar below it in the navigation toolbar). How do I remove it?

    I was able to fix the problem in Safe Mode. It was an extension disguised as a Firefox original part, named itself as "firefox default tabs." I am not sure how I got it since I have not downloaded anything recently. My Kaspersky did not block anything as well. But, huge thanks!

  • How can i keep multiple tabs in the tab strip without them compressing into one tab?

    when i open more than 6 windows , they all compress into one tab from where i have to access pages with a drop down menu. i want all the tabs to open up and the individual tabs to appear separately on the tab strip which can be scrolled up or down. thank you

    hi
    the problem is in the firefox tab strip at the bottom of the page. i have attached two screenshots . when i open more than 6 tabs, they all get compressed into 1 tab. i want all tabs to stay open individually, and the tab strip should therefore have a page scroller icon forming when many tabs open. i have had this in the earlier computer i had, but recently got a new one. now i cant figure how to set firefox to do what i need.
    thanks

  • Number of Tab Strips in BSP pages of E-Recruitment

    Hello,
    We have a problem with number of tab strips visible per page in Job Interest Wizard page of E-Recruitment.
    The default number of tabs are 5 per page.
    In our case we put a large text in each tab (as per our business requirement), so these tabs extending beyond the page width and thus a horizontal scroll is appearing.
    We do not want this horizontal scroll as some of the inputs fields with asteric () , the asteric () is not visible to the user unless he scroll the page to the right.
    We wanted to either display only 4 tabs page or wrap the text if these tabs, so that all 5 tabs exactly fit in the screen.
    I have no clue on which BSP application is handling these tabstrips for Job Interest Wizard.
    Any suggestions is rewarded
    Thanks in advance,
    Regards
    Raghu Kolukuluri

    Someone provided this answer to me with regards to number of tabs visible on a wizard;
    The class that needs to be changed is CL_HRRCF_BSP_EXT_CONTAINERSEQ.
    To modify the number of tabs shown (in addition to other parameters) you
    can go to method GET_CS_ITEM and change the call to the factory method.
    The code looks like this:
      lo_cs ?= cl_phtmlb_containersequence=>factory(
        collapsed             = 'false'
        collapsible           = 'false'
        design                = 'transparent'
        hascontentconnector   = 'false'
        hastitle              = 'true'
        id                    =  lv_id
        maxvisibleitems       = '5'
        scrollableitems       = 'true'
        selectedindex         = controller->selected_index
        showstepnumber        = 'true'
        titleselected         = 'false'
        items                 = lt_items ).
    Maxvisibleitems is the number of tabs show at once. Showstepnumber
    determines if the tabs are numbered. Setting this to false may save some
    space.
    Hope this helps
    Sandra

  • Messages issue in message area of Tab Strip

    Hi ,
    Iu2019m having 2 tabs in my Tab strip.
    Tab1 u2013 First tab.
    Tab2 u2013 Second tab.
    In both the tabs I have message areas.
    On click of a button in Tab1, iu2019m displaying an error message in the message area,
    but the same message is appearing in the message area of the tab2.
    I want to display messages to its corresponding tab only.
    Thanks,
    Shravan

    Hello Shravan,
    the message area is a common container so the messages that are raised in that serverrountrip will be displayed in all the message area ui element.
    solution would be to create an action handler method for the tabStrips' onSelect event (inorder to trigger the server roundtrip). this roundtrip will flush the stateless messages and you can raise new messages for second tab elements.
    hope this solves your problem.
    BR, Saravanan

  • About the data of table control in tab strip control

    hi experts:
           I use screen 0001 include one tab strip control,and its include two subscreens,one of it is table control(subscreen is 0003).
    I input data in the table control,when I click the button of tab strip control to change to another subscreen 0002.I found that the data I input into table control have not append to internal table.how can I solve this problem?
           appreciate your reply.thanks a lot.

    Hi,
    in the Main Screen
    In PAI
    call subscreen sub. ---> here it calls the subscreen where the tablecontrol is placed
    then call module user_command
    In the subscreen where you have your table control
    in PAI
    Loop at itab.
    module modify_tab.
    endloop.
    module modify_tab,
    descirbe table itab lines tc-lilnes.
    if tc-lines <= tc-current_line.
    modify itab index tc-current_lilne.
    else.
    append itab.
    endmodule.
    next you call the module user_command on the main screen
    module user_command
    case sy-ucomm
    WHEN 'TAB1'
    TS-ACTIVE_TAB = 'TAB1'
    when tab2.
    ts-active_tab = 'TAB2'.
    endmodule
    further you can take the help of CONTROL EXAMPLES in DWDM tcode
    Regards
    Ramchander Rao.K

  • Tab strip looks distorted in SAP CE 7.3

    Hi All,
    We recently upgraded our Portal from 7.01 to 7.3 and transported the custom theme also.
    But have one problem when ever we come across any tab strip. say for e.g. UWL iView or under user administration the tabs get shrinked and shows up in distorted form.
    Did anyone face this issue before kindly help me.
    One observation is when we use the standard default framework instead of the custom one the tabs are working fine.
    regards,
    Sai Sharan

    Hi Kumar
    We have implemented ECommerce 7.3 version but we are facing some API issues which have deprecated with JDK1.6 version.
    if you face the same please let me know or if you find a solution it would be really great
    Regards
    Sonal

  • TABLE CONTROL IN TAB STRIP CONTROL

    hi experts,
    I have a problem with table control in tab strip control  i have table control in first tab
    and some text fields in second tab .
    i enter data into table control in  first tab and enter into second tab and i fill data into second tab also .
    then i press save after filling data into these two tabs  at that time table control data is not updating into corresponding table ,Because when the time  we enter into second tab data in table control is cleared .
    please give me a solution for this problem as early as possible.
    Note  : saving data is done after filling two tabs only.
    Regards,
    k.Rajesh.

    Hi,
    go through this code,
    DIALOG PROGRAMMING
    TABSTRIPS
    IN SE51 FLOW LOGIC MAIN SCREEN
    PROCESS BEFORE OUTPUT.
    CALL SUBSCREEN PER_REF1 INCLUDING 'YMODULE_PR8' '0200'.
    CALL SUBSCREEN SALE_REF1 INCLUDING 'YMODULE_PR8' '0300'.
    MODULE STATUS_0100.
    PROCESS AFTER INPUT.
    MODULE USER_COMMAND_0100.
    IN SE51 FLOW LOGIC FOR SCREEN 200. 1st TAB IN SUBSCREEN AREA.
    PROCESS BEFORE OUTPUT.
    MODULE STATUS_0200.
    PROCESS AFTER INPUT.
    MODULE USER_COMMAND_0200.
    IN SE51 FLOW LOGIC FOR SCREEN 300. 2nd TAB IN SUBSCREEN AREA.
    PROCESS BEFORE OUTPUT.
    LOOP AT ITVBAK WITH CONTROL TABCTRL.
    MODULE STATUS_0300.
    ENDLOOP.
    PROCESS AFTER INPUT.
    MODULE USER_COMMAND_0300.
    LOOP AT ITVBAK.
    ENDLOOP.
    IN FLOW LOGIN OF MAIN SCREEN
    PROGRAM YMODULE_PR8 .
    TABLES : KNA1, VBAK.
    DATA : BEGIN OF ITVBAK OCCURS 0,
           VBELN LIKE VBAK-VBELN,
           ERDAT LIKE VBAK-ERDAT,
           ERNAM LIKE VBAK-ERNAM,
           NETWR LIKE VBAK-NETWR,
           END OF ITVBAK.
    CONTROLS : TABCTRL TYPE TABLEVIEW USING SCREEN 300,
                            TABSTRIP1 TYPE TABSTRIP.
    *&      Module  STATUS_0300  OUTPUT
    MODULE STATUS_0300 OUTPUT.
    SET PF-STATUS 'xxxxxxxx'.
    SET TITLEBAR 'xxx'.
    MOVE-CORRESPONDING ITVBAK TO VBAK.
    ENDMODULE.                 " STATUS_0300  OUTPUT
    *&      Module  USER_COMMAND_0100  INPUT
    MODULE USER_COMMAND_0100 INPUT.
    CASE SY-UCOMM.
      WHEN 'EXIT'.
        LEAVE PROGRAM.
      WHEN 'PERSONAL' OR SPACE.
        SELECT * FROM KNA1
         WHERE KUNNR = KNA1-KUNNR.
        ENDSELECT.
        TABSTRIP1-ACTIVETAB = 'PERSONAL'.  ## TO ACTIVATE TABSTRIP & MAKE IT                                                                               
    FUNCTIONAL
      WHEN 'SALES'.
        SELECT VBELN ERDAT ERNAM NETWR
          FROM VBAK
          INTO TABLE ITVBAK
         WHERE KUNNR = KNA1-KUNNR.
        DESCRIBE TABLE ITVBAK LINES TABCTRL-LINES.
        TABSTRIP1-ACTIVETAB = 'SALES'.  ## TO ACTIVATE TABSTRIP & MAKE IT                                                                               
    FUNCTIONAL
    ENDCASE.
    ENDMODULE.                 " USER_COMMAND_0100
    reward if usefull

  • WAD - Tab Strips - document.getElementById(...)  is null or no object

    Hello to everybody,
    i  have a problem with the wad, i would like to create a tab strip, i have copied the HTML Coding from another blog. When i started the Query i alway receive the message "document.getElementById(...) ist Null oder kein Object". What can i do ? I have the IE 6.0 on my system.
    Thanks for any help
    Detlev
    Coding:

    Hi,
    It has nothing to do with IE 6.0. Javascript is not written within function like function set_actual_tab(). Can you please paste the code here.
    Regards,
    Mona

  • PE51_CHECKTAB - Conversion Tab strip

    Hi,
    I want to pull the Contact no from PA0006 and put into Garnishment (PE51)form. This i can do it using PE51_CHECKTAB's tables and filed tab strip.
    My problem is i need display specific format for contact no. i think we can do it thru conversio tab strip. but i do not know where we have to define this format.
    if i'm not clear,please write me back.
    ...Nandha

    I have defined a new conversion in FORM CONVERT-NATIO (include PCEDXPL0) when I wanted to print on a payslip short text of an organizational unit instead of it's numerical code. But it is a repair-you probably need an access key to modify an object. May be the following code will be helpful:
    1. add your conversion in CASE statement (like mine between comments RMU).
    [code]FORM CONVERT-NATIO USING VALUE($CONV) $FOUND.
      $FOUND = TRUE.
      CASE $CONV.
        WHEN 'Y1'. PERFORM CONVERT-Y1.
        WHEN 'Y2'. PERFORM CONVERT-Y2.
    *RMU 2004-07-12
    *#Zlecenie #DEVK908437 Renata Murat 2004-07-12 #INSERT
        WHEN 'Z1'. PERFORM convert-z1 USING fld_info.*#
    *RMU
        WHEN OTHERS.
          $FOUND = FALSE.
      ENDCASE.
    ENDFORM.[/code]
    2. define a form with your conversion
    [code]FORM convert-z1  USING fld_info TYPE tr_fld_info..
      DATA:  pos LIKE sy-index,
             feld16(16).
      TABLES: hrp1000.
      FIELD-SYMBOLS: <strng1>.
      ASSIGN LOCAL COPY OF (fld_info-pname-strng) TO <strng1>.
      SELECT SINGLE * FROM hrp1000 WHERE plvar = '01'
                             AND otype = 'O'
                             AND objid = <strng1>
                             AND begda <= versc-fpend
                             AND endda >= versc-fpend.
      IF sy-subrc EQ 0.
        fld_info-value = hrp1000-short.
      ELSE.
        CLEAR fld_info-value.
      ENDIF.
    ENDFORM.                               " CONVERT-Z1[/code]
    Note that you can use WRITE statement to format your output. As far as I remember (it was almost 3 years ago) the above change is everything you need to create new conversion.
    Regards,
    Renata

  • 2 message areas in tab strip

    Hi,
    I am facing the following problem:
    My application has 2 tabs in a tab strip. each tab hosts 1 view.
    I need to have 1 message areas in each view.
    However, if I define 2 message areas, one for each view, all the messages I raise, go to only one of the views...
    Is it impossible to have 2 message areas in the application?
    This is how i raise messages to the messager area:
    errorMsg = wdComponentAPI.getTextAccessor().getText(IMessageTaskList.MSG__TASK__NAME__ALREADY__EXISTS);
    wdComponentAPI.getMessageManager().reportException(errorMsg, true);
    Please assist.
    Reagrds,
    Oren.

    Hi,
    Create a event handler on onSelect of the tab Control UI.
    Map the parameter tab as one of the parameter.
    @tab will return you the currently selected tab.
    Your method signature will be as shown below
    public void onActionTabSelectionChange(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent, java.lang.String tabName )
    tabName should be mapped to tab.
    write the following code snippet in wdDoModify
    if(firstTime)
    IWDTabStrip tabStrip = (IWDTabStrip)view.getElement("tab");
                     IWDParameterMapping mapping = tabStrip.mappingOfOnSelect();
                     mapping.addSourceMapping("tab", "tabName");
    Regards
    Ayyapparaj
    Message was edited by:
            Ayyapparaj KV

  • Office Web Apps Server 2013 - Word Web App - Problem with Tab space

    Hello We have Office Web Apps Server 2013 running with SharePoint 2013.  Users Editing a Word document with Office Web Apps, can't use "Tabs", any Word document with Tabs; the tabs are replaced with a single space.
    Has anyone noticed this?  Is this a bug?
    -thanks
    thomas
    -Tom

    Yes, currently the Word Web App does not support
    Tab Keyboard shortcut for editing document content .
    For more information, you can have a look at
    the article:
    http://office.microsoft.com/en-us/office-online-help/keyboard-shortcuts-in-word-online-HA010378332.aspx?CTT=5&origin=HA010380212
    http://social.technet.microsoft.com/Forums/en-US/3f5978d3-67a1-4c8c-981f-32493d72610b/office-web-apps-server-2013-word-web-app-problem-with-tab-space?forum=sharepointgeneral

Maybe you are looking for