Hiding a tab?

I'd like to show a tab view in a dialog with different amount of tabs depending on some variable.
However, the following code does not seem to work, it always shows two tabs (i.e. the visible -variable in the second tab_view_item is ignored).
f:tab_view {
     f:tab_view_item {
          visible = true,
          title = "Tab 1",
          identifier = "Tab1",
          f:static_text {
               title = "Some text to show"
     f:tab_view_item {
          visible = false,
          title = "Tab 2",
          identifier = "tab2",
Is the syntax correct or is there any other way to make a tab with dynamically set number of tabs?
Thank you,
Keijo K.

I would just assign the items to an array like:
items = { bind_to_object = props }
items[#items + 1] = vf:tab_view_item...
if some_var then
     items[#items + 1] = vf:tab_view_item...
end
-- and then
tab_view = vf:tab_view( items )

Similar Messages

  • Hiding spry tabs until page loads

    Greetings, I am a professional beginner
    in spry and need to know if you can hide the content
    panels in spry tabs while the page loads (like you can hide the XML
    schema while a spry list loads). I have a page with four tabs that
    takes roughly 5-8 seconds to load all of the content panels. While
    it loads, the page shows all the tabs' panels stacked, then redraws
    with only the default tab showing as it should. This looks odd to
    the users and makes the page 4x longer until it finishes loading...
    ...Any ideas?
    Thanks!

    If hiding the tab content isn't a function for the tabbed
    panel, is it possible to retrieve HTML code fragments from within
    the same document as the panels? AdobeLabs has an example using
    updateContent to load the panel content when the tab is clicked,
    but it references an external HTML page...

  • Custom Step From Multiple Numeric Limit Test | Hiding Limit Tab

    Hi All,
    I am trying to create a Custom step from Multiple Numeric Limit Test. The custom step by itself poplulates the Limits value from the measurement. So I am planning on hiding the Limits Tab in the step settings. Can someone guide me on how to do this ?
    Thanks,
    Prasaanthan
    Solved!
    Go to Solution.

    Prasaanthan,
    if you do not need the Edit Substep at all, you can delete it from the substep list.
    Keep in mind that TS gains a lot by using very focused modules. So including a module which does two things (taking measurements, populating limits) might beckfire one day result in "difficult to manage" applications.
    hope this helps,
    Norbert
    CEO: What exactly is stopping us from doing this?
    Expert: Geometry
    Marketing Manager: Just ignore it.

  • Hiding a Tab Dynamically in FPM

    Hi,
    Can you please let me know how to hide the tab dynamically in FPM. I tried to implement the interface IF_FPM_TABBED_CONF_EXIT in the SAP standard webdynpro, but I get a error " Web Dynpro comp./intf. "IF_FPM_TABBED_CONF_EXIT already exists". Even though I get this message I am not able to find the interface IF_FPM_TABBED_CONF_EXIT in the implemented list of interface.
    Regards,
    Arun

    Hi Aliaksandr,
    Thanks for the reply.
    Actually I am not able to implement the interface controller  IF_FPM_TABBED_CONF_EXIT in the SAP standard webdynpro, I get an error " Web Dynpro comp./intf. "IF_FPM_TABBED_CONF_EXIT already exists".
    Even though I get this message I am not able to find the interface IF_FPM_TABBED_CONF_EXIT in the implemented list of interface.
    Regards,
    Arun

  • Hiding OAF Tab Pages in EBS 11.5.10.2

    Hi All,
    I have a requirement to create one responsibility which is only having Workflow Status Monitor function. For that I have created one menu of standard type in which I called the existing function, "Workflow Status Monitor"(WF_STATUS_MONITOR).
    Now when I access the newly created responsibility it is dispaying three tabs(Status Monitor,Notification and Administration) in which I want to see only the Status Monitor Tab. Even I am getting some error also when clicking on the Notification Tab.
    The HTML call for this function is as below,
    OA.jsp?akRegionCode=WF_MONITOR_MAIN_PAGE&akRegionApplicationId=0&OAHP=WF_ADMINISTRATOR_APPLI
    CATION&OASF=WF_STATUS_MONITOR&OAFunc=WF_STATUS_MONITOR
    I am not able to find the HTML TAB Menu corresponding to this also.
    How can I hide the two tabs. Will it be possible through personalization.? If not can we achieve it through by creating a new function.?
    It is a critical requirement for me. So I am looking forward for your valuable comments.
    Thanks in advance.
    Regards,
    Charls K V

    Hi Helios,
    Thanks alot for your quick reply.
    Just now only I saw that note. But I have done exactly like that only.
    As I need only Status Monitor, I have added only that funtion to my menu. Then only I got the issue issue which is displaying three tabs. These are the tabs which is not even displaying in the Standard Responsibility. When I am navigating to those tabs, it won't display the tabs also. That mean we can see the three tabs only from Status Monitor page.
    Is there any option to upload files here.? Then I can upload the screen shots which will give you a better clarity.
    Reagards,
    Charls K V

  • Hiding Dashboard tab by user group

    I have my users created and assigned to groups in my rpd only (under manage-security). I want to display a specific tab on my dashboard for a particular group only. All users in the other groups need to have that tab hidden. What is the best way to do this?

    Create a group for example Group_DB_Hide and add all the users to this group.Remove permission for that particular folder for this Group_DB_Hide.
    What you can do is place your reports for each tab in separate folders and assign access to the group as said.
    goto settings-> Administration->Manage catalog-> assign permission

  • Hiding reports (tabs) in a Web Intelligence document

    Hello
    I've created a Web Intelligence document contains multiple reports (tabs).
    I want to hide the reports (tabs) containing no data.
    Is there any functionality in Web Intelligence for this?
    If not, is there a workaround?
    Sincerely,
    Zahra Bagherzadeh

    Hi,
    Which version are you using. If it is BOXI R3.1 then check in table properties-> there is one opton like don't display data when blank like dat....
    Cheers,
    Suresh Aluri.

  • Hiding Workflow tab in FV60 screen.

    HI,
    Early we were using workflow in document parking of vendor invoice FV60. now we have deleted all confrigration of this workflow in customizing. now workflow is not working but the workflow tab is still in FV60 screen. How to hide this tab.
    Thanks..

    Hi,
    If your are using a sub-screen inside the tab strip, you will have to hide that too to make the tab strip completely invisible. Also check with the screen-invisible option of the screen
    Eg,
    LOOP AT SCREEN.
        CASE screen-name.
          WHEN 'zsub-grp'
            screen-input     = 0.
            MODIFY SCREEN.
             WHEN 'TAB9'    " Status History Tab   " Tab Name to Hide
            screen-active     = 0.
            MODIFY SCREEN.
        ENDCASE.
      ENDLOOP.
    Regards,
    Vikranth

  • Hiding unused Tab on Issue Maintenance

    Hi,
    If we go to SOLAR01 or SOLAR02, then to tab "Issues/Messages", then can create new issue, we will get "Issue Maintenance" screen. There are 7 tabs (Description, Context, Recommended Task,etc).
    Now, if we only need two tabs (eg. "Description" and "Process Information"), how to hide others?
    Thanks..
    Regards,
    Hery

    Hi Hery,
    I am sorry if this reply does not help you; just wanted to share two observations:
    (1) This functionality of Issue Management (either clicked from SOLAR01/02 or via SOLMAN_ISSUE_MGMT) is relatively recent function - I wouldn't expect too much of a flexibility in configuring it.
    (2) Even otherwise, if you opted for 'Messages'  (transaction type SLFN called in background) as opposed to Issues (SLFI), there is not much flexibility on such matters
    Regards,
    Srini

  • Hiding Subreport tab or preview tab

    Post Author: Aman
    CA Forum: General
    Hello all,
    Ok, don't laugh and I am aware that it might very simple.  However, I can not figure it out.
    Therefore, can someone please me with this hugh issue, just kidding...
    OK, I can not figure out how to hide the tabs on the report, i.e. Subreport tab and/or the preview tab on top of the report next to Design view tab. 
      I'm using CR9.  
    I appreciate your help in advance.
    -Aman

    Hi,
    If your are using a sub-screen inside the tab strip, you will have to hide that too to make the tab strip completely invisible. Also check with the screen-invisible option of the screen
    Eg,
    LOOP AT SCREEN.
        CASE screen-name.
          WHEN 'zsub-grp'
            screen-input     = 0.
            MODIFY SCREEN.
             WHEN 'TAB9'    " Status History Tab   " Tab Name to Hide
            screen-active     = 0.
            MODIFY SCREEN.
        ENDCASE.
      ENDLOOP.
    Regards,
    Vikranth

  • FPM - Hiding custom tab dynamically.

    Dear friends,
    Let me start with details.
    Details :
    STD WDC : FPM_OIF_COMPONENT(there are 5 views in this component)
    Component configuration name : /SAPSRM/WDCC_FPM_OIF_PO_PURCH
    In this CC, i have added a new custom tab as 7th position in the tab strip and given my own Z Webdynpro component in the attributes.
    Requirement : The custom tab should appear only for certain conditions.
    My method :
    1) I have tried to put some code in the modifyview and post-exit of MAIN to hide based on condition - Requirement not met.
    2) same as above, in post-exit method of CNR_VIEW - Requirement not met.
    Solution :Any methods apart from the above to achieve this requirment would surely be appreciated.
    Regards,
    Vinay

    Hi Vinay,
    you don't have to implement the interface but the class that implements the interface.
    As I understood you like to remove tabs from SAP SRM.
    Check class /SAPSRM/CL_FPM_OVRIDE_OIF. This class implements the interface /SAPSRM/IF_FPM_OVRIDE_EVT_OIF you can open the method override_event_oif and create a pre-enhancement.
    I did that and it worked fine for me:
    IF <some condition>.
       CASE mo_fpm_oif->mo_event->mv_event_id.
              WHEN 'FPM_START'.
                "remove customized tabs
                TRY.        " do try-catch as remove tab from configuration were it does not exist will dump       
                    mo_fpm_oif->remove_mainview(
                      iv_mainview_id = lv_tab_id
                   CATCH CX_FPM_FLOORPLAN.
              ENDTRY.
            ENDCASE.
    ENDIF.
    Note: I asked for a special Event because I received dumps when event id was "FPM_LEAVE_INITIAL_SCREEN".
    Hope you make it working!
    KR,
    Thomas

  • UWL hiding of tab

    Hi,
    We have configured UWL by following the steps in How to Guide and hide some of the button and supress some of the column. We would like to hide some of the tab i.e. notification, alert and tracking but unable to find any information regarding that.
    Can any one please help for above requirement?
    Thanks,
    Vinod

    Hi Vinod,
    Check this link:
    <a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/d6/eddef503944dc6bbe8d81a2cec44e8/frameset.htm">Customizing the UWL Tabs</a>
    Hope it helps.
    Regards,
    Vivekanandan

  • Hiding Tabs in PCUI application on Runtime

    Hi.
    I'm looking forward to hide a tab in a PCUI application during Runtime but i'm getting the following bahiviour:
    Let's assume i have 20 tabs and i don't want the TAB 15 to be displayed. I've used the method CHECK_ACTIVE_TABSTRIP in TAB 1 in order to delete from the list TAB 15 and "great" -
    > that works !  :-D  but..... as soon as i switch to TAB 2, TAB 15 is displayed again !!!!! does it mean that i have to redefine such method in all the MAC's and place my code for hiding the tab ?????? isn't there a BADI or kind of ? that doesn't make sence to me.
    Thanks.
    Armando Rodriguez.

    This is how it works in PC-UI...
    You can implement the logic in one method and call this in all MAC's...
    Enjoy....
    Raj

  • How to Hide a Tab related to FPM in Rfx

    Hi,
    I am new to SRM 7 and I have an issue in hiding a tab which is based on FPM. I went through lot of links and found below steps
           1) Add WD interface IF_FPM_TABBED_CONF_EXIT in implented interface of any webdynpro component under AppCC
           2) Implement the method  OVERRIDE_CONFIG_TABBED to hide a TAB.
    My problem is I took standrad webdynpro component /SAPSRM/WDC_DODC_RFQ_H_BI and tried to add  IF_FPM_TABBED_CONF_EXIT (in Implemented interface) in enhancement mode. But it is not allowing me add and throwing a message Web Dynpro comp./intf. "IF_FPM_TABBED_CONF_EXIT" already exist.
    So could you please tell me how to overcome this issue? and is there any alternative to hide a TAB based a conditions?
    Thanks,
    Raghu

    Hi
    go  to SE 80 enter the webdynprocomponents and enter
    go to component configurations select the webdynpro component
    click start configurator
    click change you can see the FPM select the button and hide
    In this you can hide for all the users only
    Regards
    G.Ganesh Kumar

  • On ME21N / ME22N / ME23N  PUT SOME TAB INVISIBLE.

    Hi,
    I need put the text tab on this transactions me21n me22n and me23n INVISIBLE for some users, how can i do this?
    tks.
    Carlos Siqueira.

    We had a requirement for hiding the tab Spec2000 in item detail.
    The code in the enhancement implementation AD_S2K_SUB_LMEGUIU08 in function module MEGUI_BUILD_PO_ITEM_PLUGIN was commented out to remove the extra tab as the structure that is linked to this tab was MEPO1339.
    May be the same works for you for the other tab.

Maybe you are looking for

  • SEARCH RESULTS NOT SHOWING THE NAME OF DOCUMENT

    When I search for a document on the top level, the results in my case are relevant but they do not display the document name, meaning I have to go into the document to check if it is the one I'm looking for. For some reason the name of the file is di

  • Ipad 2

    I picked one up on friday past there and to be honest I am quite impressed with it. I didnt think I would be into it much, but it is getting used a fair bit. I doubt it will replace my trusty laptop, but it is great to pick up for a real quick browse

  • "Your skype name and password were not recignized"

    Hi, Can someone please help me? I'm trying to login using my usual login name but it says "Your skype name and password were not recignized". I used it few of days ago and it was fine until last Sunday (04-Dec). I've already contacted support team 2

  • My MIDlet cant accept SVG image Created with Inkscape and Adope Illustrator

    Hi I am a kenyan Mobile application developer, I have made acouple of Midlets that call SVG images that I developed ysing inkscape 0.45 and finished in Adope illustrator. What can be the matter? or what SVG creator should I use? Pliz help. Thanx

  • Moving a Pin in Maps??

    I was doing a search for my business location using Maps, and the Pin dropped about a block away from my actual location. Is there a way to 'move' the pin to the correct location? It's not even on the right side of the street!