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

Similar Messages

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

  • 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

  • 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

  • Problem with Tabbing Order in LiveCycle

    I have a two page form.  The last field on the second page is an image field (the user can attach a graphic).  The problem is it won't tab back to the first page after this field.

    I, too, am having problems with tab order.
    I have a two-page form created in LiveCycle Designer. There are 66 fields on the 1st page of the form, and 65 fields on page 2. When I use Window > Tab order to examine the tab order, all is as it should be (except for one thing, discussed later). However, when I go into the Preview PDF tab (or load the form in Acrobat X Pro), field 4 on page 1 tabs to field 42 (on page 1). Additionally, tabbing from field 41 on page 1 takes me to field 43 on page 2.
    I can use Action Builder to ensure that the tab goes to the appropriate field, but that seems a rather kludgy way to go about it.
    And that additional problem: I've got three text fields on page 1 that are of type Protected. According to the documentation, "The protected field is not included in the tabbing sequence and it does not generate events.", yet all three fields are in the tab order.
    What (if anything) am I doing wrong?
    Thanks.

  • Problem with tabbed panel

    I have a problem with tabbed panel...this panel has 3 columns, I copied to each of them a diffrent text (diffrent height)...I expected to obtain diffrent working area of column, for example  1st column-height 7500 px, 2nd-1500 px, 3rd-2500 px, but I received one height 7500 px, each column has been formatted to this size....below a text I have “empty space”- (it is a diffrence between working area and text area)...I put the text to the 1st column for example 7200 px height, empty space below this text is 300 px I received 7500 px of working area in this column, here the problem doesn`t exist but….2nd column i have height of text for example 1300 px, below this text i have 6200 px empty space...It should be height 1300 px of text and maybe 200 px of empty space...so the working area could have at 1500 px not 7500 px of height....I try to change it (to for example 1500 px) but it still  return to the basic 7500 px height and can`t do  it...The solution is to use another form like. the accordion form..but it is a row form….when you put a diffrent sized text (height) you will receive diffrent size of working  area (height), you obtain 7200px text +300 px empty space=7500 working area in 1st row.. 1200 px text + 300 px empty space=1500 workin area px in 2nd row and 2500 working area px in 3rd row…everything is fine in this form…each row has been formatted to the different size of height…but I prefer to use a tabbed panel (column form) instead a accordion form.…I don`t to waste the time to correct the code in html text editor like PSPad…
    Best Regards
    Kamil

    A couple of threads here that should answer your query.
    http://forums.adobe.com/message/5080345
    http://forums.adobe.com/message/5104253
    Thanks,
    Vinayak

  • "Leave tab" event for tabs in TabStrip UI

    Hi
    I want to check that some input fields are valid and force users do not change Tab in TabStrip (until enter valid values for required fields) but I do not know is it possible this in Webdynpro? Does anybody know which is this event and may I use it in my WD Application?
    In TabStrip there is action for OnSelect event but this is event when user enters in Tab. I need event when user exits the tab.

    In BSP the tabStrip has a value "selection" which if you read the tabStrip to see the tab they selected you can store that value.
    Then check if the fields are filled in if so then pass the stored value back to the "selection" parameter and if not give the name of the tab they were currently on back to the "selection" parameter.

  • Protected tab Titles + Tabstrip + Problem

    Hi,
    i have created a tabstrip using wizard and all the tab buttons and subscreens are working fine except for one warning message I get everytime I pust a tab. The message is
    Diagnosis
    Protected tab titles are not supported.You cannot print the title on a tab index as the tab index does not support this'.
    Procedure
    Check the screen modifications or the Screen Painter definitions of the tab title.
    When you modify the screen, do not set the INPUT attribute of the tab title to '0'.
    can anyone help me in solving this error?
    thanks in advance
    regards
    sai easwar

    Error message is like this
    Protected tab titles are not supported (tab TABSTRIP title COMPANY)
    Message no. 00119
    Diagnosis
    You cannot print the title on a tab index as the tab index does not support this.
    Procedure
    Check the screen modifications or the Screen Painter definitions of the tab title.
    When you modify the screen, do not set the INPUT attribute of the tab title to '0'.

  • 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

  • Performance Problems with UI Element Tabstrip and IE

    Hi,
    I use the UI Element "Tabstrip" in a Java Web Dynpro Application. The application gets slower the more I jump from one tab to the next. All the other UI Elements (e.g. ComboBox, TextField) are affected, too.
    A system trace on the Web AS seems to indicate that it is a client problem.
    We are using the Internet Explorer 6.0.2900.2180 XP SP2 and the J2EE Engine 6.40.
    It seems to be a problem with the Tabstrip element in combination with the IE (Firefox 3 works fine). We created a test application with only the tabstrip element, three tabs, and a combo box. After several clicks on the tabs, the test application gets slower...
    Does anyone has had the same problem with the tabstrips, or anyone an idea what might be the reason??
    Thanks,
    Sabine

    Open an OSS message (BC-WD-UR).
    Armin

  • Dynamic addition of tabs to tabstrip

    hi gurus ,
    can ne1 plz tell me how can we hav dynamic tabs on the tabstrip control .
    one of the way is to have max no of tabs n making them visible n invisible .
    but wat the problem is dat the text on the tabs is also dynamic i don knw its value in advance .
    if any1 knws how to do dis then plzzz reply asap . its urgent
    pts wil b rewarded for sure ....

    1. Create program in SE38 type module pool and Activated
    2. Go to SE51 give the program name and screen number then Layout Editor in drags tabstrip with wizard.
    3. Automacaly code is generated.
    4. Subscreen(101) add the two Check Boxs (CH1,CH2).
    5. Changed the Tab1 properties on Program in Click check box <b>OUTPUT Field only</b>
    then tab text also you give Dynamic
    PROGRAM ZTAB1 .
    FUNCTION CODES FOR TABSTRIP 'TAB2'
    CONSTANTS: BEGIN OF C_TAB2,
                 TAB1 LIKE SY-UCOMM VALUE 'TAB2_FC1',
                 TAB2 LIKE SY-UCOMM VALUE 'TAB2_FC2',
                 TAB3 LIKE SY-UCOMM VALUE 'TAB2_FC3',
               END OF C_TAB2.
    DATA FOR TABSTRIP 'TAB2'
    CONTROLS:  TAB2 TYPE TABSTRIP.
    DATA:      BEGIN OF G_TAB2,
                 SUBSCREEN   LIKE SY-DYNNR,
                 PROG        LIKE SY-REPID VALUE 'ZTAB1',
                 PRESSED_TAB LIKE SY-UCOMM VALUE C_TAB2-TAB1,
               END OF G_TAB2.
    DATA:      OK_CODE LIKE SY-UCOMM.
    DATA:A(1),B(1).
    OUTPUT MODULE FOR TABSTRIP 'TAB2': SETS ACTIVE TAB
    MODULE TAB2_ACTIVE_TAB_SET OUTPUT.
      TAB2-ACTIVETAB = G_TAB2-PRESSED_TAB.
      CASE G_TAB2-PRESSED_TAB.
        WHEN C_TAB2-TAB1.
          G_TAB2-SUBSCREEN = '0101'.
        WHEN C_TAB2-TAB2.
          G_TAB2-SUBSCREEN = '0102'.
        WHEN C_TAB2-TAB3.
          G_TAB2-SUBSCREEN = '0103'.
        WHEN OTHERS.
         DO NOTHING
      ENDCASE.
    ENDMODULE.
    INPUT MODULE FOR TABSTRIP 'TAB2': GETS ACTIVE TAB
    MODULE TAB2_ACTIVE_TAB_GET INPUT.
      CASE OK_CODE.
        WHEN C_TAB2-TAB1.
          G_TAB2-PRESSED_TAB = C_TAB2-TAB1.
        WHEN C_TAB2-TAB2.
          G_TAB2-PRESSED_TAB = C_TAB2-TAB2.
        WHEN C_TAB2-TAB3.
          G_TAB2-PRESSED_TAB = C_TAB2-TAB3.
        WHEN OTHERS.
         DO NOTHING
      ENDCASE.
    ENDMODULE.
    <b>MAIN SCREEN 100</b>
    MODULE STATUS_0100 OUTPUT.
    LOOP AT SCREEN.
    IF SCREEN-NAME = 'TAB2_TAB2'.
       IF A = 1.
          SCREEN-ACTIVE = 1.
       ELSEIF A = 0.
          SCREEN-ACTIVE = 0.
       ENDIF.
    ENDIF.
    IF SCREEN-NAME = 'TAB2_TAB3'.
        IF B = 1.
          SCREEN-ACTIVE = 1.
        ELSEIF B = 0.
          SCREEN-ACTIVE = 0.
        ENDIF.
    ENDIF.
    MODIFY  SCREEN.
    ENDLOOP.
    ENDMODULE.                 " STATUS_0100  OUTPUT
    <b>* SUBSCREEN 103</b>
    MODULE USER_COMMAND_0110 INPUT.
    CASE OK_CODE.
    WHEN 'CH1'.
        IF A = 0.
           A = 1.
        ELSEIF A = 1.
               A = 0.
        ENDIF.
    WHEN 'CH2'.
        IF B = 0.
           B = 1.
        ELSEIF B = 1.
               B = 0.
        ENDIF.
    WHEN 'EXIT'.
    LEAVE PROGRAM.
    ENDCASE.
    ENDMODULE.                 " USER_COMMAND_0110  INPUT
    Message was edited by:
            Durga Vinta

  • Problem with tabs in xml text

    I have a problem with my XML setup here
    i use Tab key to aligh up info in the xml text for aligned
    display in the program
    hoever i tested on several computers and get different
    resolts.
    how can i fix this.
    Please view the linked Image
    http://img129.imageshack.us/img129/8394/flashtextproblemti4.jpg
    this is what happenes even thow all run xp and all run same
    latest flash version.
    Anyone got an ideer how i can solve this.
    BTW the font is verdana.
    This is my actionscript ....
    // Function to parse an address
    f_parseAddress = function () {
    // Set the text
    _root.stageholder.textfield.htmlText =
    this.firstChild.firstChild.firstChild.nodeValue;
    // Create the XML object
    XML_address = new XML();
    // Set up the XML object
    XML_address.ignoreWhite = true;
    // Add the handlers
    XML_address.onLoad = f_parseAddress;
    // Load the XML file
    XML_address.load("./Data/xml/kontakt.xml");
    This is my XML file
    <?xml version="1.0" encoding="iso-8859-1"?>
    <text>
    <address>
    <![CDATA[
    <font size="20">Company name</font>
    Company name
    address
    address
    Dir. tlf. + xx xx xx xx xx
    + xx xx xx xx xx
    Mobil + xx xx xx xx xx
    + xx xx xx xx xx
    web: <a href="
    http://www.xxxxxxxxxxxxx.xx"><b>www.xxxxxxxxxxxxx.xx</b></a>
    E-mail: <a
    href="mailto:[email protected]"><b>[email protected]</b></a>
    ]]>
    </address>
    </text>
    If anyone got a solution on how i can get my text to allign
    corect
    i would like to hear about it
    Best reguards
    Mis

    alrighty then try this xml structure.
    Note: formatting information like b, or linkage tags should
    not be part of the xml.
    The XML format is a universal format for data, if you fill it
    with style information this is not good practive (in general, there
    are of course scenarios where it makes sense, also since (x)html IS
    also XML).
    In your case you want to put the information about multiple
    companies in a xml file, but you let the flash decide how to
    display format this information.
    so if you use the sugested XMl structure you will have full
    control of the layout within flash, because you can grab every
    piece of information from the xml and place it jsut where you want
    in flash and format it within flash.
    Of course this process is more coding work than your previous
    attempt, but it pays of when you have a lot of data to process and
    when you want to have full control of the final layout.
    But maybe its overkill for your application (I don't know how
    many companies will be stored in your xml and how complex the rest
    of the app is).

  • Problem inserting tabs in a multi-column layout

    Hello everybody,
    I've created a three-column document and I want to insert a right-tab at the right edge of each column. While this is easy in colums 1 and 3, there is no way that Pages will let me insert tabs in the central column. Clicking on the ruler produces no results, and in the inspector the space for entering a numeric value for the tabs is greyed out (i.e. non-editable).
    If some of you has experienced any of this before, I'd be curious to know; and if you found a solution, then I'd truly appreciate it if you could share it.
    Thank you in advance,
    Rafael

    Hi fruhulda,
    Thank you so much for the quick reply and your willingness to help!
    Right after posting the message I kept trying, and I've been able to insert the tab that I wanted; to be honest, I don't reckon how I did it, but I believe I deleted all other tabs.
    Anyway, the issue still exists, as you can see in the screenshot below. The blocked text will not accept any more tabs via the inspector The +/- signs are inactive), and clicking on the ruler doesn't help either.
    As I said, maybe the way around this problem is to delete all tabs before creating any new ones for this particular column, but that doesn't look like a very intuitive was of proceeding in Pages (which I use precisely because I hate Word's bloated features).
    Again, than you very much for your interest. Best wishes,
    R.
    Original Pages file here: http://www.mediafire.com/?sv4vbimuz4jorpg

  • I have a problem closing tabs in Firefox v3.6.13. The first tab on the left hand side (ie the page that opens when I launch Firefox) won't close when I click on the red x.

    I can't close the left hand tab except by exiting firefox. When i launch firefox the original tab stays open when I click on the red x, even if I have other tabs open.
    i can alter the website displayed on the left hand tab but it still won't close and leave other more recent tabs open.

    Start Firefox in [[Safe Mode]] to check if one of the add-ons is causing the problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    * Don't make any changes on the Safe mode start window.
    See:
    * [[Troubleshooting extensions and themes]]

Maybe you are looking for

  • Partner selection at sales order entry: ship-to's flagged for deletion

    Hi All, I need some inputs for the following issue. For Partner selection at sales order entry level: ship-to's flagged for deletion are also proposed as it is entered in customer master. I dont want to delete the ship-to's marked for deletion in the

  • Moving songs to an external drive

    Hi, I know this may sound like a stupid question, but I'm not an iTunes user, my husband is... My hard drive is completely full because he has downloaded too many songs. We have a huge external drive. How do I physically move the songs to my external

  • ASm On windows

    I want to use regular "Windows disks" for ASM. I have created unformated logical drives on windows. When i run dbca wizard for asm but when creating disk group i changed the disk discover path using \\.\*: for finding the logical drives i get an erro

  • Safari crashes when opening a very large pdf

    I have a 1st generation ipad running 4.3.5. Everytime I try to download a very large pdf in Safari ie. 175+ megs in gets about three quarters of the way through then Safari crashes and loose my progress. I will then restart Safari and the process res

  • Invalid packages, functions and procedures

    Hi, Ok, I think I screwed up. Maybe someone can help me. Our dev db which I just created a few days ago is 10.2.01. I was reading to see what needed to be done to this base for it to accept a 9.2 version. Data. I came upon oracle documentation that s