TAB VALUE

hi guys i have a problem of finding out the value of the tab clicked.
the prob is iam developing a custom form where i have a header and two details tables . my header is in content canvas and the two detail tables in tab canvas
in the second tab i have to execute a query based on the value entered in the header table .so i thought of using the trigger when tab page clicked at form level
but i shud know the value of the tab clicked as there are two tabs in my form.so that i can write that when one tab clicked one query shud work and when the other clicked some other option.i am using forms 6i .and any other triggers which can be used rather the tab clicked can be suggested i will work on it
ravi

get_canvas_property('my_canvas', topmost_tab_page) should help

Similar Messages

  • Regarding contract sales tab value not updating into the standard VA42 t-co

    Hello Experts!!!
    How to add screen shots in sdn...
    so that i can add my screen shots in SDN
    The below shown screen shot is the output of our Zprogram.The table field name:VBKD-BZIRK, where is has been marked as red colur in box.
    While dropping the from Source contract to Target Contract, where the value is not picking to the target contract and finally it is not displaying in the Standard VA42 transaction
         Input value
    That same field should come in the final alv output and also include in the va43 transaction sales tab( sales district)
    This value must then be inserted into every document which is being transferred.
    The above input field dragged from Source Contract to Target Contract, the picked value should reflected in the VA42 transation , but it is not effecting.
    Regards,
    Preethi...

    i already used same But it's not working
    s_order_header_inx-updateflag = 'U'.
    Line items
      REFRESH: i_order_item_in, i_order_item_inx.
      LOOP AT t_data INTO wa_data.
        LOOP AT t_data_item INTO wa_data_item WHERE vbeln = wa_data-vbeln. .
    BAPISDITM
          i_order_item_in-itm_number = wa_data_item-posnr.
          i_order_item_in-profit_ctr = wa_data_item-profit_ctr.
    BAPISDITMX
          i_order_item_inx-itm_number = wa_data_item-posnr.
          i_order_item_inx-updateflag = 'U'.
          i_order_item_inx-profit_ctr = 'X'.
          APPEND: i_order_item_in, i_order_item_inx.
        ENDLOOP.
        CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
          EXPORTING
            input  = wa_data-vbeln
          IMPORTING
            output = wa_data-vbeln.
        CALL FUNCTION 'BAPI_SALESORDER_CHANGE'
          EXPORTING
            salesdocument     = wa_data-vbeln
            order_header_in   = s_order_header_in
            order_header_inx  = s_order_header_inx
            behave_when_error = 'P'
          TABLES
            return            = it_return
            order_item_in     = i_order_item_in
            order_item_inx    = i_order_item_inx.

  • Accordion defaultPanel first tab value

    I have an application which has an accordion panel and
    several detailregions.
    - the accordian panel is dynamically generated in spry with
    xml (both the tabs and the content)
    - the detailregions are based on what the current selected
    tab is in the accordion panel
    I needed to be able to access these tabs via a URL query
    string - and have the correct panel / detailregion display based on
    the variable passed in the URL.
    I have this working correctly.
    The problem though, is that the tabs onClick events do not
    number correctly when using the defaultPanel attribute.
    For example,
    var acc = new Spry.Widget.Accordion("test",{defaultPanel:
    functionThatGeneratesDefaultPanel});
    works correctly for setting the panel which needs to be
    displayed, but then if you click on the tabs to navigate to a
    different panel, tab one ALWAYS defaults to whatever the
    defaultPanel value was instead of being 0. Obviously this disables
    the accordion panel from working correctly.
    Any suggestions on how I can get around this?
    Your assistance is appreciated!
    elaine

    Thanks for the reply Chris. I have somewhat narrowed down the
    problem, but still haven't solved it (had to move on and finish the
    rest of the website:)
    As I mentioned previously, I am creating these accordion
    panels dynamically through xml. Inside one of the panels, there is
    a secondary navigation system which is fed by xml as well. The
    problem seems to be caused by having two datasets in the same
    accordion panel. Here is the code:
    var observer = { onPostUpdate: function(notifier, data) { var
    acc = new Spry.Widget.Accordion("nav",{defaultPanel:
    requestedPanel}); dsNavItems.setCurrentRow(requestedPanel);
    displayCoupons(); } };
    Spry.Data.Region.addObserver("nav", observer);
    and the accordion:
    <div id="nav" class="Accordion" spry:region="dsNavItems
    dsNavSubs">
    <div class="AccordionPanel" spry:repeat="dsNavItems">
    <div class="AccordionPanelTab" spry:hover="rowHover"
    spry:select="rowSelected"
    onclick="clicker({dsNavItems::ds_RowID});">
    <h3 spry:if="({ds_RowNumber}) != 2"
    onClick="dsNavItems.setCurrentRow('{dsNavItems::ds_RowID}');hideLayer('comingSoon');hideL ayer('coupons');hideLayer('couponLarge');hideLayer('imageHolderScreen');hideLayer('submenu Content');hideLayer('submenu1');showLayer('featureGraphic');showLayer('ticker');showLayer( 'newsBar');"
    spry:content="{dsNavItems::name}"></h3>
    <!-- for coupons -->
    <h3 spry:if="({ds_RowNumber}) == 2"
    onClick="dsNavItems.setCurrentRow('{dsNavItems::ds_RowID}');hideLayer('comingSoon');hideL ayer('imageHolderScreen');hideLayer('submenuContent');hideLayer('submenu1');hideLayer('fea tureGraphic');hideLayer('ticker');hideLayer('newsBar');showLayer('coupons');showLayer('cou ponLarge');"
    spry:content="{dsNavItems::name}"></h3>
    </div>
    <div class="AccordionPanelContent">
    <div spry:state="loading"><img
    src="images/ajax-loader.gif"/></div>
    <div spry:state="error"><span spry:content="The
    website is currently down. Please try again in a few
    minutes."></span></div>
    <!-- departments nav -->
    <div spry:if="({ds_RowNumber}) == 0"
    spry:state="ready">
    <div class="department" spry:repeat="dsNavSubs"
    onClick="{dsNavSubs::onClick}; goToURL('{dsNavSubs::url}')"
    spry:hover="rowHover" spry:select="rowSelected"
    spry:content="{dsNavSubs::name}"></div>
    </div>
    <!-- non-departments items -->
    <div spry:if="({ds_RowNumber}) != 0"
    spry:state="ready">
    <span
    spry:content="{dsNavItems::content}"></span>
    </div>
    </div>
    </div>
    </div>
    This problem can be seen at
    http://www.sportzoutdoor.com/index.php?panel=2
    This will default to opening the page with the second tab
    appearing. Trying clicking on the first tab and you will see that
    it tries to refresh, but comes up as the 2nd tab. When running an
    echo with this, on the rownumber, it returns as 2 for both the
    selected tab and for the first tab. For some reason, it is
    assigning 2 to this tab when it generates it.
    The problem only occurs when it is selecting a specific panel
    from the url query. Otherwise at
    http://www.sportzoutdoor.com/index.php
    it works fine. Also, this is the page where you can view the
    secondary nav system built into the first panel.
    Also, in another example - this one without a secondary nav
    system, but still with the url query, works fine:
    http://www.sportzoutdoor.com/cycling.php?panel=4
    Let me know what you think...
    thanks,
    elaine

  • Syndicator Preview tab values are not same to Syndicator Output file

    HI All,
    I am struct with the following issue, can any one give there inputs where the issue is:
    In the MDM Syndicator preview tab I can see the look up flat multiple table values... But in the output file I cant abel to see the entire node at all... Do I need to make some configuration?
    Thanks
    Rajeev

    HI All,
    I am struct with the following issue, can any one give there inputs where the issue is:
    In the MDM Syndicator preview tab I can see the look up flat multiple table values... But in the output file I cant abel to see the entire node at all... Do I need to make some configuration?
    Thanks
    Rajeev

  • Infopackage-Data Selection Tab Values Get Populated Automatically.

    Hi All,
    In infopackage dataselection tab currently we are entering manually values for 0version info object and process has to be done for 4 differenct infopackagewe are getting a ticket for doing this process for every month.So 0version values would not be unique values ,all the values are different,for instancec10,c99,c11.
    user community felt that this one is a time consuming take they want to customize it and they want to enter the value on their own thorug some custom sap screen.
    we cannot give access to the user for the infopackage selection and all .we have figured out like we have to create a custom t code and give acces to the user for that t code alone.
    If the user enter the 0version value in the front end of it should get reflected in  infopackage dataselection tab.
    It would be really grateful if u have shared ur thought on the same.
    Regards,
    Sakthivel S

    Hi,
    You could use the TVARVC table instead of creating a Z-control table, and allow the users to enter the data into TVARVC via the tcode you are creating.
    So for instance the table entries could be as follows.
    NAME
    SIGN
    OPT
    LOW
    HIGH
    IP_1
    I
    EQ
    V1
    IP_2
    I
    BT
    V3
    V4
    IP_3
    I
    EQ
    V9
    Now, in the first InfoPackage, write the ABAP routine to read the data from TVARVC where the NAME = IP_1. Based on the results the InfoPackage restrictions will be populated by the routine. 
    In the second InfoPackage you read based on NAME = IP_2. And so on. Rest of the routine code is same as in the first InfoPackage.
    This way you can be assured that the different IPAKs will not have overlapping criteria as long as the table entries are correctly maintained.
    Regards,
    Suhas

  • Org level tab values

    Hello,
    In one of the single roles, field BUKRS was individually maintained and hence there is a mismatch between the values in the org level values tab. To make it uniform, how do I reset BUKRS so that it is filled with values from the org level tab? I did a select all, delete of the BUKRS field values then saved and generated the role but the values are not populated.
    Any inputs is appreciated.
    Mani

    Hi,
    If you delete the BUKRS filed values from the object using the delete button that will show up only in the manually maintained object BUKRS filed value.  Delete the same using the trash icon.  Immediately the org level value will popup in the BUKRS orgfiled. (No need to generate or save the role to see the BUKRS value from Org level)
    As you have mentioned you have "select all " no such option. individually you have delete for each BUKRS filed in the objects if you maintained manually.
    Regards,
    Shrinivasan. KV

  • Where store Production order Summary Tab values like Actual Compnent cost,

    Hi Experts
    Can you tell me that where it store Actual component cost and Actual product cost value which are in summary tab of production order. I checked It is not stored in OWOR table. than where it store these values.
    Thanks
    Regards
    Gorge

    It is in the OINM table.
    Thanks,
    Gordon

  • Entering a default TAB value of less then 1

    Hi,
    It does not seem possible to enter a default value for the TAB smaller then 1 cm.
    With the down arrow it will accept 0,04 cm, but a manually entered 0,5 cm (or 0,04) is not accepted. Why is this? Above 1 cm decimals are accepted...
    thx
      Mac OS X (10.4.6)  

    Hello Bas,
    welcome to the Pages Discussions. There is a little trick to get 0,5 cm tab stops. Enter 1,25 cm an press the decrease button (arrow down) and you will get your 0,5 cm tab stops. this will work with other values (less then 1,5), too. Don't ask for the deeper sense of it, take it like it is

  • Adding internal tab values

    Hi all,
    i have a query, i have a internal table in which i have wage types like bleow
    1000         5000
    1001     0
    1002     500
    1003     0
    1010     2000     
    1011     0
    1012     50     
    1013     0
    1020     500     
    1021     0
    1022     50
    1023     0
    but i dont want the data like this. i want the addition of similar group of wage types
    like below.
    1000     5500     
    1010     2050
    1020     550
    how can i get this?
    thanx...

    Hi,
    I would suggest using the COLLECT Statement.
    Basic form
    COLLECT [wa INTO] itab.
    Addition
    ... SORTED BY f
    Effect
    COLLECT is used to create unique or compressed datsets. The key fields are the default key fields of the internal table itab .
    If you use only COLLECT to fill an internal table, COLLECT makes sure that the internal table does not contain two entries with the same default key fields.
    If, besides its default key fields, the internal table contains number fields (see also ABAP/4 number types ), the contents of these number fields are added together if the internal table already contains an entry with the same key fields.
    If the default key of an internal table processed with COLLECT is blank, all the values are added up in the first table line.
    If you specify wa INTO , the entry to be processed is taken from the explicitly specified work area wa . If not, it comes from the header line of the internal table itab .
    Example:
    Compressed sales figures for each company
    DATA: BEGIN OF COMPANIES OCCURS 10,
    NAME(20),
    SALES TYPE I,
    END OF COMPANIES.
    COMPANIES-NAME = 'Duck'. COMPANIES-SALES = 10.
    COLLECT COMPANIES.
    COMPANIES-NAME = 'Tiger'. COMPANIES-SALES = 20.
    COLLECT COMPANIES.
    COMPANIES-NAME = 'Duck'. COMPANIES-SALES = 30.
    COLLECT COMPANIES.
    The table COMPANIES now has the following appearance:
    NAME SALES
    Duck 40
    Tiger 20
    Regards,
    Jayanth G

  • How to get tab name value?

    Hi,
    I have a database table which stores user tab privilige info.
    It stores tab_name, username, and access_flag.
    eg.
    tab_name--username--access
    T_tab1------- xyz------------Y
    T_tab1------- zzz------------Y
    T_tab2------- xyz-----------YI am creating a tab condition for T_tab1. If user has priviliges, user will see the tab, else no.
    I have a PL/SQL function in the database which accepts tab_name and username and return 'T' or 'F' based on table rows.
    I have written following statement in 'T_tab1' tab expression(PL/SQL Function body return a Boolean):
    IF get_tab_access('xyz', v('TAB_NAME')) = 'T' THEN
    RETURN 'T'
    ELSE
    RETURN 'F'
    END IF;During my testing6 I found that v('TAB_NAME') is not passing value to the function.
    Can someone tell me how to pass current tab value to the fuction?
    Thanks in advance.
    Dip
    Edited by: Dipesh on 19-Apr-2010 12:58 PM

    Hi, did you ever get a solution for this? I am looking for the same sort of thing.

  • Screen value of table control in ME21N tcode condiions tab

    Hi ALL,
    I have a problem in ME21 Tcode .I want to read screen field value of net price  of Screen ME21N tcode conditions tab.
    when I change tax code in delivery tab then condition tab values changes according to price procedure.I want to read that conditions tab  Net price value  nothing but unit price (amount field in screen) and need to do validation .
    i used the BADI but could not able to find the screen value using DYNP_VALUES_READ fm.
    kindly sugest the  solution.
    regards,
    padmaja.

    Hi
    In BADI ME_PROCESS_PO_CUST, method PROCESS_ITEM or in method CHECK, for interface IF_PURCHASE_ORDER_MM, use method GET_CONDITIONS.
    For instance in method CHECK
      include mm_messages_mac.
      data: header       type mepoheader,
            items        type purchase_order_items,
            po_line      type mepoitem,
            line_item    type purchase_order_item,
            po_condition type mmpur_tkomv,
      header = im_header->get_data( ).
      items  = im_header->get_items( ).
      loop at items into line_item.
        po_line = line_item-item->get_data( ).
        call method line_item-item->get_conditions
          importing
            ex_conditions = po_condition.
      endloop.
    I hope don't forget anything.
    I hope this helps you
    Regards
    Eduardo

  • Rfx Custom Tab(Table) Value not mapping in Change Doc BADI

    Hi,
    I am currently adding Custom Tab with Table in SRM Rfx Webdynpro Screen SRM PPS 7.01 Extended classic . I did the configuration steps to add the custom table, visibility setups, created a new Webdynpro, enhanced in Component controller and could get current active instance Rfx values.
    In local memory using a class method i am exporting custom tab values to Change Doc BADI and updating the et_hcf with the custom values.
    The values are getting saved in the data base and i am able to get it via function module and show in the screen again.
    My Problem is when i am modifying a saved Rfx it saves the entry another time. When i debug the change doc badi i could see all the time the et_hcf and it_hcf is coming empty in the first place and each time the entries from screen are consider as new entries and getting saved in DB.
    I have created Custom tab with table in Contract screen, PO Header and shopping cart line item. Rfx screen is little different and not getting the et_hcf value again in Change Doc BADI. Do anyone have similar issue in handling Rfx.? Please help me. I can Change my code logic and fix this problem still it looks like a standard bug to me that et_hcf or it_hcf is not getting values to the change doc BADI as it does in PO or Contract. Also let me know if i need to check any of my configuration.

    Hi,
    Checkout the below link :
    <link to blacklisted site removed by moderator>
    Shailaja Ainala.
    Edited by: Thomas Zloch on Jan 28, 2012 9:06 PM

  • How to display a specific tab in a screen after a popup message

    Hi all,
            I've a rewuirement where in i need to display a secific tab in a screen after popping up a warning message. To be specific, when i choose 'Yes' in the popup window, it shoud take me to a tab which is not active while displaying the warning popup.
    Thanks in advance....
    Anil Kumar Japa

    Hi
    U need to active the tab you want to show:
    So you should set the ok_code (of the tab) value to field ACTIVETAB
    <TABSTRIP>-activetab = <OK_CODE>.
    And transfer the value of subscreen number to the subscreen area:
    CALL SUBSCREEN SUBSCREEN1
                 INCLUDING G_CTRL_TABSTRIP-PROG             
                           G_CTRL_TABSTRIP-SUBSCREEN.
    Max

  • How do I restore tab behavior back to the way it was in FF 3.5??

    I just upgraded to FF 3.6.13, I generally wait to upgrade until any new bugs have been identified and corrected. In FF 3.5, when I opened a new tab from a link, the new tab appeared to the right of the current tab (NOT at the very end of the tab bar) and the focus STAYED ON THE CURRENT TAB. If I opened multiple new tabs, they each opened to the right of the previously opened new tab, as in <original tab sequence> Yahoo Facebook GMail MyBlog <New tab sequence after opening links> Yahoo Facebook NewFBLink1 NewFBLink2 NewFBLink3 NewFBLink4 GMail MyBlog, with the focus remaining on the CURRENT TAB (in this example Facebook, from which I was opening the links). In 3.6.13, the tabs SOMETIMES open to the right of the current tab, sometimes at the end of the tab bar, and no matter how I fiddle the settings, I cannot make them CONSISTENT. Have tried the extensions 'Tab Mix Plus' and 'New Tab at End' - these do not give me consistent behavior - sometimes they do as I wish, sometimes not. In addition, sometimes the focus stays on the current tab (which is what I want) - sometimes the focus changes to the new tab just opened, sometimes it stays on the current tab until I've opened 3 or 4 new tabs, then jumps to one of the new ones. In the 'options', I do NOT have 'when I open a link in a new tab, switch to it immediately' checked; yet sometimes it does, sometimes it doesn't. HOW do I achieve consistent behavior?? This is why I don't upgrade often. Very frustrating. I have not changed any plugins, other than trying Tab Mix Plus and New Tabs at End after upgrading to 3.6.13, once I realized that the tab behavior was not consistent. How can I go back to FF 3.5 ???

    First of all, sometimes Extensions can interfere with one another. That '''''<u>MAY</u>''''' be the case with your using both Tab Mix Plus and New Tabs at End. They both have a function that you can set for where new tabs appear. TMP has options concerning focus on new tabs.
    My suggestions are:
    #Un-install New Tabs at End (Tools > Add-ons > Extensions, click New Tabs at End, click Uninstall, then exit and restart Firefox).
    #*If using no other extension that affect where tabs appear (to the right of current tab or at end of all open tabs), a simple preference change can affect that change for you, <u>and you have one less extension to be concerned with</u>. I have also made this change as TMP did not have the Focus options to do this when the "new tab at end" feature first appeared or when I first started using the version of Firefox in which this feature appeared:
    #*#Type '''about:config''' in the URL bar and press the Enter key.
    #*#*See: http://kb.mozillazine.org/About:config
    #*#If you see the warning, accept it (promise to be careful).
    #*#Filter = browser.tabs.insertRelatedAfterCurrent
    #*#Look at the "Value" column ('''false'''=open at end, '''true'''=open after current tab); Value = true is the default.
    #*#Double-click that preference to toggle the value from true to false, or false to true
    #*#Restart Firefox (File > Restart Firefox)
    #*#See: http://www.mydigitallife.info/2010/02/01/change-firefox-to-open-new-tab-at-far-right-end-of-tabbar-disable-insert-next-to-current-active-tab/
    #Tab Mix Plus settings
    #*Open the Tab Mix Plus Options (Tools > Add-ons > Extensions, click Tab Mix Plus, click Options)
    #*Click on Events > Tab Opening
    #*#Place a check mark before "Open new tabs next to current one"
    #*#I have checked "Open other tabs next to current one"
    #*##I have un-checked "Only if related to current tab"
    #*##I have un-checked "Change opening order"
    #*#I have checked "Open duplicated tabs next to original"
    #*Click Events > Tab Focus
    #*#If you ALWAYS want to stay on the current tab and let the new tabs open in the background, un-check everything. These selections will/should over-ride Tools > Options > Tabs, "When I open a link in a new tab, switch to it immediately"
    See if the above changes give you the results you are seeking. Tab Mix Plus has lots of options. You may need to change one or two settings at a time until it behaves the way you desire. Keep track of the changes you make so that you can easily re-trace/re-set when the results are not what you want.

  • 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

Maybe you are looking for

  • ITunes won't launch, no error displays. QuickTime won't launch either.

    This computer is an eMac. After upgrading via Software Update, neither iTunes nor QuickTime will run. What we've tried: We first verified/repaired the permissions, dumped the preferences, and then tried to reinstall both apps to no avail! Any other s

  • Export Center-Crop (4x3) quicktime from a 16:9 Sequence.

    Hi, I'm currently working with DVCPRO HD 720p material on a project which is intended for standard definition NTSC broadcast. The material was framed to be center-cropped (losing the left and right sides of the image), and the offline process is very

  • How to use apple s5 phone

    Please send me the user guide for iphone s5

  • Unable to back up Itunes library to disc

    Have been trying to backup my library to disc .Itunes checks my media, says I need 19 discs ,initialises the dvd-r disc in the drive and then appears to start writing to disc but after about 5 minutes it comes up with an error 4483 and says unknown e

  • Can't login in to local admin account

    Here at work, we have an Xserve that will not let us log in to it. We've tried the admin account, root, booting from a CD to reset password, using Terminal to rest password. All attempts have failed. If any of you know of an alternative way to log in