Dynamically hiding the services on homepage framework

Dear All,
Requirement in my case is like for some users some specified links should be visible on the overview page which we configure from SPRO through resources, area pages , services etc
and for others these links shouldnt be visible.
For example : in ESS role one document link is there which should me visible only to one set of users.
To workaround this, we made two ESS roles and replicated all authorizations, with one ESS role having the document link in addition.
But this is very tedious and messy since we need to replicate SPRO config also for the overview page.
Please help if some workaround is possible through portal setting or through service/area page settings.
Thanx

When you say a document link - Is it a service in the homepage framework ?
If your requirement is to provide few extra services (within the same sub area or Area), you can implement a proxy class and implement your custom logic in the proxy class. The proxy class can hide/show the services using it based on your custom logic.
(There is a field for setting a proxy class in the "Define Services" view in the homepage framework).
You can refer to CL_XSS_CAT_1_AREA_PAGE for example implementation which uses interface IF_XSS_SER_PROXY_SERVICE.
Let me know if you have any further questions.
Thanks,
Shanti

Similar Messages

  • Homepage Framework - XSS Menu diffrent Systems

    Hello,
    is it possible to have the application XSSMenu (Homepage framework) from 2 diffrent SAP Systems in one portal?
    I´ve tried to use the parameter sap-wd-arfc-useSys and created the additional JCo destinations - but now i get an error
    "Accessing System AAA is not possible because RFC Metadata was retrieved using System BBB. Please assure you have configured the RFC Connections properly"
    any suggestions?
    br franz

    Make sure you followed all the instructions in this link
    http://help.sap.com/SAPHELP_NW70/helpdata/EN/f4/651741f163f023e10000000a155106/content.htm
    and that you have restarted your web server.
    I have not tried accessing two ESS systems before, we always end up changing the JCo's when we need the system switched.
    Hope it works for you.
    Regards,
    Tom

  • Hiding the header of a group using dynamic programming

    Hi,
    I had a requirement where we needed to place a border around the UI elements. For this purpose i had used a group UI element. But the group UI element by default has an attached header (Setting the visible property of header to "None" only disables the header text). Hence as per the suggestions in the following thread i had set the caption dynamically (in WDDOMODIFYVIEW) which removed the group header completely.
    Hiding header of a group
    Now, when i was browsing through the forum i came across the reply by Thomas in the below thread,
    Setting value in cookie using ABAP code
    //if someone does post a "hack" or "illegal" way of setting the client cookie directly from Web Dynpro; this would not be supported by SAP and could stop working at any time.//
    Truly said, it might stop working at anytime. This might apply to my case as well as i am setting the caption dynamically. I am not sure is the right allowed way or if i am using one of the "illegal" ways (which would stop working at some SP levels).
    Can someone clarify if hiding the header of a group using the above method is allowed?
    Regards,
    Prasath N

    The usage of WDDOMODIFY method for dynamically altering the view (e.g. hiding or showing UI elements) is perfectly "legal".
    The manipulation of a cookie by the developer is not intended inside the Web Dynpro framework.
    These are two completely unrelated issues, as per my understanding Thomas warned about the second.
    I think you're mixing things up.

  • Homepage Framework services in Sitemap

    Hello Sitemap Gurus,
    We used ECC Homepage Framework to setup our ESS pages in Portal. The HF configuration consist of creating the resource link which are attach to area pages.
    In turn the area pages are grouped under area group to create the resource which shows on the Portal as page.
    The issue we are running into is that we cannot pull the resource services links in the sitemap. Has any one tried pulling the service resource link in the portal sitemap.
    Any suggestion on how to do it will be helpfull.
    Thanks.

    That's correct, work protect mode shouldn't be the problem in your case.
    I would probably start from the portal role and drill down through each portal component (i.e. Workset, Page, iView) and check that nothing has a parameter set to open the content in a new browser window.
    Doing it this way (as opposed to opening each component) should reveal any delta linked changes to parameters that you may not be able to see when looking directly at the iViews etc.
    I am assuming that the right Homepage configuration has been transported to your testing client as well?
    Regards,
    John

  • Web Analysis-How to Point the Service Button in Report Dynamically

    Hello All,
    In Web Analysis, I have scenario like this :
    I have divided users in 3 groups : ALL, EMG, LSCA. I have created 3 start pages(*Start Page ALL, Start Page EMG, Start Page LSCA*) one for each user which shows and point to reports assigned to that user. I am able to assign start to each group thru shared services.
    In my each report, I am using service button e.g SB1 which points(links) to start page. Now, I have common reports for user group *(ALL & EMG)* and *(ALL & LSCA)*. If I login with ALL group, Start Page ALL appears and then i got enter to a report e.g. ReportA from start page ALL. In ReportA, I pointed the service button SB1 to start page(Start Page ALL). It works fine.
    Now my problem starts when i login thru User Group LSCA. When i login, Start Page LSCA appears and I go to same report *(ReportA)* that User Group ALL logged in earlier thru Start Page LSCA. In this report, Service button SB1 points to Start Page ALL but I want when i login wid User Group LSCA, service button SB1 should point to Start Page LSCA. Similarly for user group EMG.
    Plz suggest me how the same service button(SB1 in my case) in the same report should point to different start pages(dynamically) and it should depends upon User Group.
    Looking for reply soon.
    Thanks in advance.
    Edited by: user649490 on Mar 23, 2009 9:21 PM

    Thanks mark. I dont have the wsdl. At this moment we import our  request and response structures and all the data elements manually.
    i.e we generate xsds for all the data elements of request and response structures. then create them 1 by one in PI ESB and import the xsd's. Then create the message type and service (manually) and link all together.
    I would like to see an alternative path to do this. If we have some api's then may be we can create our own tool to import this into PI ESR.
    Hope you understand what I am looking for.
    Regards,
    Thilak

  • Changing the Column Header and Hiding the Column dynamically???

    Hi friends..
    I'm new to OBIEE field. I'm working in a OBIEE project that requires to dynamically change the column header, and dynamically hide the column depending on the prompt value.
    I know we can dynamically change the table header using the presentation variable but I couldn't do that same thing with column header.
    I searched some forums that suggest to use java script for this purpose but I'm not able to do the same also. If anyone had same issue before please help.

    toony, I'm not sure it's possible to do all that you want exactly the way you want, but here are some ideas you can pursue.
    To dynamically change column headers without javascript, check this blog out...
    http://oraclebizint.wordpress.com/2008/01/25/oracle-bi-ee-101332-dynamic-column-headers-using-presentation-variables-sets-and-conditional-formatting/
    As far as dynamically hiding a column, I don't think you can do this, but since you don't provide any details on how the PV is supposed to hide a column based on the value, are you talking about hiding a column for one PV value and another (different) column for a different PV value? Or are you talking about hiding one column when a PV has certain values and displaying it when the PV has a different set of values?
    I have managed to create both scenarios via a work-around, but the procedures require some writing so I don't want to put both. Please detail how you want your PV to "hide" a column or columns.
    P.S. I don't think column selectors will do the trick for you. Basically column selectors work like this: Say you have a report using Sales Region ID, Region Name, and Sales. Now let's say you want the user to choose if he/she wants to see annual sales, or quarter sales or weekly sales, etc. The column selector view would allow you to put the various columns (Year Sales, Quarter Sales, Weekly Sales) as an option the user can select. Once selected, the sales figure will change for the time period selected. For an example of how this is done, check out the section in this "Oracle by Example" link.
    Waited too long to publish this... Madan beat me to it, so there is some overlap here...
    http://www.oracle.com/technology/obe/obe_bi/bi_ee_1013/saw/saw.html
    Edited by: LC143 on Oct 27, 2008 9:21 AM

  • What is the benefit of configuring the XSS Homepage Framework for ESS

    What is the benefit of configuring the XSS Homepage Framework for ESS?
    Over using standard iViews.

    It means you can disable (or enable) the exact functionality your customer needs rather than sticking with the default implementation.
    Most customes do not use everything available from ESS or MSS.  Switching it off (making it unavailable) is WAY better than leaving potentially unconfigured content to be accessed by users.  SAP generally do not handle the error cases and you will get lots of nasty stack traces .....
    Haydn

  • ITSmobile service pass system/port/client dynamically in the URL

    Hi all,
        The ITSmobile service we have created redirects to another service in different server using ~redirectURL.
    so the ~redirectURL =  http://splhrd398.baplc.com:8005/sap/bc/gui/sap/its/zdemo_mobile?sap-client=150
    is there anyway to pass
    system : splhrd398.baplc.com ( This is the name of  the different server)
    port no: 8005
    sap-client=150
    dynamically in the URL.
    because when we transport the same to Testing and production. i need to know whether we have to do manually .
    If you have  any option to do  dynamically let me know.
    please throw some light,
    thanks  in advance
    Deepak

    Hi ,
    Create a technical system and bussienss system of type WEB AS ABAP and use this bussiness system for source system in XI and try it.
    Thanks & Regards,
    Sekhar

  • Homepage framework/Overview iView

    Hello All,
    I am using ESS 1.0.  The overview screen for ESS has various areas such as Personal Info, Benefits and Payments etc.
    If I want to have one set of users viewing Personal Info and benefits and payments and the second set of users only viewing personal info do I have to create multiple Overview iViews and do the necessary configure in the backend e.g. create numerous 'area group pages' in the homepage framework.
    Or is there a simpler way?
    Thanks,
    Nick.

    Nope...no simpler way. That's it. You can use "proxy services/classes" to show/hide services on an Area page dynamically, but when presenting different Areas in an Area Group, you are pretty much stuck making several "versions" of your ESS config. It is not daunting or difficult...just a bit tedious. I had one client with 6 different ESS Homepage Framework versions.....yes, that's how I got to know HF pretty well. haha

  • Problem LiveCycle Data Services with Parsley Framework

    Hi All,
    I have problem when using LiveCycle Data Services and Parsley framework.
    Here is my Dynamic command :
    public function execute(message:ServiceMsg):AsyncToken{
                                       return dataservice.fill(...);
    public function result(event:ResultEvent):void
         Alert.show ("run successful");
         // call another method
         xyz(); // this method take a long time (about 1 minutes)
    The problem here is the alert message not show until xyz() method finished. It's so odd behavior.
    Anybody can explain this problem.
    I'm using parsley 2.4.0
    Thanks,
    ndt

    Hi All,
    I have problem when using LiveCycle Data Services and Parsley framework.
    Here is my Dynamic command :
    public function execute(message:ServiceMsg):AsyncToken{
                                       return dataservice.fill(...);
    public function result(event:ResultEvent):void
         Alert.show ("run successful");
         // call another method
         xyz(); // this method take a long time (about 1 minutes)
    The problem here is the alert message not show until xyz() method finished. It's so odd behavior.
    Anybody can explain this problem.
    I'm using parsley 2.4.0
    Thanks,
    ndt

  • Open external URL from Homepage Framework

    Hi,
    We are building our new ESS functionality with Homepage Framework and I need to create some links to external URL. I would like them to open in a different window with no portal header at all. They should appear as services listed in the menu area. While this seems easy, I had tried several things with no success.
    First, I created an URL iview in portal content. I marked the option "launch in external window" to Open in a separate window.
    I create a resource that pointed to this Iview, and linked resource with a "java webdynpro" service, service with subarea and subarea with area. The service link is displayed correctly but it is always opened in the portal page, not in a different one.  Have i forgotten any parameter that would make this work?
    A second approach was to create a resource that includes the URL and an associated service, marked as "Direct URL launched in separate window".
    This succeds in calling the URL in a differeny window but it adds some strange parameters at the end. So instead of calling http://www.google.com it calls  something like http://www.google.com?sap-ext-sid=2J*HeTVW7295w3QWBZhQow--
    jQDfzgrDHRt*yZ87GlXsgA--%2Fpcd%3Aportal_content%2Fcom.bshg%2Fpct%2Fhcm%
    2FEURO%2FES%2FESS%2Froles%2Fcom.bshg.hcm.ess-es%2FESS%
    2Fcom.bshg.hcm.infoLinks%2Fsap.com%2Fpcui_gp%7Exssutils%2FXssMenuArea%
    2Fbase&sap-wd-arfc-useSys=SAP_R3_SelfServiceGenerics%3AHR0&sap-wd-
    cltwndid=WID1325147123879&sap-accessibility&sap-locale=es&sap-rtl&sap-
    epcm-guid=validate&sap-wd-renderMode=viewArea&sap-pp-
    consumerBaseURL=http%3A%2F%2Fu3d.bshg.com%3A80&sap-ep-
    version=7.0108.20110207041646.0000&sap-wd-tstamp=1325147150353&sap-
    cssversion=7.11.7.30.0&sap-pp-producerid=com.bshg.BSHG_HCM_EMEA&sap-wd-
    app-namespace=zzzz&sap-cssurl=http%3A%2F%2Fu3d.bshg.com%3A80%2Firj%
    2Fportalapps%2Fcom.sap.portal.design.urdesigndata%2Fthemes%2Fportal%
    2Fcustomer%2Fbsh%2Fur%2Fur_ie6.css%3F7.1.8.0.1&sap-wd-finish-
    rendering=false
    While some pages can ignore those extra parameters, in other cases, this causes a "page not found" error.
    Any ideas on how to solve this problem?
    Many thanks in advance to all.

    Hi Daniel,
    Define Resource: you have to mention all the below details
    1. object name :http:// (url ).
    2.window name: "".
    3.window Property : target="_blank".
    and also check define service:
    service type: Direct url launched in a seperate window.
    And assign resouce to service -
    >
    service to sub area--->
    sub area to area---->
    area to areagroup.
    hope it helps............,
    Thanks,
    cbr.

  • New ESS config - Homepage Framework (area group, etc) seems to be missing

    Hi,
    I am installing the new ESS 1.0 for ECC6 (ERP5).
    I succsessfully imported with SDM he new:
    ESS BP
    PCUI_GP
    I then created all systems in the portal and all JCo's.
    When I try and open Employee Self-Service (any pages) in the Portal I get the following error:
    Area group SAPDEFAULTESSERP2005 does not exist._
    It seems like the Homepage Framework has not been imported for some reason as there are no default area groups or anything else in homepage framework.
    Have I missed something? Is there something else I also had to import?
    Many thanks,
    Adriaan
    Edited by: Adriaan Van der Bank on Jun 23, 2008 11:40 AM

    Dear ,
    it seems that you are trying to use an ERP2005 ESS package with an
    ERP2004 backendsystem. Unfortuanetly this is not working.
    You can use
    ERP2004 - ECC5 - NW2004 - ESS 100 - ESS BP ERP2004
    or
    ERP2005 - ECC6 - NW2004s - ESS 600 - ESS1.0 BP ERP2005
    However it should be possible to connect the ESS 100 application which
    are running on a NW2004 to an EP7.
    Hope this should be helpful.
    Best Regards,
    Deepak...

  • HOMEPAGE FRAMEWORK

    Hi Experts,
    We are going to implement the HOMEPAGE FRAMEWORK in ESS and MSS business package. I am absolutely new to this, may I request to kindly send me the link where I can start reading from scrath on how this framework works and how to implement it.
    please help
    much Thanx
    //saurabh

    Hi Abhishek,
    A couple of questions more
    What is IMG ??
    What are the steps for it (as refered in the blog)??
    Where can I find more litreature on IMG ??
    Where can I find <b>XSS Homepage Framework for Employee Self-Service" by Sibylle Borhauer (Product Manager, SAP AG).</b>
    Br
    //Saurabh

  • Confirmation Link - IMG - Homepage Framework for ABAP WebDynrpo appl.

    Hi All
    I am working on Confirmation Link under the SPRO -> Cross-Application Components ->Homepage Framework ->Services->Define links on confirmation page
    This can be used to add a link to the confirmation page of the self-service application, my doubt is, is there any way to use this service for customized ABAP WebDynrpo application? i mean can we add a link to the ABAP WebDynrpo application, if yes how can i achieve this.
    Thanks and Regards
    Chaitanya.A

    Hi,
    I have created a custom web dynpro ABAP app to update a Z Infotype. I have also added it to  the ESS Personal Info area page and all works well. We want this application to work EXACTLY as other delivered ESS apps like address etc,, so we also want confirmation links on the confirmation page.
    I did go through SPRO through the path mentioned in the chain above and created an entry there ... but I have no CLUE as to how willl my web dynpro app use that information ... I am not too experienced with the Portal, just know how to create i-views, and add them to worksets and do a bit of customizing to make them appear on appropriate area page. Any help, or tutorial link or procedure to do this would be helpful. precisely i am confused on the following points:
    1. Do i need to add LinkToAction UI elements on the final view or not ?
    2. How does the portal come to know which view in my app is the final confirmation view.
    3. Do i need to code anything in the web dynpro app to read the customizing info and display the links?
    4. How does the location gets determined where the confirmation links will appear.
    I am for the time being using navigation links in my web dynpro abap application. But when I Navigate to a portal page, the portal desktop theme goes for a toss. So i want to see if confirmation links make any difference.
    Thanks in advance for any help.
    Rajat

  • Hiding the Mouse on Start of Movie

    Hello All,
    I have a flash program that runs on a PC that is connected to a TV. In case it helps at all, the PC is running OpenSuSE 12.1/KDE 4.
    The PC is acting as a kiosk like device where no user is actually sitting at the PC doing stuff. If we ever need to do anything with it
    we do it remotley using something like VNC or Remote Desktop or SSH, etc....
    So what happens is when the PC is powered on it boots up and automatically logs in the default user. Then I set Firefox to start
    automatically on boot and I set it's Homepage to the URL where the swf file lives (*which is located on another Server). Also, Firefox
    automatically goes into Fullscreen mode mode using the Firefox Plugin "Full Fulscreen".
    The issue is that, after the PC boots up and Firefox starts and the Flash movie begins playing, I can see the Mouse pointer sitting in the
    middle of the screen which does NOT go away. So I found some code online that will hide the mouse after 'n' seconds. But the problem
    is that when the Flash movie starts the mouse will NOT disappear after 'n' seconds. It is possible to get it to disappear, but in order to do
    so I would have to tap the mouse so that it moves even the slightest, then after it stops moving it then disappears after 'n' seconds...
    Since there really isn't any person who starts the movie manually, or since no one sitting in front of it with a mouse in their hand this won't
    do what I wanted it to do....
    Here is what I have so far in order to hide the mouse:
    // Added this line after testing the code below. But still didn't hide the pointer when the movie was started
    //Mouse.hide();                   // Hide the mouse automatically when started (*no time limit for this one)
    var timeLimit:int = 3;         // Integer to hold what the Time Limit will be
    // Add the EventListener for when the Mouse is moved:
    stage.addEventListener(MouseEvent.MOUSE_MOVE, onMove);
    // Create a Timer Object and multiply timeLimit by 1000 to get seconds:
    var timer:Timer = new Timer(timeLimit * 1000);
    // Add the EventListener for the Timer:
    timer.addEventListener(TimerEvent.TIMER, onInactiveMouse);
    // Function "onMove()":
    //        *This will show the Mouse, stop the timer, then restart the timer...
    function onMove(event:MouseEvent):void {
            trace("In onMove() --- Showing the Mouse Now...");
            Mouse.show();
            timer.stop();
            timer.start();
    // Function "onInactiveMouse()":
    //        *This will hide the Mouse when the TimeLimit has been reached...
    function onInactiveMouse(event:TimerEvent):void {
            trace("In onInactiveMouse() --- Hiding the Mouse Now...");
            Mouse.hide();
    So I guess my question is, is there a way to hide the mouse without a Human having to intervene and move the mouse pointer?
    Also, I don't know if it was just some weird thing that happens, but say the movie is up and I move the mouse so it then disappears after n seconds.
    Then the Frame changes and under where the mouse is hiding a TextField appears (*NOT an input TextField, just a Dynamic Text) suddenly the mouse
    reappears, but it appears as the text selection pointer (*i.e. the one that looks like an Upper-Case "i"). And it won't disappear unless I move the pointer
    again, Strange..!  I guess I could fix this by changing all my TextFields to be NOT selectable, but I was just curious if anyone else had experienced this?
    Anyway, any thoughts/suggestions would be greatly appreciated!
    Thanks in Advance,
    Matt

    I decided which way I'm going to go with this and it seems to be doing the trick
    I'm using this C/C++ program I found online, which I eneded up tweeking a little bit since it was a pretty old code so some things were
    a bit out dated like the libraries, and a few other things. It uses the "X11" library in order to access elements of the screen including input
    devices like the mouse and keyboard.
    You simply execute the command on the CLI and pass it an X and Y Coordinate. Then once executed it will simply move the mouse to those
    coordniates specified, and apparently emulate a Right-Click from the mouse. I'm not exactly sure if it will actually do the right-click, but for my
    purposes just moving the mouse ever so slightly will be enough to bring the Flash Movie inside Firefox into focus.
    I then created a simple Shell Script which will run on boot up and will sit in a loop checking if Firefox is running, if it is found running, then it waits
    about 10 seconds or so, then executes the "clickMouse" program and moves the mouse to the specified coordinates. I tested it once or twice
    and it seems to be doing the trick.
    Here is the uncompilied code for the C program:
         *Once compilied you execute the program and pass it an X and Y Coordinate like this -->   "./clickMouse 1000 500"
    #include <X11/Xlib.h>
    #include<stdio.h>
    #include<unistd.h>
    #include <stdlib.h>
    #include <string.h>
    #include <unistd.h>
    #include <X11/Xlib.h>
    #include <X11/Xutil.h>
    void mouseClick(int button)
        Display *display = XOpenDisplay(NULL);
        XEvent event;
        if(display == NULL)
            fprintf(stderr, "Errore nell'apertura del Display !!!\n");
            exit(EXIT_FAILURE);
        memset(&event, 0x00, sizeof(event));
        event.type = ButtonPress;
        event.xbutton.button = button;
        event.xbutton.same_screen = True;
        XQueryPointer(display, RootWindow(display, DefaultScreen(display)), &event.xbutton.root, &event.xbutton.window, &event.xbutton.x_root, &event.xbutton.y_root, &event.xbutton.x, &event.xbutton.y, &event.xbutton.state);
        event.xbutton.subwindow = event.xbutton.window;
        while(event.xbutton.subwindow)
            event.xbutton.window = event.xbutton.subwindow;
            XQueryPointer(display, event.xbutton.window, &event.xbutton.root, &event.xbutton.subwindow, &event.xbutton.x_root, &event.xbutton.y_root, &event.xbutton.x, &event.xbutton.y, &event.xbutton.state);
        if(XSendEvent(display, PointerWindow, True, 0xfff, &event) == 0) fprintf(stderr, "Error\n");
        XFlush(display);
        usleep(100000);
        event.type = ButtonRelease;
        event.xbutton.state = 0x100;
        if(XSendEvent(display, PointerWindow, True, 0xfff, &event) == 0) fprintf(stderr, "Error\n");
        XFlush(display);
        XCloseDisplay(display);
    int main(int argc,char * argv[])
         int i=0;
         int x , y;
         x=atoi(argv[1]);
         y=atoi(argv[2]);
         Display *display = XOpenDisplay(0)
         Window root = DefaultRootWindow(display);
         XWarpPointer(display, None, root, 0, 0, 0, 0, x, y);
         mouseClick(Button1);
         XFlush(display);
         XCloseDisplay(display);
         return 0;
    I'm not too proficient in C, a little bit more in C++, so I didn't realy change much from the original code except add a "main()" section to this one in order
    to execute the "mouseClick()" function.
    F.Y.I.
    I kept the Actionscript code for the Mouse.hide() stuff, so this C program works with the Mouse.hide() code...
    Thanks Again,
    Matt

Maybe you are looking for

  • How to schedule refresh query in webi?

    Dear Experts, I'm facing problem on how to set schedule refresh query and disable refresh function for End User in WEBI. The problem is that each time of refreshing query it'll take long time and I just don't want end user to endure this painful wait

  • MRP Put Purchase Requisition date one day before the Independant Req

    Hi Experts, There one  Independant Req per month dated the 1st day of the month.  When I run the MD02, the Purchase Requisition is placed the 1st day of the month. we do not maintain Planned delivery time. We would to have as Purchase Requisition dat

  • Error in excuting ant command

    Hi, As per JakartaStrutslive.pdf file, I did the changes & excuted as below, I got the following error. C:\strutsTutorial\WEB-INF\src>ant 'ant' is not recognized as an internal or external command, operable program or batch file. Can any one clear me

  • Flex with ACME installation of Coldfusion

    After a tremendously-difficult attempt (my own fault largely!) I have been able to get up the "ACME Guide" installation of Apache, ColdFusion, MySQL and Eclipse. Now it's time to add Flex (and hopefully PHP5 eventually...). I am in good shape at this

  • Oracle10g RAC with ASM for stretch cluster

    Assuming suitable network between sites is in place for RAC interconnect (e.g. dark fibre / DWDM), does it make sense (or is it possible) to stretch a RAC cluster across 2 sites, using ASM to mirror database files between SAN storage devices located