Disable the approve button when ever nonapprover login

Hi Friends,
i want to disable the approve button , when ever non approvers login into that requisitions page. please let me know, how to do. only approvers will have to see that approve button. can we achieve through OAF personalizations or Extensions.
Thanks
vamshi.

Hi,
You can extend the Controller of that page and in extended controller on page load
Capture the Requistion details and valid approvers from a Prepared Statement.
Then match the Approvers with the Login user name (pageContext.getUserName())
If the user name is not there in the valid approvers then set the disabled property of button to true,
bean.setDiasbled(true);
Thanks,
Gaurav

Similar Messages

  • Disable the 'Approve' button on the TRIP Tcode

    Hi ,
          I need to Disable  the 'Approve' button on the TRIP Tcode ( Travel management)  security setting.  User does not want TRIP tocde to be able to approve their own trip expenses. The approval button should be enabled in PR05 but not in TRIP.
    So can someone suggest me, Can we achieve this through object restriction? Or else Do we need to change the codeing with the help of ABAPer .
    Thanks & Regards
    Umashankar
    SAP Security

    Eliminate the Option from the TCode screen by using Transaction Variant and then create a Variant Transaction for that. Assign this new custom TCode to the Users.
    To know more on this process, please check the following thread just discussed:
    Variant using SHD0
    Regards,
    Dipanjan
    Edited by: Dipanjan Sanpui on Jul 7, 2009 6:59 PM

  • Is it possible to disable the play button when exporting to exe or app files?

    Is it possible to disable the play button when exporting to exe or app files? Can the app just boot up without the playbutton?

    Are you talking about auto play option or the play button on Playbar?
    I just checked the EXE ran fine without requiring any play button to start as per my settings.
    Is this waht you are looking to achieve?
    Thanks,
    Anjaneai

  • How to disable the back button when displaying a form

    Hi ,
    i have form A calling form B, when form B is displayed i want to disable the
    back button in the explorer so as not to allow the user from going back to
    form A.
    thanks.

    When you open a new window, call following javascript function also to disable the "back" button.
    window.history.forward(1);
    It will work.

  • How to disable the 'Approve' button?

    Hi,
    I have 'Approve' and 'Reject' button in Notification page. I want to disable the button. I'm approving the notification from Forms(Front End'). The user should not approve from notification page. How to restrict that?
    Pl. help. Thanks in Advance.
    Kavi

    Hi,
    I have answered your duplicate post on the [WorkflowFAQ forum|http://smforum.workflowfaq.com/index.php?topic=1076.0] .
    HTH,
    Matt
    WorkflowFAQ.com - the ONLY independent resource for Oracle Workflow development
    Alpha review chapters from my book "Developing With Oracle Workflow" are available via my website http://www.workflowfaq.com
    Have you read the blog at http://www.workflowfaq.com/blog ?
    WorkflowFAQ support forum: http://forum.workflowfaq.com

  • Is there a way to disable the power button when iPhone is lock with a pass code?

    This is for security reason as you can still track ur iPhone/iPad when someone decides to steal it. My iPad 2 64gb + 3G and a MacBook Pro 17 was recently stolen and I was able to track it 10-15 mins (after the incident) until the thieve(s) decided to turn the iPad off. It would be great if someone or even Apple could add this option to the cellular versions so victims of theft could have a slight chance of retrieving stuff back (with the help of law enforcements).

    You cannot at this time. Feedback to Apple goes at www.apple.com/feedback. There are other ways for a thief to disable Find my iPhone. It is not really intended to track stolen devices although it will, it is more for lost devices.

  • How to disable the cancel button in the ProgressMonitor

    hi,
    I need to know, is there any way to disable/remove the (cancel)button in the ProgressMonitor?
    One more problem is,
    Once i click the cancel button, isCanceled() return true, how to make it false again so that the process continue....
    It is very urgently.....
    please help me out.
    Thanks in advance.
    Regards,
    Deepa Raghuraman

    I don't think that's a good solution, because Cancel button itself is not disabled, so user is tempted to click it and nothing happens.
    A better but dangerous solution is this:
    progressMonitor = new ProgressMonitor(ProgressMonitorDemo.this,
                                         "Running a Long Task",
                                         "", 0, 100);
    progressMonitor.setMillisToDecideToPopup(0);
    progressMonitor.setMillisToPopup(0);
    progressMonitor.setProgress(0);
    JDialog dialog = (JDialog)progressMonitor.getAccessibleContext().getAccessibleParent();
    JOptionPane pane = (JOptionPane)dialog.getContentPane().getComponent(0);
    pane.setOptions(new Object[]{});Refer to the same question here [http://stackoverflow.com/questions/512151/how-do-i-disable-the-cancel-button-when-using-javax-swing-progressmonitor] .

  • TS4006 I have iPhone 4 with updated latest iOS And i am using FIND IPHONE application. But everytime when ever i login in it and serch for the device its shows but never give me the location"NO LOCATION AVAILABLE".It is already connected with WIFI but no

    I have iPhone 4 with updated latest iOS And i am using FIND IPHONE application. But everytime when ever i login in it and serch for the device its shows the device  but never give me the location"NO LOCATION AVAILABLE".It is already connected with WIFI and i tried all the stuffs that has been written in the manual. Plese give me the Proper suggetion about this issue..!!

    If your router is not identified in a national database (don't recall who maintains it or where it is) then there is no location associated with it.  Hence your device cannot be located.  I suggest you try your test at some public wifi spot, like a bookstore or coffee shop.  These places usually have a location associated with their wifi router.

  • When Click on the Approve Button, workflow take to "page Cannot be Find"

    Hi all ,
    Please need your urgent help. I have an unique issue here as follows ..
    I have a OA Page where Page have a Apprvoal ( Workflow ) button, manager Clicking on the Approval Button which throws the erro r" Page Can not be found".
    Anybody faced this sort of issue and if you know the knwo the solution please help me in resolving the issue.
    Thanks and regards
    Raghu

    Hi Anil ,
    I am regular visitor to Forum and I thought I will get some clue or atleast some replies on the above thread.
    Please help me in resovling the issue.
    Here is the details of the issue that I am facing in in our application.
    1. I have a Approval Notification on a Page.
    2. After clicking the approve button , the control should take me to a Appoval Comments PAge.
    3. But after clicking the approval button I am getting ' Page Cannot be found error".
    4. I have four botton on this page ( like Redirect, Retunr,cancel ) even after clicking any of these also theos th same error.
    Haan ..... We are facing this issue in Prodution and Staging but the Developemnt instance its works fine.
    awaiting for your reply.
    Raghu

  • How can I disable the "Pause" button to not show up when I am in a phone call?

    I want to disable the pause button as it got pressed every time my cheek touches the screen while in a phone call.
    Any tip will be very much appreciated!
    Martin

    http://www.applevis.com/guides/voiceover-keyboard-shortcuts-mac-os-x
    You should be able to copy them from there.

  • Deactivate the back button when i logout

    I am creating webpage with login / logout. How to deactivate the back button when i logout. and clear cookies

    There is a hard fix for this...but i don't whether this is a current approach..
    Put the javascript in the head of the page
    history.go(1);
    This virtually disables the back button..i.e when you click the back button it immediately redirects to the present page..

  • How can I disable the previous button in the first page and the next button in the last page?

    Hi all,
    I have created a new skin for a webhelp by modifying the layout and the buttons. However, I am not able to find a way where in we can
    disable the previous button ini the first page of the webhelp and hte the next page in the last page of the webhelp. If both the next and previous button is visibile in the first and last page, it is sort of misguiding the user.
    I am using Robohelp 9.
    Please advice.
    Thanks,
    Parag

    I think you are mixing Previous and Next in a browse sequence and the Previous and Next that you get in the browser itself.
    In a browse sequence, they are automatically disabled at the start and finish. When in the first topic in the sequence only Next will be enabled, when in the last topic only previous will be enabled.
    Previous and Next in the browser are working on the topics your user has viewed which is not the same thing.
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

  • How to disable the reminding dialog when close the webi report viewer

    Dear all
    How to disable the reminding dialog when close the webi report viewer
    Background
    When user close the webi report viewer in inforview by click the button in the right-top of the webi report viewer frame. It always prompt a dialog to remind user that the modification will be lost without saving.
    But customer need to disable this dialog, and can clost the report viewer directly.
    So is there any ways to modify this?
    I think it shoule modify some .js file under tomcat, but can not find the solution.
    Thanks a lot, any information woulde be appreciated.
    David Zhang

    I've had the same issue bugging me since installing Snow, er, lion, er, cat, er, cougar, er, Mountain Lion. Incredibly ANNOYING.
    It's stupid stuff like this and reverse scrolling that really turn long-timer users off. I'm personally glad Forstall got fired for blunders such as these.
    I'm serious peeved that turning off iCloud Documents & Data actually deletes documents and data locally. That's just incredibly stupid.
    MANY thanks mende1 for the answer on how to fix it.

  • How to disable the Save button For a pdf?

    Hi,
    I have a requirement that when you open the livecycle developed pdf, the Save option available in the toolbar (Save As icon) and File menu of the Reader should be disabled. A button will be provided in the form separately to provide the Save functionality. Can anybody help me reg. this? Is there any setting available for this in Adobe Pro or any other tool?
    Regards,
    Maria

    It's not really difficult to disable the save button. But it depends on the context from where you want to delete it. even if you disable the save button the user has the option to print screen and create a fresh pdf. So your question has some philosophical aspects to deal with. Please mail me at [email protected] incase of further quries. I've understood your problem and have got a solution but it's not somewhat legitimate to do. I can share it with you through email.

  • Disabling the Open button in the JFileChooser dialog

    Hi,
    I would like to enable/disable the Open button in the JFileChooser dialog, after the dialog is shown.
    I looked at the Java APIs but I could not find a method that gives me the access to this button.
    Could anyone let me know how to either retrieve the Open button from the JFileChooser or enable/disable it through Java APIs?
    Thanks in advance,
    Paul Rodziewicz

    As I'm editing with multiclips in my sequence, if I select "open" from the middle pulldown menu in the canvas or viewer, it will open the multiclip in the viewer and play it in sync with my timeline playhead (like the gang feature). I.E. so I can hit play in my timeline, watch the multiclip in the viewer real time, and make edits (to the clip in the timeline) as I watch. My issue is that the syncing of the viewer playhead and the timeline playhead often break when deleting clips and I constantly have to reselect the "open" button, and it would be way nicer if there was a shortcut key instead of having to mouse it. It only takes a second to use your mouse and select "open" but when you have to do it constantly, it makes you wish for a quick key.
    img src="http://a960.ac-images.myspacecdn.com/images01/47/l_b06e2e3aee5446928b2daca d1d04520f.jpg" align=left width=600 height=463 alt="pic1">pic1
    img src="http://a672.ac-images.myspacecdn.com/images01/60/l_979388c01dd9880126c0fbd 8f5ab49f7.jpg" align=left width=600 height=485 alt="pic2">pic2

Maybe you are looking for