Search change depending on responsibility

Hi,
There is a search page which will be attached to two responsibilties, X User and X Superuser. The page has 5 search items of which one is Employee Name and has an LOV attached to it.
When the search page is invoked from X User reponsibilty, the LOV attached to Employee Name should only show the currently logged in employee so that only his/her data is visible. Moreover the selection of employee name in search page is not mandatory and so the search should fetch only the logged in employee data irrespective of whether Name field is populated or not.
But when the same page is invoked from superuser responsibility the LOV attached to Employee Name LOV should show all the employees.
Thanks,
Mitiksha

Mitiksha,
What Sumeet has suggested should work. I remember implemention something similar for one of my codes.
--Shiv                                                                                                                                                                                                                                                       

Similar Messages

  • What is the icon on the far right that looks like a circle and has a small number that changes depending on the website page? in the bottom right edge of

    I am wondering what this thing is.
    It is an icon located on the far right of the page next to the search toolbar. It is shaped like a circle with a number on the bottom right edge. The number changes depending on which tab I have opened. An empty tab has no number. This page results in a 1. I have another page open which results in a 4. The number shows white in a small orange box. The circle is outlined with a thick black line. What does this icon indicate?
    Thank you.
    John

    Hi John, I'm guessing that icon is created and updated by an extension. I'm not sure which one, though. Maybe something that is tracking the trackers, like Lightbeam? Have you tried hovering your mouse over the icon to see whether a tooltip appears, or clicking it?

  • Search button is non responsive in Safari and no pop up window appearing

    When trying to search for a product in a page on safari, when trying to press the search button is non responsive.
    Before the iOS7 update I would press the search button and a pop up window would appear.
    This no longer happens, any help with this would be fanatstic - Thank you

    Hi Joerg
    did you see NWBC Web GRC v10 WSOD
    The comments in there imply it's an issue with IE8. Have you been able to try a different browser? There is a reference to specific IE8 note
    Regards
    Colleen

  • Question for scripting gurus: GREP search, change case make Smallcaps

    I have no knowledge of scripting at all, but this question keeps coming up during training sessions: is it possible to (java)script this:
    - Do a GREP search \u\u+
    - Change case to lowercase
    - Apply SmallCaps (or: apply character style)
    this would allow to search for acronyms and change them to smallcaps (or, even better: apply a character style with small caps and tracking)
    I know it is easy for OpenType smallcaps (do a GREP search, change to OT smallcaps) but this doesn't really change case. And some fonts used aren't OT.
    Anyone?
    Would be VERY apreciated!!

    But Harbs is a seasoned scripter who knows he'll get flamed if one of his scripts "just does not work" ;)
    Well, now that you mention it, the script is not really foolproof. It's a quick and dirty script which I threw together very quickly. It's missing any error checking, some of the variables global, and it's not in a private namespace. These are all things which could cause it to "just not work" ;-)
    Here's a more foolproof construct... (and it'll work on the current story if selected, or the whole document if there's no story selected) It will create a new character style if one does not exist and work on character styles within style groups as well. I wrapped the whole script in an anonymous function to give it a unique namespace as well.
    (function()
    if(app.documents.length==0){return}
    var doc=app.documents[0];
    // Change the following to your style name!
    var character_style_name = 'Small Caps';
    try{var range = app.selection[0].parentStory}
    catch (err){var range = doc}
    //comment out next line if you do not want styles.
    var charStyle = GetCharacterStyle(character_style_name,doc);
    app.findGrepPreferences = null;
    app.findGrepPreferences.findWhat="\\u\\u+";
    var finds=range.findGrep();
    for (var i=0;i<finds.length;i++){
    finds[i].changecase(ChangecaseMode.lowercase);
    //comment out next line if you do not want styles.
    finds[i].applyCharacterStyle (charStyle)
    //uncomment next line if you do not want styles.
    //finds[i].capitalization=Capitalization.smallCaps;
    function GetCharacterStyle(styleName,doc){
    var charStyles=doc.allCharacterStyles;
    for(var i=0;i<charStyles.length;i++){
      if(charStyles[i].name==styleName){
       return charStyles[i];
    return doc.characterStyles.add({name:styleName,capitalization:Capitalization.smallCaps});

  • Numeric format changes depending on Driver Version

    Scenario: JAVA application accessing Oracle 8.1.6 with last Oracle 9.2.0 JDBC Driver (classes12.zip) JDK1.3.
    We have found numeric format changes using old oracle.zip and new classes12.zip.
    With oracle.zip value 0.346 is returned
    With classes12.zip value .346 is returned.
    Why the format change depending on the driver version?
    Is the new format the right one?
    Many thanks.

    If you're working in CMYK, "softproof" your colors by choosing View->Overprint Preview. Note the keyboard shortcut
    If you're working in RGB, make sure the Creative Suite color management is synced. This is done through Bridge. May I suggest looking that up in Adobe Help.

  • DropDownByKey display changes depending in the number of records

    Hello,
    I've noticed that the UI component dropdownbyKey change depending in the number of items it has, with few records it appears like a normal dropdown box and with a huge amounts of records it appears like a combobox (table). This is a great feature.
    However, I want to know the cause of this? What is the limit of records that causes this behaviour. It's possible to assign the way I want to display it?
    Regards
    SU

    hi soauniverse ,
                                  For what huge amount of records you are able to see the drop by key like a  combo box (table)...... like what is the numerical value of the huge amount , that behaviour u r able to see .
    if the values are less than 30 then we go for svs , for values more than 30 and less than 300 we use EVS and for value or record more than 300 we go for OVS .
    if you have done svs code for a feild and bind that value to the DD by key it remains to be normal Drop down by key and if the same field is bound to an input feild then the EVS will come .
    so what have you done can i know in detail please .....
    Please paste the scree shot of the UI (that is the combo box) .......

  • Volume Drop Problem (changes depending on how held)

    The speaker volume on my iPhone changes depending on how it's being held. I surely hope this isn't considered a "feature". Held at a diagonal angle tilted backward, the volume drops considerably. It seems to play normal only when fully flat, or vertical.
    Anyone else have this problem also? I'm considering exchanging it for another.

    Don't you think it might just be a little useful to know what normally happens? I mean, you do realize that some phones sound silent when you tilt them a mm, while other phones sound almost the same no matter where you hold them. You do get that the difference in volume for the iPhone speakerphone when placed on a solid surface is much more dramatic than the changes in volume most other phones have due to placement, thus it's not something everybody thinks of right away.
    Nobody tried to tell you that the sound waves were effected by gravity and the phone would be louder if you held it over your head right?
    Read the first post again and think about it; 'speaker' refers to any sound emitting device like the 'headset', 'earpiece', or 'speakerphone speaker'...which you might even call the 'speaker speaker' or just 'speaker', regardless of how you define the parts; other people toss around the terms as if they are interchangeable. The post just says speaker.
    If you are so bright then why are you asking a question at all? You know that if you move your body and the phone at the same time the volume shouldn't change. I mean..sure gravity does make the soundwaves drop quicker and all that so when you walk up an angled driveway the phone needs to adjust the volume, but that's only a little bit...not 'considerably' right?
    Let's think for a second (or less for some of us). First, 'I was concerned some engineer mightve mistakenly thought of this as some cockamami "feature"'. Know what? It's a good idea. I wouldn't half mind a phone that could adjust the volume when I moved it to or from my ear or body. Seamlessly changing from the EARPIECE to the SPEAKER would be a great thing too. Things like switching from the bluetooth HEADSET to the SPEAKER are nice touches. I think you have an advanced model or a special feature.
    It's also a little difficult for people to know how much your phone changes in volume when they can't hear it. It's not like there's a recording or some empirical data like 'hey, when I tilt my phone at a 45 degree angle it drops 20 decibels'.
    As to 'reflected acoustics?!?!', I think the post starts with "speaker volume" and continues to 'when fully flat, or vertical'. Fully flat sounds like your phone is sitting on a table, shelf, or the floor and since I don't put my phone on a block then lay down on the floor with my ear above it to make a call I think the description sounds more like the speakerphone portion than the ear 'speaker'. Stating what the SPEAKER should do when normally performing in answer to a question should be considered informative and useful because : If you knew what the speaker was supposed to do you would not have asked.
    Yeah, you never know who is using an iPhone or posting in the forums, but it doesn't take very long to read through the posts and find the information you want when you post a clear question in the first place.
    I don't consider my phone a derogatory TLA, but if that's what you think of the product then I hope you enjoy your old phone.
    Don't let the bass fall on your foot on the way out.

  • Search changed from Google to Ask. How do I get Google back?

    Search changed from Google to Ask. How do I get Goggle back?
    Thanks
    Ralph

    Greetings
    I am not up on the terminology. The second line on my screen has the forward and back arrows followed by "Go to a web Site" in a box followed by a second box that used to read Google but now reads Ask.com. I want to change this back to Google.
    Thanks
    Ralph

  • The default search changed to google but still shows yahoo results

    The default search changed to google but even after re-starting the m/c the search returns yahoo results..

    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem.
    *Switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance
    *Do NOT click the Reset button on the Safe Mode start window
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes
    If you do not keep changes after a restart or otherwise have problems with preferences, see:
    *http://kb.mozillazine.org/Preferences_not_saved

  • Can you change Siri's responses?

    Can you change Siri's responses?  Say you want her to say "Carrie is gorgeous", can you do that?

    I'm affraid you can't. You could send yourself a message saying that, and ask Siri to read out the last message

  • SAPs notes search "indeterministic" - depending on the webserver...

    I noticed some strange things going on at http://service.sap.com/notes:
    The loadbalancer assigns you to a websmpXYZ webserver. Depending on which server you get, you will get different results for your search.
    Example:
    http://websmp102.sap-ag.de
    enter "Linux" as search term and press search
    --> 1877 results
    --> newest notes from 25th of july
    now change the URL in the browser to
    http://websmp202.sap-ag.de (press enter)
    enter "Linux" as search term and press search
    --> 1214 results
    --> newest notes from august 1st
    It seems to be that the websmp2xx series of webserver have the newest index whereas the websmp1xx have an old index.
    This was driving me nuts since I was searching for a note I saw yesterday and tried to find it today - without luck...
    Has anyone noticed something likewise?
    Markus
    PS: OSS call is already opened (607627/2008)

    I didn´t notice that on SDN...
    SMP has some more strangeness. Our BI system was always accessible from the OSS, just no more today. The /system-data application has a wrong IP addresse. If I change it and save, I cuts the last digit of the first part of the IP addresse. Even if I send the system data through Solution Manager it´s cut.
    Strange things happening over there...
    Markus

  • ALV Table - Different Search Help depending on Cell

    Hey you experts,
    For my current project I'm working on an editable ALV Table. The table has three columns and shall contain:
    1) The name
    2) The Old value
    3) The New Value
    of an item.
    The name of the item is known (e.g. Product Category, Accounting Type and so on).
    The main problem: I have/want to offer search-help to the user in the second and third column depending on the content of the first cell ==> The search help can of course differ in several rows. Example:
    NAME         OLD-VALUE         NEW-VALUE
    P.Category     Computer           Notebook
    Acc.Type.       A                            B
    The Computer field, shall have a search-help for a differnt data-type (DDIC help) than the A/B types.
    Is this possible? There should be a kind of "On-Open-F4-Help" event in which i can adjust the F4 help, which shall be used depending on the currently selected cell.
    Thanks for any help,
    greetings,
    Timo Stark

    Hey Sam,
    Yes I was able to achieve it. Create a collective search help, which includes all relevant data-elements.
    Create a search hel exit.
    Use the following code:
      IF CALLCONTROL-STEP <> 'SELONE' AND
         CALLCONTROL-STEP <> 'SELECT' AND
         " AND SO ON
         CALLCONTROL-STEP <> 'DISP'.
         EXIT.
      ENDIF.
    * STEP SELONE  (Select one of the elementary searchhelps)
    * This step is only called for collective searchhelps. It may be used
    * to reduce the amount of elementary searchhelps given in SHLP_TAB.
    * The compound searchhelp is given in SHLP.
    * If you do not change CALLCONTROL-STEP, the next step is the
    * dialog, to select one of the elementary searchhelps.
    * If you want to skip this dialog, you have to return the selected
    * elementary searchhelp in SHLP and to change CALLCONTROL-STEP to
    * either to 'PRESEL' or to 'SELECT'.
      DATA: lv_line LIKE LINE OF SHLP_TAB,
            lv_line_tmp LIKE LINE OF SHLP_TAB.
      DATA lv_current_context_element TYPE REF TO IF_WD_CONTEXT_ELEMENT.
      DATA lv_parent_data TYPE /SIE/SRM_FYC_CHANGE.
      DATA:lv_current_node TYPE REF TO IF_WD_CONTEXT_NODE,
           lv_index TYPE i.
      IF CALLCONTROL-STEP = 'SELONE'.
        lv_current_context_element = CL_WDR_VALUE_HELP_HANDLER=>M_CONTEXT_ELEMENT.
        lv_current_node = lv_current_context_element->get_node( ).
        lv_index = lv_current_context_element->get_index( ).
        lv_current_node->get_static_attributes( exporting index = lv_index importing static_attributes = lv_parent_data ).
        "switch over parent data..
        CASE lv_parent_data-type.
          WHEN 10.
            "cost center
            lv_line-SHLPNAME = 'BBP_F4_COST_CTR'.
          WHEN 3.
            lv_line-SHLPNAME = 'COM_CAT'.
          WHEN OTHERS.
            lv_line-SHLPNAME = ''.
            callcontrol-step = 'EXIT'.
            EXIT.
         ENDCASE.
         LOOP AT shlp_tab INTO lv_line_tmp.
            IF lv_line_tmp-shlpname <> lv_line-shlpname.
              DELETE TABLE shlp_tab FROM lv_line_tmp.
              CONTINUE.
            ENDIF.
         ENDLOOP.
         callcontrol-step = 'PRESEL'.
        EXIT.
      ENDIF.
    * STEP PRESEL  (Enter selection conditions)
    * This step allows you, to influence the selection conditions either
    * before they are displayed or in order to skip the dialog completely.
    * If you want to skip the dialog, you should change CALLCONTROL-STEP
    * to 'SELECT'.
    * Normaly only SHLP-SELOPT should be changed in this step.
      IF CALLCONTROL-STEP = 'PRESEL'.
    *   PERFORM PRESEL ..........
        EXIT.
      ENDIF.
    * STEP SELECT    (Select values)
    * This step may be used to overtake the data selection completely.
    * To skip the standard seletion, you should return 'DISP' as following
    * step in CALLCONTROL-STEP.
    * Normally RECORD_TAB should be filled after this step.
    * Standard function module F4UT_RESULTS_MAP may be very helpfull in this
    * step.
      IF CALLCONTROL-STEP = 'SELECT'.
    *   PERFORM STEP_SELECT TABLES RECORD_TAB SHLP_TAB
    *                       CHANGING SHLP CALLCONTROL RC.
    *   IF RC = 0.
    *     CALLCONTROL-STEP = 'DISP'.
    *   ELSE.
    *     CALLCONTROL-STEP = 'EXIT'.
    *   ENDIF.
        EXIT. "Don't process STEP DISP additionally in this call.
      ENDIF.
    * STEP DISP     (Display values)
    * This step is called, before the selected data is displayed.
    * You can e.g. modify or reduce the data in RECORD_TAB
    * according to the users authority.
    * If you want to get the standard display dialog afterwards, you
    * should not change CALLCONTROL-STEP.
    * If you want to overtake the dialog on you own, you must return
    * the following values in CALLCONTROL-STEP:
    * - "RETURN" if one line was selected. The selected line must be
    *   the only record left in RECORD_TAB. The corresponding fields of
    *   this line are entered into the screen.
    * - "EXIT" if the values request should be aborted
    * - "PRESEL" if you want to return to the selection dialog
    * Standard function modules F4UT_PARAMETER_VALUE_GET and
    * F4UT_PARAMETER_RESULTS_PUT may be very helpfull in this step.
      IF CALLCONTROL-STEP = 'DISP'.
    *   PERFORM AUTHORITY_CHECK TABLES RECORD_TAB SHLP_TAB
    *                           CHANGING SHLP CALLCONTROL.
        EXIT.
      ENDIF.
    greetings

  • SharePoint 2013 Foundation Search - Change the admin components to the new WFE server

    Hi,
    We tried to move the Search Service Application from one server to another server which was newly joined in the Farm.
    In this case,the Search Service in my App server - which was working earlier also did not work. I tried almost all Powershell scripts to stop the service, and i could not make it.
    Please let me know, how to stop the search service in both servers and to run only in the new server that i have joined.
    Also, we need to move all Search Admin components to the new server, and from then Search Index should work only in the new server and not the old one.
    Kindly let me know the possibility how can this be achieved. 
    Thanks in Advance!

    Hi Karthikanandh,
    If you want to stop the Search service in both servers and only run in the new server, then you can stop the service in Central Administration in both the two servers and start the service in new server.
    Please go to Central Administration > System Settings > Manage service on server > change the server to the one that you need to stop the search service and then stop the search service.
    To move the search admin component to another server, then you need to clone the active Search topology and move that component, and then then activate the topology and move the remaining components.
    http://sharepoint.rackspace.com/sharepoint-2013-search-administration-tutorial
    http://blogs.technet.com/b/pfelatam/archive/2013/05/10/create-a-search-topology-in-sharepoint-2013.aspx
    http://technet.microsoft.com/en-us/library/jj862354.aspx#Search_Comp_Clone
    Best regards.
    Thanks
    Victoria Xia
    TechNet Community Support

  • When clicked on Yahoo weather icon, Safari default search changes to Yahoo search. Would there be a fix for this?

    Hi Apple,
       When I click on the Yahoo icon on weather app, it takes to safari as expected, but it changes the search engine to Yahoo (i have to go back to settings and change the search back to google). This for me is a usability issue. Do you have this issue in pipeline to be fixed?
    Thanks,
    Aditya

    I'm not getting that behaviour at all.  It looks a bit like it's changed to Yahoo because you get a Yahoo search box in the webpage and it says "Yahoo search results..." at the top, but the search box within Safari is still Google.

  • Fixed amount condition changes depending on GR qty

    Dear Experts,
    Fixed amout condition is added in the Item - condition tab.  Fixed value = $50.
    Created PO for 100 qty with price per EA = 10.  So, we expect the Invoice value to be 1000+50 = $1050.
    But we did GR for 200 Qty.   Since the condition type is fixed amount, we expected the delivery cost to be still $50 and total value  to be 200 X10+50 = $2050
    But, SAP calculations were different from what we expected.  The fixed amout was changed as per the GR qty. and the PO total becomes $2100 (Fixed amount changed to 100 since GR qty = 2000)
    Why the fixed amount doesnot remain fixed?  How come the fixed amount increase depending on GR quantity?
    Please suggest if there is any settings?
    My confition type (ZFB3 has calc. type = B fixed).
    Regards,
    Shashidhar

    we have not implemented any programmed solution, we are just doing unplanned delivery costs.
    Business had a strong request during the project, I found this note, and even had a consultant from SAP directly on side regarding this issue, but we did not find a satisfying solution.
    And the more you think about this issue and talk with the users about the possible variations that can happen, which have to be covered in a program, the more you will find out that it is not possible to make this happen.
    Just think about the situation that the receiver posts a goods receipt in single portions because of different batches.
    (always keep in mind, that the receivers often are just warehouse workers, not having the advanced SAP skills of a consultant. So they might do the work different from your expectations). How shall SAP act, shall the fix amount go to each partial receipt?  What shall happen if he entered a wrong quantity?  you know that you can cancel the whole material document, but it is as well possible to just post the differnce quantity with 102 movement. How shall this be done with fix conditions.
    You may find a solution   that works specially for your company,
    but a general way is hard to find.

Maybe you are looking for

  • While creating PO getting an error &message number 06 ,249

    We are creating  3rd party sale order,from sale order system creates Purchase requisation ,and by referencing this PR   we want to create multple POs  but after creating One PO with partial qty , but for 2nd PO i am refrencing same PR it is giving er

  • Application server file path name separated by apace

    Hi All, I am writing files on application server. Below is my fie path. parameters: p_o_file  like rlgrap-filename default   '/xxx/tmp/app/outbound/1~lcxxxx~ACTUAL~periodfyyear~RR.txt'. data : mnthyear(12) type c,          year(6) type c. case p_rpma

  • Hostchecker is not installed properly

    If your Juniper Software is not working on Local Machine While trying to connect to Client Environment. So Just follow following things. Option 1:- Tools Internet Option**  Advanced  Click on 'Reset' Check in box 'Delete Personal Setting'  Clic

  • Ubuntu: no screen display

    I have recently been subjected to a nice friendly hard drive wiping by my eMac, and i have no mac OS X disk, so i thought I'd get ubuntu on it until i can afford OS X again. having downloaded the PPC iso and burned it onto my disk, i booted it , and

  • ChaRM scenario for only one productive system

    Hi CHaRM-experts! I would like to know whether or not is it possible to use the Change Request Management scenarion for only one productive system? It means we have systems and cases where we should apply the emergency correction only in productive s