Any ACTION possible while doing tab selections ?

Hi,
I have a view with tabstrip and multiple tabs associated with it. I wish to call an function module while an tab is getting selected and the table within it needs to be populated with records. But, i donot find an ACTION while a tab is getting selected. Can someone please help me on this ? sorry, if i would had missed the solution in some other thread or if it is so simple to be identified.
Thanks & Regards,
Gaurav.

HI,
There is an event associate with the tabstrip for tab selection. Impelement that event and get the parameters.
On selected_tab is there the property that  you need to get.
Check out this code -
Create a context attribute select_tab as stirng and bind it to the selected_tab property of the tabe strip.
Impelement the action OnSelect to get the selected tab.
***Variables
  DATA:
    lv_select_tab type string.          "Selected tab value
***Structure and internal table for the Events and messages
  DATA:
    lt_events type WDR_EVENT_PARAMETER_LIST,
    ls_events type WDR_EVENT_PARAMETER.
***Field symbols
  field-symbols: <fs_value> type any.   "Attribute value in events table
***Move the event table to lt_events
  lt_events = wdevent->parameters.
*"Set to 'TAB' in lt_events
  read table  lt_events into ls_events with key name = 'TABSTRIPID'.
  if sy-subrc eq 0.
    assign ls_events-value->* to <fs_value>.        
    if sy-subrc eq 0.
      lv_select_tab = <fs_value>.                    "Tab selected
    endif.                 "IF sy-subrc eq 0.
  endif.                 "IF sy-subrc eq 0.
***Set the selected tab value
  CALL METHOD WD_CONTEXT->SET_ATTRIBUTE
    EXPORTING
      VALUE = lv_select_tab
      NAME  = `SELECT_TAB`.  "Set the selected tab Id
**Call additional data if tab selected
  if lv_select_tab eq 'TAB1'.
elseif v_select_tab eq 'TAB2'.
endif. .
Regards,
Lekha

Similar Messages

  • Account determination for entry C002 ZF2 X001 not possible while doing GR

    Hi,
    I am facing problem while GR (MIGO) and error: Account determination for entry C002 ZF2 X001 not possible
    Scenario: Client wants to capture for transport cost while doing the GR by using material group (without material).
    Steps:
    1. Purchase order (ME21N):
    By using account assignment category K u2013 Cost centre, material group (without material) and fright condition
    (Account determination: Account key FRE and Accruals ZF2)
    2. GR (MIGO):  error: Account determination for entry C002 ZF2 X001 not possible
    Configuration made:
    1. Assing material group to valuation class (OMQW)
    Material group - 600000020 Office BOOKS   to Valuation class Y170 BOOKS
    2. Account determination for valuation class (OMWD):
    Valuation area X001 - VGCd X001
    3. Automatic account determination (OBYC):
    FRE u2013 X001(VGCd) - Y170 (VC) u2013 606400000 (GL)
    ZF2 - X001(VGCd) - Y170 (VC) u2013 408300000 (GL) (This is Z transaction key to capture transport cost).
    For ZF2 transaction key above configuration was attached and still I am getting error.
    Did I miss any other configuration?
    Thanks in advance for suggestion.

    Based on the Error message, i think account determination is not looking for valuation class Y170. This is normally included in the error message, so i think you should maintain FRE and ZF2 with valuation class as 'blank'.
    Regards,
    Ganesh

  • Compositiong turning invisible while doing anything (selecting, dragging, rectangling)

    So I Installed After Effects CS6 today and I made a new composition to make an intro for a speech in school.
    I haven't even tried alot of tools yet but for example when I add a text and change the font size I only see the gray background and the rectangle the text is in. The black and the text in there disappears while changing the font size.
    Also when I use the rectangle tool to select the text, I can't see what I'm selecting because the same thing happens.

    What other details of relevance can you think of? I just installed it today so I assume all prefs are default, but take a look.
    specs:
    http://pastebin.com/VB3srLLQ

  • Not getting any line item, while doing shipment costing VI01.

    I have a TD shipment which is completely confirmed. When I am trying to do shipment costing, VI01, no item line appears. The error log is not informative.
    The same vehicle, with the same service agent, has been used for many other shipments, before and after the one I have mentioned. In those cases there was no problem with the shipment costing.
    Can anyone let me know what may be the possible reason for this ?
    Regards.
    Manish kumar Sharma

    Hi Manish,
    i hope the Shipment Cost Relevance and Default for Shipment Cost Type is assigned properly, and while using VI01. the same s being used.
    Also check  "Maintain Transport relevence in Shipments.and "Route determination for shipping point" for the vehicle / transporter used .
    BT
    Satish

  • Once launched PSE8 Organizer clocks with any action request. Does anyone know what to do?

    I try anything...for ex. display a tagged group of photos or click on Help/Forum and the round circle starts. Waiting for the program to respond can take a full minute or much longer. Sometimes I go away and come back to it. Then it will do as I asked.
    I have only been able to view my photos. I'm afraid to go any further as the program will freeze up and I have to close down.
    My photos are all brought over from PS 2 and I don't think I did it properly but they are all here.

    Did you catalog converted properly after you open it in PSE8. You could try repair catalog in case of any catalog issues.
    Also you could try creating a fresh catalog in PSE8 and see if you still face this issue.
    ~Sourabh

  • Installing packages from testing while doing a new install

    Is this possible while doing a ftp install?
    I need to install kernel 2.6.18 coz 2.6.17 wont boot (jmicron etc )

    use quickinst but edit it in a way so that it writes a testing repo to the temporary pacman.conf in /tmp. you should be able to find it with a grep.

  • Using Mac OSX Install Disc 1, I am not able to get any further than the Partition tab.  It allows me to select my hard drive selection, but will not allow me to make any other selections.  Does anyone know their way around this obstacle?  Thanks!

    Using Mac OSX Install Disc 1, I am not able to get any further than the Partition tab.  It allows me to select my hard drive selection, but will not allow me to make any other selections such as options.  Does anyone know their way around this obstacle?  Am I doing anything wrong?  Thanks

    Hello, The Hatter, I read about the 'trick' of backing up, erasing, and restoring too, but I figured it would take longer than defragmenting the disk.
    But the defragmentation process has just finished! so I'm gonna try to run Boot Camp again soon!
    Thanks for your helpfulness, anyway.
    And P.S. I didn't clone my system onto the external drive, I just inserted the Mac OS X Install CD, rebooted holding down the "C" key, and installed a fresh Snow Leopard system onto the predetermined partition. I will use that in cases of emergency, when my main/internal system becomes unusable.

  • Firefox 4 hangs a little on every action - typing, moving the window, selecting a menu item, selecting a tab, ...

    Since installing Firefox 4 RC2, and now Firefox 4, Firefox constantly hangs on every action. Just in typing this message, the program pauses for a second or two every few words. Opening a tab, selecting a menu item or even moving the Firefox window incurs a brief pause of a second or two. This makes the users experience terribly slow. I've tried turning off sync and starting Firefox with extensions disabled. Nothing seems to help. I upgraded from RC2 but then deleted and reinstalled Firefox.
    I'm having this problem on my MacBook Pro, which is pretty new (less than a year old) and otherwise very fast (i.e., i7 processor and 8Gb RAM). I have the newest version of OS X (10.6.7) and have updated all extensions.
    I've watched my system monitor and Firefox is constantly and repeatedly going from low to near 100% CPU use every few seconds. I have no special, unusual settings (I've gone through preferences).
    This is getting so bad that I'm about ready to abandon FireFox. Any suggestions would be helpful.

    I had the same problem, I kept searching and found this:
    [http://forums.mozillazine.org/viewtopic.php?f=38&t=580592&start=0 http://forums.mozillazine.org/viewtopic.php?f=38&t=580592&start=0]
    Which says to delete your sessionstore.js from your profile. It seems to have worked so far on my macbook pro.
    If you're concerned about losing the file rename it first, here's a description about what the file does:
    [http://kb.mozillazine.org/Session_Restore http://kb.mozillazine.org/Session_Restore]
    Do all this with Firefox CLOSED.
    Hopefully this helps others!

  • In SRM Portal, while doing carry out sourcing, unable to select "Create Draft" Button Choice.

    Hi,
    In SRM Portal, while doing carry out sourcing, we are unable to select option "CREATE DRAFT"  Button choice. We have two users, one with standard role "/SAPSRM/ST_PURCHASER - SAP SRM: Strategic Purchaser" for whom Create draft is working fine. Another user who has the custom copied version of this role is not able to Create Draft since the button choice option is not opening for him.
    Web dynpro component - /SAPSRM/WDC_DO_SOCO_GAF_2
    View                            -  V_AO_SOCO_GAF_2
    Could you please help me to locate the code where this button choice is populated? What are the parameters that need to be checked in Roles to identify the reason for this wrong behaviour with custom role?
    Regards,
    Jeena

    Hi,
    Check entries in SM30 --> /SAPSRM/V_SOCO but, there should not be any issues here, as you are telling that it is working for Standard Role.
    Please overwrite the Z role one more time, and ensure that you have given proper authorization in the Org Level of the Role and regenerate the profile. It should work.
    Ganapathi

  • Why DDL during SELECT is possible. Or why SELECT does not put a table lock?

    This is a question to people who really knows Oracle internals or/and RDB theory.
    (The question is relocated from another thread for not hijacking on that's original question.)
    Why DDL during SELECT is possible? Or why SELECT does not put TM 2 Row Shared lock on table(s)?
    This not locking causes a possibility while one session is running a long select, another can truncate and even drop table(s) that are being read by the first session.
    I think, humbly assume, that Oracle does not put TM 2 lock on tables, that are being simply SELECTed, by some significant technical reason. But I do not know this reason. If somebody knows please shed a light.
    Also, if you know that this behavior is totally correct from perspective of RDB theory, please explain me.
    I'll try to explain my point.
    It is a matter of data consistency and integrity that is supported in Oracle everywhere except this place.
    a) If one session is reading data from moment T and other session changes data on its way at moment T1, the first session wont read that changed data, it will read the data that was there on moment T.
    This is declared as Read Consistency principle.
    b) If one session is changing data, and another session tries to truncate or drop table - the second session will fail with error ORA-00054: resource busy and acquire with NOWAIT specified.
    This is declared as Data Integrity principle.
    c) But why not to follow the above principles in case when one session reads data and another session tries to truncate or drop table (or do other DDL operations)?
    It is counter-intuitive. Why not to put TM 2 (SS) lock during SELECT execution that would prevent DDLs on this table?
    What I only can assume is that this is only because some technical difficulty or limitation.
    What is this limitation or other reason in favor of which Oracle sacrificed consistency in this case?

    user11181920 wrote:
    Aman,
    There was no need to clarify how DML lock works, I know that.
    Also I know that in Oracle a Select does not lock neither table rows nor table itself.
    The reason I mentioned it because you brought up the word change which is far better suited for DML's than DDL's as the former has a requirement to have its Undo preserved.
    Again, my question was why Select does not protect itself by locking table(s), partitions and indexes?Protect from what? There is nothing wrong with doing a select. What would happen with a select doing a lock on the table before being executed in its entirety (forget DDL and DML altogether for a moment) ? State one good reason that there should be a lock for the select. If it has to, it would be always isn't it?
    The keyword here is concurrency and that's what is the best when the number of locks obtained are lesser at non-required operations. A select doesn't change anything that's why in Oracle, there is no read-level lock.I am not saying about row locks while reading. They are not needed because Undo resolves concurrency.Only in the case of DML where the change is still active and the buffers are dirty. With a DDL, its an implicit commit.
    I am asking why Select does not enqueue one, only one lock per object that participates in the Select?Again, my question back to you is, what good you would get from it? What purpose it would solve?
    It is not very expensive, I suppose. But it would protect from DDLs that can destroy the Select's result set. You have seen in your system and in my demo(and that's what the the question was on the other thread also) that the result remains intact and its not a behavior from now. Its the same since the time I have started learning Oracle. Can you explain that why you think that the result of select statement would be wrong for a drop table? I believe, its been stated repeatedly that if the select has no requirement to look back the table, it would get completed. Only if the select needs to access the table again, it would fail. So even if we consider your explanation, there is no wrong result shown at all. Once the session encounters that the table is dropped for the statement, the execution stops right away. So where is the destroyed result?
    Yes, it is less dangerous when Select does not lock table comparing with what would happen with DMLs in such case (that is why DMLs protect themselves by TM 3), it affects only the Select and its consumer, but still ... I don't understand this Oracle's decision. What is a reasoning behind it?.As I said, to improve concurrency.
    Aman....

  • HT201406 The Home button on my iPod Touch is very unresopnsive.  It takes several tries to activate it.  While doing so, it responds to one click vs the intended two clicks and vice versa.  It is a very frustrating process.  Any suggestions?  I tried the

    The Home button on my iPod Touch is very unresponsive.  It takes several tries to activate it.  While doing so, it responds to one click versus the intended two clicks and vice versa.  It is a very frustrating process.  Any suggestions?  I already tried the "shut off" process that was suggested on the Apple site, but that did not help.

    Try:
    fix for Home button
    iPhone Home Button Not Working or Unresponsive? Try This Fix
    - If you have iOS 5 and later you can turn on Assistive Touch it add the Home and other buttons to the iPods screen. Settings>General>Accessibility>Assistive Touch
    - If not under warranty Apple will exchange your iPod for a refurbished one for:
    Apple - Support - iPod - Repair pricing
    You can do it an an Apple store by:
    Apple Retail Store - Genius Bar
    or sent it in to Apple. See:
    Apple - Support - iPod - Service FAQ
    - There are third-party places like the following that will repair the Home button. Google for more.
    iPhone Repair, Service & Parts: iPod Touch, iPad, MacBook Pro Screens

  • I disabled my iPhone 4 and while doing a restore via iTunes,  it is downloading and timing out so the download is not completing. any idea how to get past that?  I have tried many times and the same error keeps happening.

    I disabled my iPhone 4 and while doing a restore via iTunes,  it is downloading and timing out so the download is not completing. any idea how to get past that?  I have tried many times and the same error keeps happening.

    You need to force the phone into recovery mode, as described here, & restore it:
    http://support.apple.com/kb/ht1808
    Sorry, you've already lost all data on your phone.

  • Is there any User Exit to update the SGTXT of table BSEG while doing F110

    Hi,
    I have a requirement of updating the item text of BSEG table while doing the payment run with transaction F110. Anybody tell me the user exit name if there is any.
    Thanks,
    srinivas.

    I responded in your other thread as well...
    I suggest you to make use of BTE 00001120. You can find documentation
    for the usage of this event in transaction BERP, enter process
    interface 00001120 > execute > Keep cursor on the event 00001120 and
    then click documentation.
    Hope that helps,
    Jon

  • So without warning while surfing with Safari, it will just close? I haven't been able to pin it to a certain action, but it does it regularly . It...

    So without warning while surfing with Safari, it will just close? I haven't been able to pin it to a certain action, but it does it regularly .
    10 times in last 20 mins Grrrr. updates all up to date.

    "...updates all up to date"
    Well there you go. There's your mistake. The iOS 8 updates have seriously hosed Safari. Here are your options: (a) you can jump through all kinds of hoops resetting, restoring, reloading, etc. for hours/days, or (b) you can save yourself a lot of aggravation and wait for an update that really "just works".

  • Iam getting any error in infotype 0002 while doing enhancement ...

    Dear all
                could any one let me know why iam getting this error ,
       " TABL HRTIM00WS_PWS_INFTIES was adjusted
      Check table HRTIM00WS_PWS_INFTIES (SFCD07/13.06.07/11:34)
      Enhancement category for table missing
      Enhancement category for include or subtype missing
      Field name TIME is reserved (Do not use structure as include in DB table)
      Table HRTIM00WS_PWS_INFTIES was checked with warningsif iam doing
    enhancement for infotype 0002 ....
    i have just added an one custom field ...(zzname , data element is zzname type char 20)as per the business requirement.
    regards
    vamsi

    Iam getting any error in infotype 0002 while doing enhancement .
    " TABL HRTIM00WS_PWS_INFTIES was adjusted
    Check table HRTIM00WS_PWS_INFTIES (SFCD07/13.06.07/11:34)
    Enhancement category for table missing
    Enhancement category for include or subtype missing
    Field name TIME is reserved (Do not use structure as include in DB table)
    Table HRTIM00WS_PWS_INFTIES was checked with warningsif iam doing
    enhancement for infotype 0002 ....
    when iam activating .................the structure i got the above error...........please urgent i have just added only one field

Maybe you are looking for