Hide Workset  dynamically

Dear Experts.
I have the following doubt.
In the role of Employee Self-Service We have the following services:
Employee Search |  Personal Information |  |  Benefits and Payment |   |  Travel and Expenses |  Career and Job 
However depending on the type of employee we need hide some Areas(ie For the type of Employee A, I need hide the Area :
  Travel and Expenses
  Career and Job
I know that I can hide Areas in the ESS creating an Enhancement Implicit in the FM HRXSS_SER_GETMENUDATA. I made this and work fine. But the problem that I have in this moment is following:
The Area were hided but in the role of ESS yet still appear all the Worksets:
Employee Search |  Personal Information |  |  Benefits and Payment |   |  Travel and Expenses |  Career and Job 
Is posble Hide Workset  dynamically or What I need do for solve this Issue?
Regards
Juan .

Hello,
You said that you have a different employee type so here I believe it appears the need for a different group with its permissions and restrictions.
I am not sure on how to dynamically change the Worksets without the BADIs, but I would suggest you to use more groups so that you can define the rules you are creating on the BADI on the group itself.
Regards,
Bentow.

Similar Messages

  • How to show or hide portlets dynamically on a Portal Page

    Dear All
    1. I have a Portal Page with One Portlet in the top having like 5 Buttons. Each button click should display a separate portlet in the bottom on this same page.
    2. I have Top Portlet. For bottom I have 5 Portlets P1, P2, P3, P4 and P5. On my .portal file, I dragged and dropped top portlet and all these 5 Portlets one below each other.
    3. Now, I am trying to use BackingFile approach at PageLevel/Portlet level, to get the details of button clicked in top portlet (like name etc), and then show only one portlet at a time in the bottom section (using portlet backingcontext show/hide APIs). I do need to compare the bottom portlets defintion_label etc. which is fine for now.
    Is this the right approach...?
    Or do I have to use Portlet Custom Event approach. So top portlet will trigger event everytime button is clicked with some payload. And bottom 5 portlets listen to that event and show/hide accordingly. But in this approach, I have to attach backingfile to all the bottom portlets to listen to them.
    All the portlets are Pageflow based Portlets. Any ideas or any other simpler approaches, are highly appreciated.
    Thanks
    Ravi Jegga

    Hi Kevin
    1. Thanks a lot for the pointers. I will go with Events. So for bottom Portlets, I will use the same BackingFile. But still it is going to be custom Event. Because only one portlet will be shown. So its like my payload will be portlet def label. In Backing File, I will compare this payload with actual dynamic value and if same, show or hide that portlet. Please let me know if this is correct approach.
    2. Now each one of the Bottom Portlets is a complex pageflow portlet with many buttons of their own. So everytime a button is clicked or action is invoked, the Backing File gets called. And I had to somehow know that the same portlet has to be shown or the show/hide logic should not be called. Is there any way, where backing file gets called or just listen for Events triggered only from main top portlet.
    Thanks for the other message, where looks like you already gave lots of pointers. I will go through them.
    I will design and test this out and will keep you posted with my results.
    Thanks a lot again
    Ravi Jegga

  • How to hide field dynamically in a report while using JRC

    Post Author: prateeti
    CA Forum: JAVA
    How can I hide fields in a report dynamically?Say my report now contains 3 fields(columns). Some users want to see the 1st and 3rd column and the 3rd column must be adjusted accordingly so that it appears where the2nd column previously was.Is there any way of doing such thing using API's from JRC.I am not using RAS.
    Thanks.

    Post Author: something_stupid
    CA Forum: JAVA
    Hi,
    you could to this while designing your report in CrystalReports. Pass the user's choice as parameters to your report on runtime. This parameter is evaluated and changes visibility and position of columns conditionally. Actually haven't done this with visibilty and position but with strings to display conditionally.
    good luck!

  • Making a page title in workset dynamic

    Good Day All;
    I am using portal wizard to create a workset with 4 pages. I need one of these pages title to be dynamic specificaly displays "current year".
    What I want in the page name filed where to add the text, could I add some code to reflect the dynamic date?
    Regards

    Good Day All;
    I am using portal wizard to create a workset with 4 pages. I need one of these pages title to be dynamic specificaly displays "current year".
    What I want in the page name filed where to add the text, could I add some code to reflect the dynamic date?
    Regards

  • Hide/Show Dynamic Action Stopped Working

    Good Morning,
    Once I upgraded my application to Apex 4.2.2, my dynamic action stopped working. It worked fine in 4.1.
    I also used javascript to hide/show my fields.
    code below
    <script language="JavaScript" type="text/javascript">
    function onPgLoad()
    //hides reporting select, unless certain utcs are selected they are selected
      var ForceGenUTCSrch = $v('P310_FORCE_GEN_UTC_SRCH');
      var RptMenu         = $v('P310_REPORT_MENU');
    if  (RptMenu == '1'&&(ForceGenUTCSrch == '0GTAA' || ForceGenUTCSrch == '8MMUB' || ForceGenUTCSrch == 'CCMAR' || ForceGenUTCSrch == '0GQGC' || ForceGenUTCSrch == '0GQGB' || ForceGenUTCSrch =='3NNNA' || ForceGenUTCSrch == '3PQAA' || ForceGenUTCSrch == 'XMCAS' || ForceGenUTCSrch == '8NJAA' || ForceGenUTCSrch == 'XMMCB' || ForceGenUTCSrch == '9VCBH' || ForceGenUTCSrch == '3PNAA' || ForceGenUTCSrch == '3PLFA' || ForceGenUTCSrch == '3PMAA' || ForceGenUTCSrch == '3NSAA' || ForceGenUTCSrch == '8NHAA' || ForceGenUTCSrch == 'CBSAD' || ForceGenUTCSrch == 'CCVAA' || ForceGenUTCSrch == '9VDLB' || ForceGenUTCSrch == '3NHAA' || ForceGenUTCSrch=='1HDAA' || ForceGenUTCSrch=='0EZ99' || ForceGenUTCSrch=='0JZ99' || ForceGenUTCSrch=='1AZ99'|| ForceGenUTCSrch=='9YZ99' || ForceGenUTCSrch=='CUZ99'))
        var get = new htmldb_Get(null,null,'APPLICATION_PROCESS=PROC_UTC_RPRTG_ORG',0);
       gReturn=get.get();
        $x_ShowItemRow('P310_FORCE_GEN_RPRTG_ORGN');
       else
         $x_HideItemRow('P310_FORCE_GEN_RPRTG_ORGN');
    </script>
    <script language="JavaScript" type="text/javascript">
    function FunSelUTC()
    //hides reporting select, unless certain utcs are selected they are selected
      var ForceGenUTCSrch = $v('P310_FORCE_GEN_UTC_SRCH');
      var RptMenu         = $v('P310_REPORT_MENU');
    alert(RptMenu);
    if  (RptMenu == '1'&&(ForceGenUTCSrch == '0GTAA' || ForceGenUTCSrch == '8MMUB'|| ForceGenUTCSrch == 'CCMAR' || ForceGenUTCSrch == '0GQGC' || ForceGenUTCSrch == '0GQGB' || ForceGenUTCSrch =='3NNNA' || ForceGenUTCSrch == '3PQAA' || ForceGenUTCSrch == 'XMCAS' || ForceGenUTCSrch == '8NJAA' || ForceGenUTCSrch == 'XMMCB' || ForceGenUTCSrch == '9VCBH' || ForceGenUTCSrch == '3PNAA' || ForceGenUTCSrch == '3PLFA' || ForceGenUTCSrch == '3PMAA' || ForceGenUTCSrch == '3NSAA' || ForceGenUTCSrch == '8NHAA' || ForceGenUTCSrch == 'CBSAD' || ForceGenUTCSrch == 'CCVAA' || ForceGenUTCSrch == '9VDLB' || ForceGenUTCSrch == '3NHAA' || ForceGenUTCSrch=='1HDAA' || ForceGenUTCSrch=='0EZ99' || ForceGenUTCSrch=='0JZ99' || ForceGenUTCSrch=='1AZ99' || ForceGenUTCSrch=='9YZ99' || ForceGenUTCSrch=='CUZ99'))
         //alert(ForceGenUTCSrch);
        var get = new htmldb_Get(null,null,'APPLICATION_PROCESS=PROC_UTC_RPRTG_ORG',0);
       gReturn=get.get();
         $x_ShowItemRow('P310_FORCE_GEN_RPRTG_ORGN');
       //  $('#FORCE_GEN_REPORT1#').show();
       else
         //alert(ForceGenUTCSrch);
         $x_HideItemRow('P310_FORCE_GEN_RPRTG_ORGN');
        // $('#FORCE_GEN_REPORT1#').hide();
    </script>
    javascript: onload="onPgLoad();"I kept the code just in case I needed it @ a later time.
    My Dynamic Action
    Event: on change
    item --> :p310_force_gen_utc_srch (this is a select list that submits)
    conditon --> in list
    value --> '0GTAA', '8MMUB', 'CCMAR', '0GQGC', '0GQGB', '3NNNA', '3PQAA', 'XMCAS', '8NJAA', 'XMMCB', '9VCBH', '3PNAA'
    True Action --> show :p310_force_gen_rprtg_orgn
    False Action --> hide :p310_force_gen_rprtg_orgn
    They both fire on page load.
    The :p319_utc_srch has submits the page because the :p310_force_gen_rprtg_orgn lov runs a query to pull back that units reporting orgs only.
    Please help me figure this out.
    Thanks,
    Mary
    Edited by: MaryM on May 10, 2013 10:52 AM

    Hi Mary,
    So you changed from the code presented to a DA ? I'm not clear as to exactly happens or doesn't happen.
    Do you know if your AJAX calls are failing?
    If you use a Console like the one on Firebug or Chrome you can inspect what's being send and what's being returned.
    I mention this because your htmldb_Get calls looks suspicious.
    var get = new htmldb_Get(null,null,'APPLICATION_PROCESS=PROC_UTC_RPRTG_ORG',0);I would change it to
    var get = new htmldb_Get(null,$v('pFlowId'),'APPLICATION_PROCESS=PROC_UTC_RPRTG_ORG',$v('pFlowStepId'));That would pass the app_id and the page_id that is calling. Although this is probably not your current issue.
    See if you can find some javascript error. It's possible that this is a timing problem as to when the code is defined and when it's loaded.
    Thanks
    -Jorge

  • How do I hide the Dynamic Page parameters from being displayed in the URL

    Hello,
    I am using a form to call a Dynamic Page and to send parameters to it ,
    is there a way to hide the parameters values from being diplayed in the URL
    when the Dynamic Paged is called .
    Thanks .

    Hi,
    You cannot hide the parameters in the url. The GET method works like that. You can use the POST method to submit the parameters. But in your case the POST method may be not be appropriate.
    Thanks,
    Sharmila

  • To Hide workset under a Role

    Hi,
    We have a requirment in ESS, Under ESS we want to hide required workset only to specific users and it should be visible to all other users.
    How to take this forward ??
    Thanks,
    vijay.

    There are multiple ways, Depends on your design.
    1. Is the workset an entry point..? You can use
    Filtering navigation by desktops
    2. You can use merge ID to merge the worksets for the user group ug1 which requires say workset w1 and w2.  where as a group Ug2 will have access to only workset w2.
    Search for Merge ID and you can find lot of information.
    Thanks
    Prashant

  • Hide Tab Dynamically in RFx.

    Hi,
    I am new to FPM. I have a requirement that I want to hide a tab dynamically for Guest User. when i tried to Implement the Interface IF_FPM_TABBED_CONF_EXIT I am getting the error that Interface IF_FPM_TABBED_CONF_EXIT already Exists. But Unable to use the interface.
    Please find the screenshot.
    Please help me how to hide the view Dynamically.
    Thanks & Regards,
    Pawan Reddy

    Pawan,
    Please refer to the document below to know how to use INM_APPCC_PPM_OBJECTS:
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/b52e13c3-0901-0010-8fa6-d11a51821b7c?QuickLink=index&…
    Different controllers of Webdynpro:
    Different controllers of Webdynpro | Team ABAP
    Regards,
    Ashvin

  • How to  hide a dynamically generated header bean whose label alone is known

    My requirement is to hide a header bean whose label alone is known (id is not known).
    The header bean is generated dynamically by the following oracle code . Multiple header beans are created under a stacklayout based on vector size.
    for(int j = 0; j < vector.size(); j++)
    String s12 = (String)vector.elementAt(j);
    OAHeaderBean oaheaderbean = (OAHeaderBean)createWebBean(oapagecontext, "HEADER");
    String s14 = (String)hashtable.get(s12);
    String s15 = (String)hashtable1.get(s12);
    oaheaderbean.setLabel(s14);
    oawebbean.addIndexedChild(oaheaderbean);
    OATableBean oatablebean1 = (OATableBean)createWebBean(oapagecontext, oawebbean, "HrEitTable", s12);
    oatablebean1.setWidth("80%");
    oatablebean1.setID(s12);
    In about this page:
    header: Custom Test A
    Here s14 corresponds to "Custom Test A"
    I am able to hide the table bean, as its id is known. How do i hide the header bean whose label is "Custom Test A"

    Ok,
    I've decided to use the following workaround (it works and, at the same time, keeps my pages rather clean. i.e. without hard-coding and with the navigation logic in a Java class):http://forum.java.sun.com/post!reply.jspa?messageID=10089545#
    In the main view:
    <!-- Prepare info for content management -->
    <jsp:scriptlet>
      pageContext.setAttribute(ViewConstants.PageIdAttribute,"/prods/prodlist", PageContext.REQUEST_SCOPE);
    </jsp:scriptlet>In the navmenu view:
    <f:subview>
    <rich:panelBar selectedPanel="#{navBean.navigatorSectionId}">...
    </f:subview>in the navBean class:
    public String getNavigatorSectionId()
      return this.navSectMap( (String) this.getRequestMap().get( ViewConstants.PageIdAttribute ) );
    }If one has a better workaround or eventually the definitive solution ... please let me know!
    Thanks so much!
    Regards,
    -- Anthony

  • Control center user role - hide worksets

    Dear gurus,
      The control center user role is assigned to all the users by default. Could somebody please tell me how to hide selected worksets in the role.
    I have an option to delete items that are not configured in that role, I am trying to find out a means of hiding some of the worksets and pages, so that I donot have to delete or modify SAP delivered role and be able to make those items visible when required at a later stage.
    any help is appreciated.

    There are two roles involved. One is the SAP template, and should not be changed as it can be overwritten by patches etc. The other way can be editted the same as any role. It is the one with the id pcd:portal_content/every_user/cc_user/ccur.
    In here you can remove worksets, change the sequence etc or hide its visibility in the navigation area etc.

  • Hide Measure Dynamically by Month or any member

    Hi,
    I need to hide a Measure for future months and for current month and past one i need to show the particular measure. how can i achieve it..
    Means in excel
    For old months and current i want to show measure.actual
    but for future month i want to show measure.forecasting..in excel that measure should be totally hidden for old months.. but right now it shows blank value.. but does not hide a column in excel.
    Please suggest!

    Fedor wrote:
    I would like to run same VI in several  subpanels at once.
    I followed NI guidelines and load same VI template dynamically for each subpanel, which works fine.
    I would also like this VI to be a member of the class. And it works too, up to the point where I would like to access protected class data in the template VI, after which I get the following runtime error:
    Error 1003 occurred at Open VI Reference in TemplateTestTopVI.vi 
    Possible reason(s): 
    LabVIEW:  The VI is not executable. Most likely the VI is broken or one of its subVIs cannot be located. Select File>>Open to open the VI and then verify that you are able to run it.
    VI Path: ..\TemplateMember.vit
    By the way, calling the same *.vit member directly, not through VI server,  works fine.
    Is there any work around?
    Sample code attached.
    Been ther done that, Sqashed by LabVIEW R&D.
    This boils down to a philosophical issue that being
    "Is a VI created from a template that is part of a class a member of the class?"
    Bottom Line = NO. The class has to know about all of its members and the VI created from the template is not known by the class so not a member.
    There is also a twisted way that Classes can be messed with that could be exploited so ...
    What I do is create a template that is not a part of the class and uses only public methods of that class to do the job.
    So...
    Take it out of the Class.
    Re-write it to use public methods.
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • MultiLookup items selected, show or hide fields dynamically

    Hi,
    In the New or Edit Form, I would like to show or hide fields based on the multiselect value selected.
    Is there a way to add javascript to achieve this and to get the selected values to show or hide the fields dynamically?
    Thanks for your help.

    Hi,
    According to your post, my understanding is that you want to show or hide fields based on the multiselect value selected.
    You can add the code below to the new form.
    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
    <script type="text/javascript">
    function Test(){
    var object= $("select[title='Lookup selected values']");
    var object1=$("input[title='Test']");
    var text= object.find("option").text();
    alert(text);
    if(text.indexOf("A")>-1)
    object1.hide();
    </script>
    <button onclick="javascript:Test();" type="button">Test</button>
    Note: You need to change the title of the select and input tags.
    The result are as below:
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • Disable or hide a dynamic parameter based on a selection

    I have a report created in CRW 2008. The report is having 3 dynamic parameters and a static parameter.
    The static parameter is a list of 4 values like  indications,controls,Alarms,All .
    Based on the selection of one of theese values I need to access the data from any one of the three dynamic parameters and the remaining two dynamic parameters needs to be disbaled or not selectable.
    What are the choices I am having?

    Please re-post if this is still an issue or purchase a case and have a dedicated support
    engineer work with your directly

  • Hide Dynamic Filters list criteria

    Hello Dear Experts,
    I would like to ask you whether it is possible and how can i hide the Dynamic Filters list criteria from a BW Portal (Web) report when exporting this or broadcasting this by email in pdf format???
    I mean about the first page of the output report which includes the settings & dynamic filters & key figures used in the report.
    Great Thanks in Advance...!!!!
    Kind Regards
    George

    Hi George
    There are two options:
    1. The default template for portal display is 0ANALYSIS_PATTERN. In this, there is a web item Info field.
    This causes the static, dynamic filters to appear on the report on a click on Print button.
    The option is to copy 0ANALYSIS_PATTERN to a new web template. Change the new template for not displaying this on click of Print button using the command option. Then use the new template as default template in SPRO. This will make it applicable for all the queries run on portal directly. Remember, for changes to take affect J2EE engine should be restarted.
    2. If this is only required for few queries, then the best approach is to create the template for each report and publish them.
    However, if the look and feel should be similar to other reports, then copy 0ANALYSIS_PATTERN and make changes to print command. The default template need not be changed here.
    Thanks
    Sri

  • Is it possible to show/hide dynamically columns in RDLC form?

    We need to show/hide dynamically columns in our Report RDLC form based by the user desire needs.
    We need by the predefined checkboxes to set which columns should be seen and which should be hidden.
    Is it possible in RDLC form to make it "show/hide columns dynamically" with any way?

    Depends on what you mean dynamically, you still need to press the view report button.
    What you can do is right click on the column you want to be able to hide/display in design mode,
    click "Column visibilty", choose "show or hide based on an expression" then in your expression base your true or false on a boolean parameter for each column

Maybe you are looking for

  • IPod Classic 120GB

    I have a iPod classic 120GB and itunes isn't syncing all of my music. I have over 5,000 songs. But, once it syncs about 500 of the songs itunes freezes and stops syncing and gives me an error. I have tried changing the music files from MP3 to AAC tha

  • Missing text in PDF file

    Hi, I've just receive pdf file. When I open it it doens't show some text. Not all, just some of the text. When I open the same file in Gmail, the text is there. What is the problem with preview? I don't have anything like Adobe Acrobat. Just Mac OS X

  • How do I stop Adobe Bridge, Excel, Word and Adobe Photo Downloader from loading at startup under Mac OS 10.7.1, they are not loaded in login items.

    How do I stop Adobe Bridge, Excel, Word and Adobe Photo Downloader from loading at startup under Mac OS 10.7.1, they are not loaded in login items.

  • Can't drag new media into a project!

    I've created a poster in pages and it will not allow me to drag photos into the placeholder spots. I've tried with other new projects and Pages will not allow me to drag any photos from my media library onto any document. The placeholders say "This i

  • MenuBar submenu shows up way right in IE

    Please Please help. I am using the horizontal menu barwith 2 submenu levels. I have searched the forum and can't find the fix that works. I loaded the 1.5 .js file, but it didn't fix it. You can see the site at adshapiro.com/test The CSS is located i