How to make Custom Discoverer workbook use Custom Security profile of Apps

We use Discoverer in Oracle Apps setup. We have added Custom security in our HR People Form of Apps.
This Custom Security restricts one HR Emplpoyee not view other HR employee record except for himself/herself. Also maintining that they should be able to view all other employee's records.
The following code was put under the Security Profile Form -- > Custom Security Tab
exists (select 1
from per_jobs b
where ASSIGNMENT.job_id = b.job_id
and (b.name not like '%HR%')
and (b.name not like '%Human%')
and ASSIGNMENT.assignment_number is not null
union
select 1
from fnd_user fu
where fu.user_name = fnd_global.user_name
and fu.employee_id = PERSON.person_id
and ASSIGNMENT.assignment_number is not null)
Above security profile works fine for HR People Form.
However, It does not work for our Discoverer Workbooks. I found a note on Metalink 422841.1 which talks about leveraging the Custom Security of Apps in Discoverer Report. I read it, but did not get much clue.
Can Anyone help.
Thanks

Hi,
If you want to use custom HR security with Discoverer you have to ensure that the correct security filters are applied when the Discoverer reports are run. These filters can use the supplied HR_SECURITY package or you can develop your own conditions using table lookups or functions. To get the filters applied to your reports you have a number of options:
1. Build the security into custom folders using additional conditions
2. Use custom database views in Discoverer and build the security into the views
3. Use mandatory conditions in you Discoverer folders using either a function call or database contexts set at login time
4. Use VPD (Virtual Private Database)
I am not sure which of these options you are using to implement your HR security in Discoverer. The last option, VPD, is the most flexible and can give the best performance but maybe it is more complex to set up.
Rod West

Similar Messages

  • How to make daily mail sending using the action profile?

    I have a LEAD. If the LEAD is not closed within 5 days after creation i need to send reminder to manager. 
    So if the status of this LEAD is "open" and "today date" >= "planned finish date" the email must be sent to manager everyday until the status will be changed to "closed".

    Hi Vipul
    I need help in configuring the Optimization Rule on start condtion of action definitions. As i can see you have suggested to use the optimization rule in start condition. Would you please tell me how and where i can configure the rule for optimization
    Please advise
    thank you
    regards
    shankar

  • How to make custom ringtones in iOS 5.1

    How to make custom ringtones in iOS 5.1.
    I was on iOS 4.3 before and i used to create the AAC version and then change the file extension & that file would come up in the Rimtones in iTunes, After the iOS 5.1 i m unable to add the custom ringtones to my iPhone from iTunes.

    Was having this problem too.  Discoverd that that there is a "tones" top menu next to "music" under your iphone settings.  I'm not sure if this is new or not (I am a new iphone owner), but if you check on sync tones they will download.

  • How to make custom binary module and add to powershell?

    How to make custom binary module and add to powershell?
    I wish to add 'Microsoft.SharePoint.Client.dll' in powershell as binary module so I can use its intellisense.

    Hi Biraj,
    I replied to this in other thread
    https://social.technet.microsoft.com/Forums/en-US/a13c9cc8-7d53-46b5-b5bb-65404db2d347/how-to-make-intellisense-enable-in-powershell-in-csom-for-sharepoint-online?forum=sharepointdevelopment
    Kind Regards,
    John Naguib
    Senior Consultant
    John Naguib Blog
    John Naguib Twitter
    Please remember to mark this as answered if it helped you

  • How to make custom start end shapes for stroke (arrowheads)...

    hello...
    Indesign cs4 have nice start end stroke shapes like arrowheads, circles, squares...circles is clear, without fill. I need fill in it.
    How to make custom shapes or edit existings start/end shapes to functioning like original provided with indesign?
    Maybe illustrator cs4 have this?

    There's no way to edit line endings in ID. You would have to make a compound path from a line with no ending and a second path or shape for the end.

  • How to restrict employees from accessing managers data using custom security profile

    Hi,
    I am using custom security profile for restricting the employees from accessing supervisors details(PG.SEGMENT2=4). I have written the custom code as below :
    Responsibility :US Super HRMS Manager
    ASSIGNMENT.PERSON_ID
    IN
    (SELECT PAF.PERSON_ID FROM PER_ALL_PEOPLE_F PAF,
    PER_ALL_ASSIGNMENTS_F PF,
    PAY_PEOPLE_GROUPS PG,
    PER_PERSON_TYPE_USAGES_F PPU,
    FND_USER FNU
    WHERE PAF.PERSON_ID=PF.PERSON_ID
    AND :EFFECTIVE_DATE BETWEEN PAF.EFFECTIVE_START_DATE
    AND PAF.EFFECTIVE_END_DATE
    AND PF.PEOPLE_GROUP_ID=PG.PEOPLE_GROUP_ID
    AND :EFFECTIVE_DATE BETWEEN PF.EFFECTIVE_START_DATE AND PF.EFFECTIVE_END_DATE
    AND PPU.PERSON_ID=PAF.PERSON_ID
    AND PPU.PERSON_ID=PF.PERSON_ID
    AND :EFFECTIVE_DATE BETWEEN PPU.EFFECTIVE_START_daTE AND PPU.EFFECTIVE_END_DATE
    AND PAF.PERSON_ID=FNU.EMPLOYEE_ID
    AND PAF.PERSON_TYPE_ID =2
    AND PPU.PERSON_TYPE_ID
    IN(2,62)
    and PAF.person_id = FND_PROFILE.value('user_id')
    AND PG.SEGMENT2=8)
    and using "restrict the people visible to each other using this profile".
    I have assigned the security profile to HR user responsibility
    But when I query the supervisor name in HR User responsibility , it is not restricting me from viewing supervisor details.
    When I query for first time, its restricting me to view others details, but when I close that click on torch button and try searching, its allowing me to access manages details.
    Can any one please let me know what setups need to be done for restricting employees from viewing supervisors data.
    I have gone through the document "Understanding and Using HRMS Security in Oracle HRMS" but didn't got any idea.
    Please suggest.
    Thanks & Regards,
    Anusha.

    Hi All ,
    i solved the problem by using event 01 of header view and using the table "Extract" .
    Regards,
    Neha

  • How to install custom printer profiles in maverick

    how to install custom printer profiles in maverick

    NOTE: In Lion and Mountain Lion the Home/Library folder is now invisible. To make it permanently visible enter the following in the Terminal application window: chflags nohidden ~/Library and press the Return key - 10.7: Un-hide the User Library folder. You'll need to do it again after each system update that's applied.
    OT

  • Illustrator CC how to setup custom document profile

    How do I set up a custom document profile in Illustrator CC and save it for future use?
    I do not see any way to save it.

    1.  Re: Illustrator CC how to setup custom document profile
           Francesco Della Peruta     Sep 11, 2013 11:31 AM  (in response to dinnys)   
    I think you have to create a new document, set all your preferred options, leave it empty, and save it as a template file, ready to reuse .
    Otherwise you can:
    Create a new document, set all your preferred options, leave it empty, and save it in the same folder of the adobe preset.
    To find the correct path select the preset profile menu, in the new document window, and choose browse.
    I hope this help"

  • How to make different users to use different Plan_Tables?

    How to make different users to use different Plan_Tables?
    I want each user use his own's Plan_Table. How to achieve this goal?

    qkc wrote:
    How to make different users to use different Plan_Tables?
    I want each user use his own's Plan_Table. How to achieve this goal?Which version of Oracle - if you're on 10g or later you are already (effectively) doing this.
    If not, then copy the 10g strategy back to your version; in outline:
    <ul>
    drop all existing plan tables
    create a table (but call it plan_table$) in the SYS schema (you may prefer to use SYSTEM) as a global temporary table on commit preserve rows
    create a public synonym plan_table for plan_table$
    grant select insert update delete on plan_table to public
    </ul>
    Look in $ORACLE_HOME/rdbms/admin/catplan.sql in a 10g version of Oracle to check how it's done.
    Each user gets a private (temporary) table in their temporary tablespace whenever they use the plan_table
    Their private data disappears when there session ends.
    Regards
    Jonathan Lewis
    http://jonathanlewis.wordpress.com
    http://www.jlcomp.demon.co.uk
    To post code, statspack/AWR report, execution plans or trace files, start and end the section with the tag {noformat}{noformat} (lowercase, curly brackets, no spaces) so that the text appears in fixed format.
    There is a +"Preview"+ tab at the top of the text entry panel. Use this to check what your message will look like before you post the message. If it looks a complete mess you're unlikely to get a response. (Click on the +"Plain text"+ tab if you want to edit the text to tidy it up.)
    "Science is more than a body of knowledge; it is a way of thinking"
    Carl Sagan                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • How to make a rubber effect like when you swipe between apps using 4 fingers on iPad ?

    Hey guys,
    So how to make a rubber effect like when you swipe between apps (first or last app) using 4 fingers on iPad iOS7 ? Any examples ?
    Thanks!
    Ivan

    Please do not double post the same question.
    Just like I said before. Animate X scale and position. Set the anchor point of the left image to the left side. You can then use an expression or just generate keyframes for scale. When you flip to the next screen then animate position. Easy basic animation except for the bounce. Key framing the bounce so that it looks natural takes a lot of experience or an expression.
    Google bounce expression after effects and find this. http://www.motion-graphics-exchange.com/after-effects/Wiggle-rubber-bounce-throw-inertia-e xpressions/4ad0f32a944ad
    There are a bunch of other solutions.
    There is no single click solution to this problem and it is not an effect, it is an animation.

  • How to make a contact sheet using iPhoto

    how to make a contact sheet using iPhoto

    Which iPhoto version do you have?
    In iPhoto '11 you can make the Contact Sheet by selecting all photos you want on the sheet, press ⌘P, and in the Print panel select "Contact Sheet". Set the number of columns, adjust the margins, and select the captions you want.
    Then press the Print button.

  • List of Employees through custom security profile - SSHR

    Hi,
    A coordinator sitting in a region required access to all those employees who are coming in his region. This thing has been done and tested in PUI using custom security profile but can we give the same access to coordinator at Self service level, so that it can view employee detail and take necessary actions against employee.
    Thanks
    Ayaz

    You can indeed use the same Security Profile to control access through Self Service. In Self Service, you will need to use the Simple or Advanced Search to find these people because the default hierarchy that is displayed won't render.
    Often it is useful to add a personalization message to the Search region so that the users know to find people this way, eg:
    "To find employees in your region, please enter their Last Name in the Search box and hit Enter."

  • How to make F7,F8,F10 disabled for security?

    Hi alll,
    Pls can any boady tell me ; how to make F7,F8,F10 disabled for security purposes?
    Abdetu.

    Hello Gerd
    Thanks for reply,
    i made a search for the file u mentioned
    FMRWEB; i found it on path C:\orant\FORMS60
    having the following :
    # FMRWEB.RES is the key definition file for webforms. The syntax is:
    # JFN : JMN : URKS : FFN : URFD (whitespace ignored)
    # JFN = Java function number
    # JMN = Java modifiers number
    # URKS = User-readable key sequence (double-quoted)
    # FFN = Forms function number
    # URFD = User-readable function description (double-quoted)
    # JAVA FUNCTION NUMBER
    # 33 = PageUp
    # 34 = PageDown
    # 35 = End
    # 36 = Home
    # 37 = LeftArrow
    # 38 = UpArrow
    # 39 = RightArrow
    # 40 = DownArrow
    # 65 - 90 = Ctrl+A thru Ctrl+Z (These will always have the control
    # modifier explicitly included, as well as any other
    # modifiers that might be used.)
    # 112 - 123 = F1 thru F12
    # 9 = Tab (Ctrl+I, without the control modifier)
    # 10 = Return (Ctrl+J, without the control modifier)
    # JAVA MODIFIERS NUMBER
    # Equal to the sum of the values for the modifier keys:
    # 0 = None
    # 1 = Shift
    # 2 = Control
    # 4 = Meta
    # 8 = Alt
    # FORMS FUNCTION NUMBER
    # The Forms function numbers match the function numbers found in a
    # typical Forms key binding file.
    # USER-READABLE STRINGS
    # The double-quoted strings appear when users click [Show Keys], and
    # are used for this purpose only. These strings can be translated as
    # needed. Note that the strings do not affect what actually happens
    # when end users press a particular key sequence.
    9 : 0 : "Tab" : 1 : "Next Field"
    9 : 1 : "Shift+Tab" : 2 : "Previous Field"
    116 : 0 : "F5" : 3 : "Clear Field"
    38 : 0 : "Up" : 6 : "Up"
    40 : 0 : "Down" : 7 : "Down"
    33 : 0 : "PageUp" : 12 : "Scroll Up"
    34 : 0 : "PageDown" : 13 : "Scroll Down"
    69 : 2 : "Ctrl+E" : 22 : "Edit"
    10 : 0 : "Return" : 27 : "Return"
    76 : 2 : "Ctrl+L" : 29 : "List of Values"
    115 : 0 : "F4" : 32 : "Exit"
    75 : 2 : "Ctrl+K" : 35 : "Show Keys"
    83 : 2 : "Ctrl+S" : 36 : "Commit"
    118 : 1 : "Shift+F7" : 61 : "Next Primary Key"
    117 : 0 : "F6" : 62 : "Clear Record"
    38 : 2 : "Ctrl+Up" : 63 : "Delete Record"
    117 : 1 : "Shift+F6" : 64 : "Duplicate Record"
    40 : 2 : "Ctrl+Down" : 65 : "Insert Record"
    119 : 1 : "Shift+F8" : 66 : "Next Set of Records"
    1005 : 0 : "Down" : 67 : "Next Record"
    1004 : 0 : "Up" : 68 : "Previous Record"
    118 : 0 : "F7" : 69 : "Clear Block"
    66 : 2 : "Ctrl+B" : 70 : "Block Menu"
    34 : 1 : "Shift+PageDown" : 71 : "Next Block"
    33 : 1 : "Shift+PageUp" : 72 : "Previous Block"
    116 : 1 : "Shift+F5" : 73 : "Duplicate Field"
    119 : 0 : "F8" : 74 : "Clear Form"
    122 : 0 : "F11" : 76 : "Enter Query"
    122 : 2 : "Ctrl+F11" : 77 : "Execute Query"
    69 : 3 : "Shift+Ctrl+E" : 78 : "Display Error"
    80 : 2 : "Ctrl+P" : 79 : "Print"
    123 : 0 : "F12" : 80 : "Count Query"
    85 : 2 : "Ctrl+U" : 81 : "Update Record"
    121 : 3 : "Shift+Ctrl+F10" : 82 : "Function 0"
    112 : 3 : "Shift+Ctrl+F1" : 83 : "Function 1"
    113 : 3 : "Shift+Ctrl+F2" : 84 : "Function 2"
    114 : 3 : "Shift+Ctrl+F3" : 85 : "Function 3"
    115 : 3 : "Shift+Ctrl+F4" : 86 : "Function 4"
    116 : 3 : "Shift+Ctrl+F5" : 87 : "Function 5"
    117 : 3 : "Shift+Ctrl+F6" : 88 : "Function 6"
    118 : 3 : "Shift+Ctrl+F7" : 89 : "Function 7"
    119 : 3 : "Shift+Ctrl+F8" : 90 : "Function 8"
    120 : 3 : "Shift+Ctrl+F9" : 91 : "Function 9"
    113 : 0 : "F2" : 95 : "List Tab Pages"
    72 : 2 : "Ctrl+H" : 30 : "Help"
    ------------------------------------end of file-----------------------------------------
    Now if this is the file i have How can i make F7,F8,F10 disabled for security?
    can u clarify to me how can handle this,i am afraid i may do something wrong..!!!
    But how do you want to commit without the shortcut?? What do u mean by a shortcut..?
    Thanks in advance..
    Regards,
    Abdetu.

  • How to make form based authenticaiton in adf security?

    Hi all
    How to make form based authenticaiton in adf security?
    help give example video or project.
    Thanks lhagva

    Have you read the docs (http://download.oracle.com/docs/cd/E17904_01/web.1111/b31974/adding_security.htm)?
    Timo

  • How to do Grouping of Workbooks using XSL in Discoverer Viewer?

    Hello Discoverer Experts,
    My question is related to grouping of workbook names using XSL in Discoverer Viewer. This is a sample xml data file which contains 6 workbooks.
    <eul>
         <workbooks>
              <workbook>
                   <wb_name>Purchasing Workbook 1</wb_name>
                   <worksheets>
                        <worksheet>
                             <ws_name>A</ws_name>
                        </worksheet>
                        <worksheet>
                             <ws_name>B</ws_name>
                        </worksheet>
                   </worksheets>
              </workbook>
              <workbook>
                   <wb_name>Purchasing Workbook 2</wb_name>
                   <worksheets>
                        <worksheet>
                             <ws_name>C</ws_name>
                        </worksheet>
                        <worksheet>
                             <ws_name>D</ws_name>
                        </worksheet>
                   </worksheets>
              </workbook>
              <workbook>
                   <wb_name>Manufacturing Workbook 1</wb_name>
                   <worksheets>
                        <worksheet>
                             <ws_name>E</ws_name>
                        </worksheet>
                        <worksheet>
                             <ws_name>F</ws_name>
                        </worksheet>
                   </worksheets>
              </workbook>
              <workbook>
                   <wb_name>Manufacturing Workbook 2</wb_name>
                   <worksheets>
                        <worksheet>
                             <ws_name>G</ws_name>
                        </worksheet>
                        <worksheet>
                             <ws_name>H</ws_name>
                        </worksheet>
                   </worksheets>
              </workbook>
              <workbook>
                   <wb_name>CEO Workbook 1</wb_name>
                   <worksheets>
                        <worksheet>
                             <ws_name>I</ws_name>
                        </worksheet>
                        <worksheet>
                             <ws_name>J</ws_name>
                        </worksheet>
                   </worksheets>
              </workbook>
              <workbook>
                   <wb_name>CEO Workbook 2</wb_name>
                   <worksheets>
                        <worksheet>
                             <ws_name>K</ws_name>
                        </worksheet>
                        <worksheet>
                             <ws_name>L</ws_name>
                        </worksheet>
                   </worksheets>
              </workbook>
         </workbooks>
    </eul>
    The XSL is generating a List of Workbooks in <table> by using <xsl:for-each select="eul/workbooks/workbook">
    <table>
    <tr><td>Purchasing Workbook 1</td></tr>
    <tr><td>Purchasing Workbook 2</td></tr>
    <tr><td>Manufacturing Workbook 1</td></tr>
    <tr><td>Manufacturing Workbook 2</td></tr>
    <tr><td>CEO Workbook 1</td></tr>
    <tr><td>CEO Workbook 2</td></tr>
    </table>
    Now my question is:
    1. The client want to see this report in Groups i.e
    <table>
    <tr><th>Group Name: Purchasing</th></tr>
    <tr><td>Purchasing Workbook 1</td></tr>
    <tr><td>Purchasing Workbook 2</td></tr>
    </table>
    <table>
    <tr><th>Group Name: Manufacturing</th></tr>
    <tr><td>Manufacturing Workbook 1</td></tr>
    <tr><td>Manufacturing Workbook 2</td></tr>
    </table>
    <table>
    <tr><th>Group Name: CEO</th></tr>
    <tr><td>CEO Workbook 1</td></tr>
    <tr><td>CEO Workbook 2</td></tr>
    </table>
    How can I achieve this grouping using XSL ? Has anybody tried customizing the XSL file to achieve grouping of workbooks by name?
    Any help is highly appreciated.
    Thanks in advance.
    Warm Regards,
    Pranav Desai

    Hi Friends..
    This is not the reply.
    I have also some question..
    Some related topic I found on this.
    That's why I am posting the same question here also..
    Dear friends..
    I need help to customize our discoverer viewer.
    We are creating work sheets in arial font size 8.
    But, when it's viewing through discoverer viewer it's coming big size.
    If we saw the source code by right click, it's taking some style sheets where
    the font size is mentioned as 8. not 8px.
    How I can modify the work sheets in viewer.
    Exactly which tag I should modify for this.
    And the other thing is the heading section is coming something as
    jung.
    Like this...
    &nb12.09.52 PM 27-OCT-02; 27-OCT-02 &n12.09.52 PM12.09.52 PM
    From: 01-JAN-2002 To: 30-DEC-2002o Page :1 / 1
    How we will correct this ?
    Please reply me as the earliest.
    With Thanks & Regards,
    Sheeja
    [email protected]

Maybe you are looking for

  • Keyboard lights suddenly shut off

    I'm a noob with an early 2011 MBP 13" i7 running Lion and I've noticed that the keyboard backlight has started to suddenly shut off randomly. It's only happened a couple times and the last time it did I actually could turn it back on by pressing the

  • ITunes 9 syncing issues

    Hei everybody, I was trying everything myself, I was googling all around, but couldn't find the answer to my problem. So I came here to ask for help. Ok here is my problem: My iTunes doesn't normally sync with my iPod. The thing is, I always manually

  • How to enable net value in sap crm opportunity

    hello all , how to enable net value in sap crm opportunity and item category. please help me out i am new in sap crm Ahmad

  • Rtf baseline shift control

    I have setup a specific baseline in a form text field with placeholder text. It seems that the richt text data is linked to the text because when I erase all text and write something new the baseline shift is reset to 0. What are my possibilities, I

  • Cant find virtualbox vboxdrv (install vbox modules on custom kernel)

    hi guys! i recently installed virtualbox-ose using pacman -Sy virtualbox. it installed fine and i was able to create a vm. when i start my vm i get this error: VirtualBox kernel driver not installed. The vboxdrv kernel module was either not loaded or