Can I filter search by authorisation group?

We have 5 sales orgs e.g. Z001, Z002, Z003, Z004, Z005. Each employee belongs to one sales org only. When the user searches on accounts I want to filter the search by the sales org the employee belongs to.
To test this I maintained the business partners and assigned the authorisation group Z001 to 5 of our customers in one sales org. I have also assigned the authorisation group Z002 to 5 of our customers in another sales org that I do not want displayed. For others I have left empty. I did this because it is not a practical solution for us to maintain an authorization group for every customer.
In transaction PFCG I have maintained the authorization group B_BUPA_GRP with the entry Z001 as this is the sales org I want displayed for this role.
When I search for the customers (with no search criteria) it does not appear to do any filtering at all as more than 5 records were found, which is not correct.
When I run the trace (ST01) I find that for the 5 customers that have the authorization group Z001, it is allowed. This is correct. For the 5 customers with authorization group Z002, it is not allowed. This is correct. However for the customers without any authorisation group assigned it is allowed. This is not correct.
How is it possible to not display customers without an authorisation group?
Regards
Declan

Well Declan..you have to note this thing before going for this solution.
The field you want to add as a hidden search parameter , should not be available on UI.
Otherwise controlling the user will be very difficult.(Nevertheless, you can achieve it, but have to take lot of pains.)
For example if you want to display partners belonging to a particular country say 'US',then add a record to GT_HIDDEN_PARAMETERS.
DATA: ls_params   TYPE genilt_selection_parameter.
    ls_params-attr_name = 'COUNTRY'.
    ls_params-sign      = 'I'.
    ls_params-option    = 'EQ'.
    ls_params-low      = 'US'.
    APPEND ls_params TO gt_hidden_parameters.
Implement this code in EH_ONSEARCH and then call super class. Standard code by default reads this gt_hidden_parameters.
This is proprietary to BP_HEAD_SEARCH Component. If you have to implement this for some other componet then you should create an attribute gt_hidden_parameters and then read this internal table manually and manipulate the search criteria as is being done in standard code of method EH_ONSEARCH of BP_HEAD_SEARCH/SearchHelp.
As I mentioned earlier COUNTRY attribute should not be available on UI.
If Country was  available on UI, then imagine a case if user enters 'UK' as country and you have hard-coded inside to get only 'US'
Then the result list have partners of 'US' despite user entering 'UK'. I mean to say the hidden parameters should not be available on UI.
This way you can any valid hidden attributes by looking at the search object of the serach page in Model Browser.
Cheers,
Masood Imrani S.

Similar Messages

  • Can you filter/search images before importing them?

    Is there a way to filter images before importing them in Lightroom?
    Scenario
    I work with an extensive image collection stored on a server. The images contain a full set of metadata, including keywords and more. When I work on a specific project, I import the images into a Lightroom collection. That way I can easily review, rate and add additional keywords to those best-of images.
    The challenge is that the images I want to add are from numerous folders. Plus, I often only want to add some images from those folders (not the entire folder). This collection process can be very time consuming -- manually locating the images and checking/unchecking the ones I want and repeating the process for the different folders the images reside in.
    The process could be greatly simplified (and a lot faster) if I could filter/search for images that contain key words or other metadata to find the full set of images I want to import.
    The key is that I’m not using a workflow to simply import all images from a memory card or download folder. I’m working from a large collection of existing images and want to import a subset of those images.
    Thanks in advance.

    No, you cannot filter or search images before importing them.
    But immediatley after import the images are automatically displayed in <Previous Import>.
    They will be displayed there until you import another set of images.
    While displayed in <Previous Import> they can be searched and filtered.

  • How can I filter to find photos NOT pinned to a map? I have 28,000 phots with many mapped and many not. The Search function does not include GPS data. I haven't found  way to search metadata inside or out of Elements.

    How can I filter to find photos NOT pinned to a map? I have 28,000 phots with many mapped and many not. The Search function does not include GPS data. I haven't found  way to search metadata inside or out of Elements.

    How can I filter to find photos NOT pinned to a map? I have 28,000 phots with many mapped and many not. The Search function does not include GPS data. I haven't found  way to search metadata inside or out of Elements.

  • Can you filter iTunes search results by video or audio podcasts?

    I have been searching for hours and haven't found a definite answer. Anyone know if this is possible?
    Can you filter iTunes search results by video or audio podcasts?

    I'm having the same problem. I go to Podcasts/Video Podcasts/News and they only give the featured, favorites (whose?), etc. I want to see all video news podcasts but if I then click on see all, it drops the video classification and shows all news podcasts. The iTunes search in general leaves a lot to be desired; its not very intuitive or pleasant to use, not the usual Apple experience.

  • Can I Change SEARCH to default as LIST view rather than GROUPS view?

    Can I Change SEARCH to default as LIST view rather than GROUPS view?
    I always end up doing a command+2 and if I can default this it would be better.
    THANKS

    Perform a search, click on the List View icon in the Finder window's toolbar, press COMMAND-J to open the View Options dialog, check the box labeled "Always open in list view."

  • Why can't I search/filter on display names?

    See Question. Yes, it's 'display names', so I guess you can only see them on the display while thunderbird pretends to not know them really.
    Still this is a less useful non-feature which annoys me a lot.

    Display name:
    is useful in identifying emails from specific people like family and friends.
    It is more informal.
    The shortened format means the 'From' column header does not need to be so wide - especially if these emails have been filtered to suitable folders.
    for example: it is more user friendly to see FROM Mum instead of the long email address and many peopke do not always send emails showing their name.
    However, like many things, you are not obligued to use it in the contact properties.
    Regarding searching:
    It depends upon how you are doing it. there are different search methods and each will search in a slightly different way.
    If using 'Quick Filter Bar' then it does not search on Display name as those options are not available. It searches on Sender , Recipient, Subject and Body. But if the display name happens to be used in the body content then it will display.
    If using global search then it does search on a display name.
    Enter the display name in the search eg: Mum and select the Mum and email address option from the drop down offered.
    It will show display name and email address, so you can select the search parameters.
    If using this method:
    Edit > Find > Search messages
    This method searches on specific fields/headers and therefore will not search on a display name.
    So I would recommend you try using the global search option if searching by a specific display name.

  • Recorset filter by url then group by

    I have a search results page that get its information via a
    complex form then their is a more details page which is filtered by
    the url i want to put another record set on the page which pick up
    the info from the URl but then sort the information from a feild
    which contains codes i want to select only part of the code ie
    first 3 digits of the code.
    i am using dreamweaver 8
    this is the code from the dreamweaver panel if i fillet them
    seprately they work but together i get no data can any give me a
    clue on how to filter by url then group by field if contains "text"
    SELECT *
    FROM all1
    WHERE product_name = 'MMColParam' AND product_id LIKE
    'testVariable'
    variables
    MMColParam 1 Request.QueryString("product_name")
    testVariable "%thr%" testVariable

    thanks !
    my URL call a template, so, is this the good url ? :
    <SAP_BW_URL ITEM='*TPL*' MULTI='X' HIDDEN='X' FILTER_NODE_IOBJNM_1='ZIS_PDT' FILTER_VALUE_1='C' CMD_1='ITEM=*TPL1*&MULTI=X&HIDDEN='>
    or did i must put it in the CMD like this ? :
    <SAP_BW_URL ITEM='*TPL*' MULTI='X' HIDDEN='X' CMD_1='ITEM=*TPL1*&MULTI=X&HIDDEN=&FILTER_NODE_IOBJNM_1='ZIS_PDT'&FILTER_VALUE_1='C''>
    another question,
    in my query, did the characteristic must be in "free characteristic" or in "filter" or nowhere ???
    thanks a lot

  • Authorisation group

    hai,
    what is actually called authorisation group and how close open postinf period.

    HI Dear ,
    The authorization group is to restricted users, if you want to block the users to post documents it will be helpful to you.
    In OB52 u find two periods i.e, a)From Period 1 b)From period 2 and the last column Auth Grp.
    For example: If u want to restrict other users to post in period 1 then In From Period 1 range u can enter the period 1 to 1 to which u want to restrict the user & In From period 2 u can give the periods 2 to 2 which can be open to all users. Give  any 4 characters in the Auth Grp field and ask your basis team to assign the same to your profile with user.
    This make you to post the entries in both 1 & 2 period and leaving all other users to post only in period 2.
    Please assign points..
    Regards,
    SANDEEP

  • Can I filter the table being profiled in the Data Profiling task, or know of a work around? SSIS2008r2

    Hi,
    I import several files into a staging table.  Inside a foreach loop, after the data flow task I have a Data Profiling task that profiles the table so we can give feedback to those who sent us the file.
    I just relalized that after the first loop, there is more than one file in the staging table, hence more than one file is being profiled.
    At first glance it doesnt appear I can add a "Where" clause to the table.  I do have a column that states which file the data came from, but with only being able to profile a view or table, I can't filter.
    Anyone have any ideas?
    Mike

    Catching outliers seeing how much of what kind of data exist, deviations, distribution, you get some sort of a historgram in essence with the Data Profiling.
    It is normally a preamble to doing data ingress (or egress) into a new target.
    Now patterns are in Fuzzy Lookups/matching or grouping. Having RegEx used is hard in SSIS! I admit, I proposed to have it included into SSIS VNext. I remember there was a component or two on CodePlex:
    http://ssisctc.codeplex.com/ see if any makes sense, I recall I tried one just out for fun.
    Arthur My Blog

  • How to create a custom search portlet that groups results by category

    Hello,
    Is it possible to create a custom search portlet whose search results are displayed on a page grouped by Category? Basically the results page should have Category heading followed by search results.
    I realize this is not canned functionality but any ideas on how to accomplish this using PLSQL APIs is also welcome.
    Thanks.

    hi,
    one workaround i could think of is using the CM views to search for content that belongs to a category and display it in a custom way.
    http://www.oracle.com/technology/products/ias/portal/html/plsqldoc/pldoc904/wwsbr_api_view.html
    this only allows you to search for the meta-data available in the CM views but not the content of an item that is available when doing a search.
    in the next major portal release we will have a publich search API that can be used for these type of requirements. you can execute your search and format the results in the way you want.
    regards,
    christian

  • How can I filter a table from Data Control without enter query

    I have a table from a web service data control based on WSDL.
    I want to filter the table without input query at filter text box. Without filter text box, each would filter the table with a hardcoded query internally.
    For example, when user click A menu button then it filters the table where type = '1' and B menu button filters the table by type='2' and C menu button filters the table by type=' ' .
    How can I filter the table without enter query?
    Could anyone point me to a solution please.
    Thanks.
    jdev 11.1.5
    Edited by: 893364 on Oct 26, 2011 12:15 PM
    Edited by: 893364 on Oct 26, 2011 12:21 PM

    Hi,
    when you created the table, did you try selecting the "filter" option. Select the table and go to the Property Inspctor. In the tool bar of the Property Inspector there is an icon to change the configuration. Its adding filter filter fields for the user to search in.
    Option 2: The data of the Web Service actually is held in the iterators. If you wanted to filter the WebService query, I would not use the WS DC but a JAX-WS proxy in a POJO to fetch the WS Data. Then have the Data Control created from the POJO. You could have a method exposed on the POJO that allows you to filter the internally held data
    Frank

  • How can I filter facebook widget feeds ?

    hello everybody
    I've started using social widget on my nokia C7, it's really nice. I want to set the widget to render updates from specific network / friend list  as I am a member in a lot of pages and have more than 400 friend. So whenever I connect to the internet I get flooded by a lot of unimportant updates and the important ones are lost in this crowd
    may someone tell me how can I filter updates ?
    Thanks

    Hi flegno,
    Depending on which version that Firefox is on, currently in the Simulator is looks like there is only a way to pin the apps that result in a searched category. Searching for people in contacts who have a particular app installed does not seem to be an option? However I cannot know for sure.
    Can you give another example on what you are looking for everything.me to do?

  • FAQ: Can I filter the photos to show just those taken by someone, or liked, or commented on?

    FAQ: Can I filter the photos to show just those taken by someone, or liked, or commented on?
    Answer:
    Yes, GroupPix can show you just subsets of photos at a time.
    To see just the photos from a particular person,
    iOS: go into full screen view for a photo, then tap that person's name; you will see a grid showing only those photos contributed by that person.
    Android: go into an event, select the menu under the Event name, and tap 'Photographer' to show a list of contributors to an event. Tap a person to see their photos.
    To see photos that are liked or have comments, tap the Filter button in the upper-left of the screen. Then, choose just Liked Photos or Commented Photos.
    Tap the back arrow to return to full the Group Album.

    FAQ: Can I filter the photos to show just those taken by someone, or liked, or commented on?
    Answer:
    Yes, GroupPix can show you just subsets of photos at a time.
    To see just the photos from a particular person,
    iOS: go into full screen view for a photo, then tap that person's name; you will see a grid showing only those photos contributed by that person.
    Android: go into an event, select the menu under the Event name, and tap 'Photographer' to show a list of contributors to an event. Tap a person to see their photos.
    To see photos that are liked or have comments, tap the Filter button in the upper-left of the screen. Then, choose just Liked Photos or Commented Photos.
    Tap the back arrow to return to full the Group Album.

  • How can I filter or block foreign language emails or email addresses

    How can I filter or block foreign language emails or email addresses??
    TIA
    C

    Most email clients have a provision to create a 'rule'. The rule examines the email as it is received. In generally you can search for specifically senders, recipients,subjects, or specific content words in the body. Based upon the findings of the rule, you can do something with the email (such as end it directly to the Trash).
    For example if you know where all of valid you emails come from, you can create a rule that checks the from field for an acceptable sender and sends those email's that to the inbox, while sending all emails from other senders to the trash or spam folder
    Keeping out foreign language emails is often difficult because because often it is difficult to come up with a rule that will catch them on the basis of language they are written in.
    There are also commercial products that can scan incoming email and 'score' the email based upon content, and you decide at what 'score'  you want the mail sent straight to the trash or spam folder. Verizon's spam filter does this based upon Verizon's scoring system, and actually does catch a lot of spam. It also occaisonally catches things that are not spam however....
    Hope that is helpful

  • User Search in a Group

    <p><br>i am using shared services system 9.2<br>i have 200 users in a group. i am wondering whether there is a wayto search for a particular user<br>in a group, as we do search in native user directory/NT userdirectory.<br><br>thanks and regards<br><br>--------------<br>[email protected]</p>

    <p>Yes, we can search for a user in a perticular group in SS.</p><p>First search for appropriate group, double click on th group andthat will open a new window.</p><p>Which has 3 tabs. go to last tab for searching a perticularuser. Just type starting 2-3 letter and a star it will bring youthe user in that group</p><p> </p><p>Eg: pra*</p><p> </p><p>HTH</p><p>Jagan</p><p> </p>

Maybe you are looking for