How to know the current tab

Hi everyone,
Does annyone knows if there is an indicator that indicate you the current tab where you are working in?
I want my BSP to do different action depending on wich tab the user is in.
I'm working in the BSP CRMD_BUS2000126 for the activities.
Thanks!

This is probably a question better suited to the BSP forum.  I also noticed that your application name starts with CRM.  I'm not familiar with CRM and its particular take on BSP, but I can tell you how I do this in my BSP applications:
First I use the phtmlb:containerTabStrip to create my tabstrip.  I use an application class attribute to store my selectedIndex (the current selected Tab).
<phtmlb:containerTabStrip id                    = "TabStrip15"
                          collapsed             = "FALSE"
                          collapsible           = "FALSE"
                          firstVisibleItemIndex = "1"
                          hasContentConnector   = "TRUE"
                          maxVisibleItems       = "5"
                          onCollapse            = "myCollapse"
                          scrollableItems       = "TRUE"
                          selectedIndex         = "<%= application->SELECTED_date2       %>" >
Now I use MVC, so in my DO_HANDLE_EVENT method of my controller class I trap the tabstrip event and query for the selected tab:
data: event_id type string.
  event_id = event.
  if htmlb_event is not initial.
    event_id = htmlb_event->id.
  endif.
  data: model type ref to zcl_bsp_m_eqi_selection.
  data: appl type ref to zcl_eq_bsp_eqi.
****Get a pointer to the Model Object.
  model ?= get_model( 'MS' ).
****Get a Pointer to the application Object
  appl ?= application.
  if event_id cs 'tabstrip15'.
    data: event1 type ref to if_htmlb_data.
    event1 = cl_htmlb_manager=>get_event_ex( request ).
    if event1->event_type eq cl_phtmlb_containertabstrip=>co_phtmlb_event_tab_selected.
      appl->selected_date2 = event1->event_server_name.
    endif.
  endif.

Similar Messages

  • How to know the current patch or version of 11g

    How to know the current version of the 11g with patch info?

    Check this
    http://obi9.blogspot.com/2012/11/determining-current-patch-levels.html
    If helps pls mark

  • How to know the current version of SAP

    Hi everybody,
    How can we know the current version of SAP we are working with? Is there any function module for it?
    please let me know.
    thanks in advance,
    regards,
    mounika.

    goto sap...From MENU  System-->Status...it will open a popup..Under component version..the is a click icon...click on it and it will open another popup where u will find details...example...
    SAP_BASIS     620
    SAP_ABA                     620
    SAP_APPL     470
    SAP_HR                     470
    EA-IPPE                     110
    So, basis is on 6.2 & abap gui is on 6.2 where as abap application is on 4.7

  • How to lock the current tab

    Hi all,
      I have placed a tab control to the application, in one tab panel I am running a heavy code which takes couple minutes to be done. During the code running time, I want to lock the current tab so it can't switch to different tab. Is that any way to do that in CVI? Thanks.
    Solved!
    Go to Solution.

    Hi dragondriver,
      I don't think you can lock a tab, but you could programatically dim all the other tabs on the same event that starts your heavy processing and then undim them one it finished.
    Hope this helps,
    Bogdan

  • How to know the current Task/Job ID in which a request is waiting for

    Hi Team,
    Is there any table/view in IDM 7.2 that provides current task/job ID number a request is waiting for?
    Even though the last completed phase of the request can be seen from admin UI that only shows the description of the completed steps but not the technical details like task ID/Job ID of the current step.
    Knowing the current step/Job ID helps the admin a lot to directly go the step when the request is waiting for long/got failed etc..
    Regards,
    Venkata Bavirisetty

    Hi Matt,
    Thanks for your response.
    I read few articles in your blog couple of weeks before and they are very much informative.
    The information provided in the provisioning queue just shows the task ID and no.of requests (without request nos) waiting in that task.
    Basically the question I have mentioned in my previous post is not related to any specific task type. It is like using request no we wanted to know complete request history specially the current task (task ID) at which the request is waiting for.
    Regards,
    Venkata Bavirisetty

  • How to know the current jvm name executable ?

    Hi,
    I should want know what is the current jvm executable, from a java program. For exemple c:\foo\bar\bin\java.exe, or /home/foo/bar/java_1.6/jre/bin/java and other.
    With system properties, I can know java home, version, vendor etc of JVM, but how I can know "bin\java.exe" or other ?
    Thanks.

    Yes.
    I see java.runtime.name=Java(TM) SE Runtime Environment, I see the classpath, I see java.runtime.version=1.6.0_14-b08, I see java.home=/home/herve/java/jdk1.6.0_14/jre, but I don't see the name of java programme.
    For me it is something like {java.home}/bin/java. I don't see that in system properties.

  • How to know the current directory

    Could somebody write me an example to print the current directory I'm working on.
    e.g.
    java A
    d:\My Documents\source\A.java
    Thank you.

    Could somebody write me an example to print the
    current directory I'm working on.
    e.g.
    java A
    d:\My Documents\source\A.java1. This is not a directory
    2. A.class will be run, not A.java
    3. You'Ll never know where your sourcecode is
    4. Where your program thinks it is can be determined using
    new File(".")

  • How to know the current VI is aborted ?

    i hv three VI A.vi is opening B.vi and it opens C.vi,,,,,,, now at one time only 1 VI is  opening at the task bar,,, and even i can go back.
    i have made that program,,,,,, but the problem is ,,, while i m starting from A.vi and ,,, go to C.vi   via B.VI,.,,, and,, after stoping C.vi,.....  if i open A.vi from the folder it is still running(in the running stage),,,, so...........
    i want to add the fuctionality,,, in which, i want to find the event..... when my current VI is aborted i want  the A.vi to be aborted....
    HOW ITS POSSIBLE...
    Waiging for reply,,,
    Manisha
    Attachments:
    C.vi ‏20 KB
    A.vi ‏19 KB
    B.vi ‏27 KB

    Maybe you can tell us what you are trying to achieve. I simply cannot make much sense out of your code.
    At least try to put a small wait in each loop, right now they all spin millions of times doing nothing. Maybe you could use an event structure?  You should also set your buttons to latch when released. Currently, e.g. the "Go back to B" button inside c.vi is set to switch until released, meaning you'll probably run the TRUE case a few thousand times whenever you press the button. Also familiarize yourself with dataflow. You seem to think that you set the boolean flag value before the while loop starts, however LabVIEW does not guarantee that this happens in this order because there is no data dependency.
    What are you trying to do? I am sure there are better ways.
    LabVIEW Champion . Do more with less code and in less time .

  • How to know the current resolution of screen?

    Help me please

    Actually, that's misleading. It's Toolkit.getDefaultToolkit().getScreenSize(). That gets the X x Y pixel count of the screen. Toolkit.getDefaultToolkit().getScreenResolution() gives the DPI of a screen (supposedly).

  • Export the current tab on a specific forms (Oebs).

    Hello,
    I have a form (done since "template.fmb") specific OeBS. This form contains several tabs. Function "File-> Export", but it exports that the contents of first tab even if I change.
    How to export the current tab?
    Thank you

    You should try to post your quetsion in the ebusiness-forum OA Framework

  • How to know in wich tab you currently are in the pcui?

    Hi everyone,
    Does annyone knows if there is an indicator that indicate you the current tab where the user is working in?
    I want my BSP to do different action depending on wich tab the user is in.
    I'm working in the BSP CRMD_BUS2000126 for the activities.
    Thanks!

    I will move over my posting from the ABAP forum as well in case it is a help to anyone:
    This is probably a question better suited to the BSP forum. I also noticed that your application name starts with CRM. I'm not familiar with CRM and its particular take on BSP, but I can tell you how I do this in my BSP applications:
    First I use the phtmlb:containerTabStrip to create my tabstrip. I use an application class attribute to store my selectedIndex (the current selected Tab).
    <phtmlb:containerTabStrip id                    = "TabStrip15"
                              collapsed             = "FALSE"
                              collapsible           = "FALSE"
                              firstVisibleItemIndex = "1"
                              hasContentConnector   = "TRUE"
                              maxVisibleItems       = "5"
                              onCollapse            = "myCollapse"
                              scrollableItems       = "TRUE"
                              selectedIndex         = "<%= application->SELECTED_date2       %>" >
    Now I use MVC, so in my DO_HANDLE_EVENT method of my controller class I trap the tabstrip event and query for the selected tab:
    data: event_id type string.
      event_id = event.
      if htmlb_event is not initial.
        event_id = htmlb_event->id.
      endif.
      data: model type ref to zcl_bsp_m_eqi_selection.
      data: appl type ref to zcl_eq_bsp_eqi.
    ****Get a pointer to the Model Object.
      model ?= get_model( 'MS' ).
    ****Get a Pointer to the application Object
      appl ?= application.
      if event_id cs 'tabstrip15'.
        data: event1 type ref to if_htmlb_data.
        event1 = cl_htmlb_manager=>get_event_ex( request ).
        if event1->event_type eq cl_phtmlb_containertabstrip=>co_phtmlb_event_tab_selected.
          appl->selected_date2 = event1->event_server_name.
        endif.
      endif.

  • How to get the name of the current tab.

    Hi Experts,
    I have two tabs in my tab strip and a button common to both the tabs.Can you please let me know how to get the name of the current tab in the event method of the push button.
    Thanks in advance.
    Regards,
    Arun

    1.Declare an Action for OnSelect event of Tabstrip. This event is triggered whenever any change in tab occurs.
    2. Declare an Import Parameter in this method
       Tab type String.
    3. This parameter has value of the selected TAB.
    4. You can set this value in some Attribute in Attribute Tab in this event only (OnSelect):
         wd_this->Att  = Tab.
    Att is the attribute created by you in Attributes Tab of View. ( of type String)
    5. Now the selected Tab ID is stored in this Attribute Att.
    6. In the Onaction of Button , retrieve the selected tab value from this attribute using :
               Data : lv type string.
                lv =  wd_this->Att
    Now lv has your selected TAB ID.
    I hope it would help you.
    Edited by: Saurav Mago on Oct 13, 2009 2:22 PM

  • How do I get bookmarks on the toolbar to open in the current tab, and not open in a new tab?

    how do I get bookmarks on the toolbar to open in the current tab, and not open in a new tab?

    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.com/kb/Safe+Mode
    *https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes

  • I would like to know if there is a setting i can change that will use the current tab i'm on when opening a group of links in tabs.

    Until i upgraded to firefox 8, when i opened a group of tabs (right click on a folder of bookmarks and open all in tabs option), it would use the current tab to as the first of the links and open the rest to the right of that tab. Now that has changed. I don't mind except for not using the tab i'm on. That is somewhat annoying, especially if that is how i browse most of the time. As the first thing i do is open a group of tabs when i start firefox, the first tab has to be closed manually as it did not before and this is annoying to me.

    * You could use different Profiles, each with its' own set of homepages.
    https://support.mozilla.com/en-US/kb/Profiles
    * You could load the default homepage and then open a folder of bookmarks in new tabs by middle-click on the folder or using a right-click & Open All in Tabs.

  • How do you reset your password if you dont know the current password

    Does anyone know how to reset your password if you do not know the current password

    If you have forgotten your Apple ID password: If you forgot your Apple ID password
    If it's your iPhone passcode; then you need to do a restore: Forgot passcode for your iPhone, iPad, or iPod touch, or your device is disabled

Maybe you are looking for

  • Is there a workaround to not having the Back Button

    I bought this phone for my wife who point blank refuses to use it as it has no back button. Is there a workaround to this? Thanks

  • OCR and voting disk location

    Hi all, I'm testing to install an Oracle RAC database (11g) on linux RHE 5 with a shared storage DELL Equallogic SCSI SAN. I will setup a 2 nodes and i will use ASM for the database storage. I'm new in RAC database and i'm checking some docs and find

  • Inconsistent Key problem

    I have an application that uses BC4J and sometimes part of the key changes without a reason. Example Column names: Type ID_Master ID_Detail Name Animal Colimn values: A, 10, 5, meat, cow Key: (A,10,5) Now my problem is the following: I read from the

  • Printing problems with CS3 Design Premium

    I have had no problems with my copy of CS3 Design Premium running first on my Mac OS 10.6 and now on OS 10.7 and the program still runs will except when I do a Command P, the program quits. I do not even get to the printer page. I sometimes get a mes

  • PRVF-5636 , PRVF-5637 - DNS reponse time errors

    Hi, currently trying to setup RAC and installing GRID infrastructure. Red Hat Enterprise Linux 6.2, Oracle 11.2.0.3 (p10404530) [grid@redhatnode2 ~]$ uname -a Linux redhatnode2 2.6.32-279.5.1.el6.x86_64 #1 SMP Tue Jul 24 13:57:35 EDT 2012 x86_64 x86_