Disable approv button  in pr05

hi ! i have a requirement to disable the approve button  in pr05 .
i know this is standard tcode .if this is not possible then please tell me how can i create customizable tcode for this standard tcode.
Please help me .

Try to Modify Authorization Object P_TRAVEL  field "AUTHS" removing value 4 in all roles provided to user.
Regards

Similar Messages

  • Disable approve button in jfileChooser (custom accessory)

    i'm using a custom accessory in a JFileChooser. i want to listen for selection events and en/dis-able the approve button depending on the selected item. how do i access the approve button. FileChooserUI has no method, BasicFileChooser has a protected getApproveButton() method. i don't see any properties that i can fire....i guess i could just "look" within the JFileChooser for the button but that seems awkward.
    any help much appreciated.

    Unfortunatly you can get the button only through the UI.
    Create a class extending the xxxFileChooserUI and create a method getApproveButton() :
    public void getApproveButton() {
    return(super.getApproveButton(null));
    Through the UIManager set the good UI for JFileChooser.
    I hope this helps,
    Denis

  • 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

  • Add Approver button disabled for PO in sap srm when GR and IR are already posted

    Hello Gurus,
         One of my user has edited an old PO for which the GR and IR has already been posted in backend. Now the reason for editing was to change the expected value for 3 item and he changed the value the approver is still blank as for old PO's there was no approval required but later on the whole scenario changed and based on total value the approvers are decided now. But for this PO still its not showing the appovers and also the add approver button is disabled. Is there any way to enable the Add approver button. Also please let me know whether addition of approver is allowed after the GR and IR are posted in backend.
    Thanks
    Gaurav Gautam

    Solved.
    In Control Actions -> Configure Control of Actions on Header Level, it's not neccessary put the subtype equal to 0.

  • SRM 7.0 'Add Approver' button disabled after rejection

    Hi Experts,
    I'm working on SRM 7.0(BRF) RFx workflow. I have configured the process level schema and the acceptance by contact person in customizing. When any of the approver rejects the document, it comes back to the creator which is right. But i see the 'Add Approver' button as disabled. But while creating a new document it is showing the 'Add Approver' button, only after rejection, the creator is seeing the button as disabled. Is it the standard behaviour in SRM7.0 ?
    Can you guys share your thoughts on this..
    Thanks
    Ram

    Hi,
    Please check the note 1378094.
    https://service.sap.com/sap/support/notes/1378094
    Regards,
    Masa

  • Suppress or Disable SAVE button in Approval screen (BBPSC07)

    Dear Experts,
    i would like to ask how to suppress or disable SAVE button in Approval Screen (BBPSC07). Thanks in advance..
    Edited by: Mochamad Affan Rasyidi on Oct 3, 2009 6:38 AM

    Hi
    If you mean disabling the Variant Save Option of the SAVE button in a Selection-Screen without getting rid of the button in the screen you can do this.
    FIELD-SYMBOLS <fs>.
    AT SELECTION-SCREEN.
      IF sy-ucomm EQ 'SPOS'.
        ASSIGN ('(RSDBRUNT)<SSCRFIELDS>-UCOMM') TO <fs>.
        <fs> = ''. 
    *  Logic you want to apply to the SAVE button
      ENDIF.

  • 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

  • JFileChooser in OS X: Approve Button Disabled In Empty Directory

    I have written a simple extended JFileChooser-based 'wizard' to assist in working with sound files in an application. It's a JDialog, which contains a JFileChooser to which is added a file preview (player) accessory. In step 1 you choose a file. In step 2 I reset the current directory to the destination. The user then presses the approve button ad it drops a copy of the selected file into the current directory.
    This works OK in Windows, but in OS X the approve button is disabled if nothing is selected in the current directory. If the destination directory is empty there is no way to get the approve button to be enabled. JFileChooser allows you to modify a few properties of the approve button, but hides the button itself. Is there any way to ensure that this button is enabled even if the current directory is empty or nothing is selected?
    Thanks in advance for any ideas!

    Hmm... perhaps in step 2 you could setFileSelectionMode(DIRECTORIES_ONLY) and allow the user to choose the directory?
    To get better help sooner, post a SSCCE that clearly demonstrates your problem.
    To post code, use the code tags -- [code]Your Code[/code]will display asYour CodeOr use the code button above the editing area and paste your code between the {code}{code} tags it generates.
    db

  • 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

  • GL approval button is disabled

    Hello gus,
    I am trying to approve a GL Journal, but the approval button is disabled. The two profiles:Journals: Allow Preparer Approval and Journals: Find Approver Method; limits and supervisor are all setup accordingly.
    Please let me know what I ahve missed to enable the button .
    Thanks

    Please ignore this query . I have now resolved the issue.
    Regards

  • Disabling/Hiding Approve button UWL Inbox

    Hi,
    Currently I am working on SRM upgrade project . How to remove/hide approve button in UWL inbox.
    Below xml code, using in UWL configuration file in portal:
    <ItemType name="uwl.task.webflow.srm.TS90000005.SAP_SRM" connector="WebFlowConnector" defaultView="com.sap.pct.srm.core.view.tasks" defaultAction="com.sap.pct.srm.core.action.launchWD.oldwfl.cont.approve" executionMode="default">
          <ItemTypeCriteria systemId="SAP_SRM" externalType="TS90000005" connector="WebFlowConnector"/>
          <Actions>
           <Action reference="com.sap.pct.srm.core.action.launchWD.oldwfl.cont.approve" />
    <!<Properties><Property name="display_order_priority" value="uwlExcludeFromPreviewDetail"/></Properties></Action>>
         </Actions>
        </ItemType>
    Implemented " uwlExcludeFromPreviewDetail" code in xml, but it is not working. Pls guide, how to tweak the properties definition a little bit to get it to work.
    Tried by mentioning USERDECISION parameter in UWL iview exclude property.

    Hello,
    Have you tried to remove:
    <Actions>
    <Action reference="com.sap.pct.srm.core.action.launchWD.oldwfl.cont.approve" />
    <!<Properties><Property name="display_order_priority" value="uwlExcludeFromPreviewDetail"/></Properties></Action>>
    </Actions>
    from the xml file?  Then upload the new xml file with a new name with high priority to the portal?  Also another thing that you can do is hide the whole descriptions section with all of the buttons.  This is listed in the help documentation on how to do that.
    Beth Maben
    EP - Senior Support Consultant II
    AGS Primary Support
    Global Support Centre Ireland
    Please see the UWL Wiki @
    https://www.sdn.sap.com/irj/scn/wiki?path=/display/bpx/uwl+faq  ***

  • Add Approver button disabled in SRM Shopping cart

    Hello,
    We have activated 2 level PC workflow. However we are facing issue that Add Approver button is not enabled.
    Could anyone please advise.
    Thank you
    Ritesh

    Hi Ritesh,
    On the face of it,I have couple of points for you to check it out.
    1.
    Please check the agent assignment at the header level of the workflow.
    Go to transaction PFTC -> Select workflow template -> 14000133 (or   
    whichever workflow you are using) -> Display -> Additional data ->   
    Agent Assignment -> Maintain -> Attributes -> Select radio button    
    'General Task' .. or instead of everybody being able to make changes 
    you can set the agent assignment of the workflow at role level.      
    Please also review note 581191.
    2.Check if this button is not visible or not for all the roles.
    3.Check any portal enhancements or Metadata config to make it display.
    Thanks
    Balaji

  • How Can i Disable this Button (Screenshots)

    Hi,
    I need to disable 2 buttons (Approve - Reject) for a specific responsibility (+see screenshot link below+)
    http://img825.imageshack.us/i/44310429.jpg/
    Path : Intercompany User --> Transactions: Inbound --> Search for transaction --> Update Transaction
    Through Personalize Page, i personalized the button and set it's Render to FALSE but they still appear (+see screenshot link below+)
    http://img801.imageshack.us/i/87584812.jpg/
    Am i missing something? Please Help,
    Your advice is highly appreciated,
    Best Regards,

    Dear Kali Thanks for your response,
    I tried to set the Render FALSE at the site Level , but the buttons are still appearing.
    you mean the "Disable Self-Service Personal" Profile option? it is set to NO
    the outputs as per your :
    exec jdr_utils.listcustomizations(p_document => '/oracle/apps/fun/transaction/entry/webui/UpdateInTrxPG');
    /oracle/apps/fun/transaction/entry/webui/customizations/org/81/UpdateInTrxPG
    /oracle/apps/fun/transaction/entry/webui/customizations/site/0/UpdateInTrxPG
    /oracle/apps/fun/transaction/entry/webui/customizations/responsibility/51450/UpdateInTrxPG
    /oracle/apps/fun/transaction/entry/webui/customizations/responsibility/51451/UpdateInTrxPG
    exec jdr_utils.printDocument('/oracle/apps/fun/transaction/entry/webui/customizations/org/81/UpdateInTrxPG');
    <?xml version='1.0' encoding='UTF-8'?>
    <customization xmlns="http://xmlns.oracle.com/jrad" version="9.0.6.0.0_35" xml:lang="en-US" customizes="/oracle/apps/fun/transaction/entry/webui/UpdateInTrxPG" developerMode="true">
    <modifications>
    <modify element="ApproveButton" userCustomizable="true"/>
    <modify element="RejectButton" userCustomizable="true"/>
    </modifications>
    </customization>
    exec jdr_utils.printDocument('/oracle/apps/fun/transaction/entry/webui/customizations/site/0/UpdateInTrxPG');
    <?xml version='1.0' encoding='UTF-8'?>
    <customization xmlns="http://xmlns.oracle.com/jrad" version="9.0.6.0.0_35" xml:lang="en-US" customizes="/oracle/apps/fun/transaction/entry/webui/UpdateInTrxPG" developerMode="true">
    <modifications>
    <modify element="ApproveButton" rendered="false" userCustomizable="true"/>
    <modify element="RejectButton" userCustomizable="true"/>
    </modifications>
    </customization>
    exec jdr_utils.printDocument('/oracle/apps/fun/transaction/entry/webui/customizations/responsibility/51450/UpdateInTrxPG');
    <?xml version='1.0' encoding='UTF-8'?>
    <customization xmlns="http://xmlns.oracle.com/jrad" version="9.0.6.0.0_35" xml:lang="en-US" customizes="/oracle/apps/fun/transaction/entry/webui/UpdateInTrxPG" developerMode="true">
    <modifications>
    <modify element="ApproveButton" userCustomizable="true"/>
    <modify element="RejectButton" rendered="false" userCustomizable="true"/>
    </modifications>
    </customization>
    exec jdr_utils.printDocument('/oracle/apps/fun/transaction/entry/webui/customizations/responsibility/51451/UpdateInTrxPG');
    <?xml version='1.0' encoding='UTF-8'?>
    <customization xmlns="http://xmlns.oracle.com/jrad" version="9.0.6.0.0_35" xml:lang="en-US" customizes="/oracle/apps/fun/transaction/entry/webui/UpdateInTrxPG">
    <modifications/>
    </customization>
    Best Regards,

  • Disable Reject Button for Invoice on Work Item Screen

    Hi! I know we can use the Dynamic Column configuration to disable and enable the Approve/Reject button on the Inbox screen where the approval work items are displayed. However, I would like to know whether it is possible to have only the Reject button disabled? Reason for asking this is a rejection reason needs to be maintained for the rejection. The check is in place if we reject the invoice from the detail screen. However, if we reject it from the Inbox screen, it will go through without any warning or error message. I have searched OSS notes but found nothing so am wondering whether this can be considered a bug or not. If not, then I want to know what solution option I have relating to this. I am thinking of either a repair to disable the button on the screen for invoice approval or find a why with the dynamic columns to do that.
    Appreciate any comments on the above.
    Cheers!
    SF

    No response

  • Enable / Disable a button Based on a value

    Hi all,
    How can i enable or Disable a Button Based on some input Text value.
    Here is the ADF Code fragment:
    *<af:switcher id="customActionButtons"*
    *facetName="#{actionAvailable.isCustomActionButtons}">*
    *<f:facet name="true">*
    *<af:panelGroupLayout layout="horizontal" id="pgl10">*
    *<af:commandToolbarButton actionListener="#{invokeActionBean.setOperation}"*
    *text="#{wf:getResourceValue('APPROVE', 'bindings.customActions')}"*
    *disabled="#{!bindings.APPROVE.enabled}"*
    *action="#{invokeActionBean.invokeOperation}"*
    *partialSubmit="false"*
    *visible="#{wf:isCustomActionAvailable('APPROVE', 'bindings.customActions')}"*
    *id="ctb2">*
    *<f:attribute name="DC_OPERATION_BINDING"*
    *value="bindings.APPROVE"/>*
    *</af:commandToolbarButton>*
    *<af:inputText value="#{bindings.input.inputValue}"*
    *label="#{bindings.input.hints.label}"*
    *required="#{bindings.input.hints.mandatory}"*
    *columns="#{bindings.input.hints.displayWidth}"*
    *maximumLength="#{bindings.input.hints.precision}"*
    *shortDesc="#{bindings.input.hints.tooltip}"*
    *id="it1">*
    *<f:validator binding="#{bindings.input.validator}"/>*
    *</af:inputText>*
    I have highlighted the Button and Input text in Bold.
    Any suggestions,
    Thanks,
    karthik

    you need to set the autosubmit property for the text field to true. and set the partial trigger for the the button to that input text id.
    and set the rendered property for the button based on the input text value.
    same idea is exist in this link:
    http://groundside.com/blog/GrantRonald.php?title=conditional_rendering_of_jsf_fields_depe&more=1&c=1&tb=1&pb=1
    Edited by: M.Jabr on Feb 7, 2011 1:26 AM

Maybe you are looking for