No Approve button in changed PO

Experts,
SRM5.0 Ext classic
We have a PO which was changed and went to the approver. Now when approver logs into approve this PO, he sees it in his inbox, clicks on it but strangely there is no approve/reject button!!(It is completely missing, not grayed out).
The screen that opens up looks similar to the one that opens for 'Process Purchase Order'
I have checked the roles...everything is fine. Also this is just a one off case.
What could be the issue?
Thanks

Hi Mikael,
Could you please tell me how you resolved this issue?
For me the 'approve' button is appearing at the first time in the UWL. Then after I approve one of the leave, then the 'approve' button disappears!
Thanks,
Kalai

Similar Messages

  • JFileChooser's approve button text changes when file

    I have a JFileChooser used for loading some XML file(s). We want the approve button's text to be "Load". When I bring up the dialog, the button text initially reads "Load", when I select a directory, it reads "Open", if I select a file again, it goes back to "Load". So far, so good.
    The problem comes when using it in a non-English language. When I bring up the dialog, the button text initially reads the appropriately translated "Load". However, when I select a directory, it changes to the English "Open". I do not see a method to use to adjust this text. Am I missing something, or is this a bug?
    Any help is greatly appreciated.
    Jamie

    Here's some code I'll put into the public domain:
    package com.graphbuilder.desktop;
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import java.util.Stack;
    import java.util.Vector;
    import java.util.StringTokenizer;
    import java.io.File;
    <p>Attempt to improve the behaviour of the JFileChooser.  Anyone who has used the
    the JFileChooser will probably remember that it lacks several useful features.
    The following features have been added:
    <ul>
    <li>Double click to choose a file</li>
    <li>Enter key to choose a file after typing the filename</li>
    <li>Enter key to change to a different directory after typing the filename</li>
    <li>Automatic rescanning of directories</li>
    <li>A getSelectedFiles method that returns the correct selected files</li>
    <li>Escape key cancels the dialog</li>
    <li>Access to common GUI components, such as the OK and Cancel buttons</li>
    <li>Removal of the useless Update and Help buttons in Motif L&F</li>
    </ul>
    <p>There are a lot more features that could be added to make the JFileChooser more
    user friendly.  For example, a drop-down combo-box as the user is typing the name of
    the file, a list of currently visited directories, user specified file filtering, etc.
    <p>The look and feels supported are Metal, Window and Motif.  Each look and feel
    puts the OK and Cancel buttons in different locations and unfortunately the JFileChooser
    doesn't provide direct access to them.  Thus, for each look-and-feel the buttons must
    be found.
    <p>The following are known issues:  Rescanning doesn't work when in Motif L&F.  Some
    L&Fs have components that don't become available until the user clicks a button.  For
    example, the Metal L&F has a JTable but only when viewing in details mode.  The double
    click to choose a file does not work in details mode.  There are probably more unknown
    issues, but the changes made so far should make the JFileChooser easier to use.
    public class FileChooserFixer implements ActionListener, KeyListener, MouseListener, Runnable {
         Had to make new buttons because when the original buttons are clicked
         they revert back to the original label text.  I.e. some programmer decided
         it would be a good idea to set the button text during an actionPerformed
         method.
         private JFileChooser fileChooser = null;
         private JButton okButton = new JButton("OK");
         private JButton cancelButton = new JButton("Cancel");
         private JList fileList = null;
         private JTextField filenameTextField = null;
         private ActionListener actionListener = null;
         private long rescanTime = 20000;
         public FileChooserFixer(JFileChooser fc, ActionListener a) {
              fileChooser = fc;
              actionListener = a;
              fileChooser.setFileSelectionMode(JFileChooser.DIRECTORIES_ONLY);
              okButton.setMnemonic('O');
              cancelButton.setMnemonic('C');
              JButton oldOKButton = null;
              JButton oldCancelButton = null;
              JTextField[] textField = getTextFields(fc);
              JButton[] button = getButtons(fc);
              JList[] list = getLists(fc);
              String laf = javax.swing.UIManager.getLookAndFeel().getClass().getName();
              if (laf.equals("javax.swing.plaf.metal.MetalLookAndFeel")) {
                   oldOKButton = button[0];
                   oldCancelButton = button[1];
                   filenameTextField = textField[0];
                   fileList = list[0];
              else if (laf.equals("com.sun.java.swing.plaf.windows.WindowsLookAndFeel")) {
                   oldOKButton = button[0];
                   oldCancelButton = button[1];
                   filenameTextField = textField[0];
                   fileList = list[0];
              else if (laf.equals("com.sun.java.swing.plaf.motif.MotifLookAndFeel")) {
                   oldOKButton = button[0];
                   oldCancelButton = button[2];
                   button[1].setVisible(false); // hides the do-nothing 'Update' button
                   button[3].setVisible(false); // hides the disabled 'Help' button
                   filenameTextField = textField[1];
                   fileList = list[0];
              fix(oldOKButton, okButton);
              fix(oldCancelButton, cancelButton);
              okButton.addActionListener(this);
              cancelButton.addActionListener(this);
              fileList.addMouseListener(this);
              addKeyListeners(fileChooser);
              new Thread(this).start(); // note: rescanning in Motif feel doesn't work
         public void run() {
              try {
                   while (true) {
                        Thread.sleep(rescanTime);
                        Window w = SwingUtilities.windowForComponent(fileChooser);
                        if (w != null && w.isVisible())
                             fileChooser.rescanCurrentDirectory();
              } catch (Throwable err) {}
         public long getRescanTime() {
              return rescanTime;
         public void setRescanTime(long t) {
              if (t < 200)
                   throw new IllegalArgumentException("Rescan time >= 200 required.");
              rescanTime = t;
         private void addKeyListeners(Container c) {
              for (int i = 0; i < c.getComponentCount(); i++) {
                   Component d = c.getComponent(i);
                   if (d instanceof Container)
                        addKeyListeners((Container) d);
                   d.addKeyListener(this);
         private static void fix(JButton oldButton, JButton newButton) {
              int index = getIndex(oldButton);
              Container c = oldButton.getParent();
              c.remove(index);
              c.add(newButton, index);
              newButton.setPreferredSize(oldButton.getPreferredSize());
              newButton.setMinimumSize(oldButton.getMinimumSize());
              newButton.setMaximumSize(oldButton.getMaximumSize());
         private static int getIndex(Component c) {
              Container p = c.getParent();
              for (int i = 0; i < p.getComponentCount(); i++) {
                   if (p.getComponent(i) == c)
                        return i;
              return -1;
         public JButton getOKButton() {
              return okButton;
         public JButton getCancelButton() {
              return cancelButton;
         public JList getFileList() {
              return fileList;
         public JTextField getFilenameTextField() {
              return     filenameTextField;
         public JFileChooser getFileChooser() {
              return fileChooser;
         protected JButton[] getButtons(JFileChooser fc) {
              Vector v = new Vector();
              Stack s = new Stack();
              s.push(fc);
              while (!s.isEmpty()) {
                   Component c = (Component) s.pop();
                   if (c instanceof Container) {
                        Container d = (Container) c;
                        for (int i = 0; i < d.getComponentCount(); i++) {
                             if (d.getComponent(i) instanceof JButton)
                                  v.add(d.getComponent(i));
                             else
                                  s.push(d.getComponent(i));
              JButton[] arr = new JButton[v.size()];
              for (int i = 0; i < arr.length; i++)
                   arr[i] = (JButton) v.get(i);
              return arr;
         protected JTextField[] getTextFields(JFileChooser fc) {
              Vector v = new Vector();
              Stack s = new Stack();
              s.push(fc);
              while (!s.isEmpty()) {
                   Component c = (Component) s.pop();
                   if (c instanceof Container) {
                        Container d = (Container) c;
                        for (int i = 0; i < d.getComponentCount(); i++) {
                             if (d.getComponent(i) instanceof JTextField)
                                  v.add(d.getComponent(i));
                             else
                                  s.push(d.getComponent(i));
              JTextField[] arr = new JTextField[v.size()];
              for (int i = 0; i < arr.length; i++)
                   arr[i] = (JTextField) v.get(i);
              return arr;
         protected JList[] getLists(JFileChooser fc) {
              Vector v = new Vector();
              Stack s = new Stack();
              s.push(fc);
              while (!s.isEmpty()) {
                   Component c = (Component) s.pop();
                   if (c instanceof Container) {
                        Container d = (Container) c;
                        for (int i = 0; i < d.getComponentCount(); i++) {
                             if (d.getComponent(i) instanceof JList)
                                  v.add(d.getComponent(i));
                             else
                                  s.push(d.getComponent(i));
              JList[] arr = new JList[v.size()];
              for (int i = 0; i < arr.length; i++)
                   arr[i] = (JList) v.get(i);
              return arr;
         public File[] getSelectedFiles() {
              File[] f = fileChooser.getSelectedFiles();
              if (f.length == 0) {
                   File file = fileChooser.getSelectedFile();
                   if (file != null)
                        f = new File[] { file };
              return f;
         public void mousePressed(MouseEvent evt) {
              Object src = evt.getSource();
              if (src == fileList) {
                   if (evt.getModifiers() != InputEvent.BUTTON1_MASK) return;
                   int index = fileList.locationToIndex(evt.getPoint());
                   if (index < 0) return;
                   fileList.setSelectedIndex(index);
                   File[] arr = getSelectedFiles();
                   if (evt.getClickCount() == 2 && arr.length == 1 && arr[0].isFile())
                        actionPerformed(new ActionEvent(okButton, 0, okButton.getActionCommand()));
         public void mouseReleased(MouseEvent evt) {}
         public void mouseClicked(MouseEvent evt) {}
         public void mouseEntered(MouseEvent evt) {}
         public void mouseExited(MouseEvent evt) {}
         public void keyPressed(KeyEvent evt) {
              Object src = evt.getSource();
              int code = evt.getKeyCode();
              if (code == KeyEvent.VK_ESCAPE)
                   actionPerformed(new ActionEvent(cancelButton, 0, cancelButton.getActionCommand()));
              if (src == filenameTextField) {
                   if (code != KeyEvent.VK_ENTER) return;
                   fileList.getSelectionModel().clearSelection();
                   actionPerformed(new ActionEvent(okButton, 0, "enter"));
         public void keyReleased(KeyEvent evt) {}
         public void keyTyped(KeyEvent evt) {}
         public void actionPerformed(ActionEvent evt) {
              Object src = evt.getSource();
              if (src == cancelButton) {
                   if (actionListener != null)
                        actionListener.actionPerformed(evt);
              else if (src == okButton) {
                   File[] selectedFiles = getSelectedFiles();
                   Object obj = fileList.getSelectedValue(); // is null when no file is selected in the JList
                   String text = filenameTextField.getText().trim();
                   if (text.length() > 0 && (obj == null || selectedFiles.length == 0)) {
                        File d = fileChooser.getCurrentDirectory();
                        Vector vec = new Vector();
                        StringTokenizer st = new StringTokenizer(text, "\"");
                        while (st.hasMoreTokens()) {
                             String s = st.nextToken().trim();
                             if (s.length() == 0) continue;
                             File a = new File(s);
                             if (a.isAbsolute())
                                  vec.add(a);
                             else
                                  vec.add(new File(d, s));
                        File[] arr = new File[vec.size()];
                        for (int i = 0; i < arr.length; i++)
                             arr[i] = (File) vec.get(i);
                        selectedFiles = arr;
                   if (selectedFiles.length == 0) {
                        Toolkit.getDefaultToolkit().beep();
                        return;
                   if (selectedFiles.length == 1) {
                        File f = selectedFiles[0];
                        if (f.exists() && f.isDirectory() && text.length() > 0 && evt.getActionCommand().equals("enter")) {
                             fileChooser.setCurrentDirectory(f);
                             filenameTextField.setText("");
                             filenameTextField.requestFocus();
                             return;
                   boolean filesOnly = (fileChooser.getFileSelectionMode() == JFileChooser.FILES_ONLY);
                   boolean dirsOnly = (fileChooser.getFileSelectionMode() == JFileChooser.DIRECTORIES_ONLY);
                   if (filesOnly || dirsOnly) {
                        for (int i = 0; i < selectedFiles.length; i++) {
                             File f = selectedFiles;
                             if (filesOnly && f.isDirectory() || dirsOnly && f.isFile()) {
                                  Toolkit.getDefaultToolkit().beep();
                                  return;
                   fileChooser.setSelectedFiles(selectedFiles);
                   if (actionListener != null)
                        actionListener.actionPerformed(evt);

  • Infopath form, one approve button with three rules, what is the order of execution

    i have designed a approval form the the "approval" button, it has three rules, one is submit to host, the second is set value to one field, the last one is to close form.
    some times, especially when the server is too busy, the first rule execute a long time, at last it seams fail, but the second and the last execute ok.
    that is, the workflow status is NOT START, but the value is set and the form is closed.
    when the approver open the workflow, the approval form check the stateValue is changed, the form show one "already approvaled" view. but the workflow still NOT START.
    i am very confused for this, hope someone give me some advices. thanks all guys!
    lixw
    i just know what has just happen. i changed some code, and this make some task been locked.
    thanks everyone!

    Why is the rule for updating a field value is set to execute after form submit? Shouldn't it be prior to submit?
    This post is my own opinion and does not necessarily reflect the opinion or view of Slalom.

  • 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.

  • Approve button of PO Approval Notification not functioning properly

    Hello,
    We are using PO approval workflow for our PO approval process.
    The approve button of the email notification is not performing the intended action, that is approving the PO.
    Since the approve is not functioning,we had to approve it from oracle.Is there any reason for this?
    Kindly let me know if there is some solution to handle such issues.This is a critical issue because not all the approvers can login
    to oracle and approve this everytime.
    Thanks in advance,
    indu

    Pl post details of OS, database and EBS versions. Has inbound processing been enabled ? Has this approval process ever worked ? If so, what changes have been made that caused it to break ? Are there any error messages in the workflow log file ?
    Configuring the Oracle Workflow 2.6/11i.OWF.H Java-based Notification Mailer with Oracle Application          (Doc ID 268085.1)
    Example Of Configuring Workflow Java Notification Mailer With Oracle Applications 11.5.x          (Doc ID 249957.1)
    Inbound Processing Is Not Happening While Approving/Rejecting From Emails          (Doc ID 418931.1)
    How To Troubleshoot When Email Notification Responses Are Processed But The Approval Workflow Still          (Doc ID 458665.1)
    Troubleshooting Inbound Email Notifications          (Doc ID 1184846.1)
    A Guide For Troubleshooting Workflow Notification Emails - Inbound and Outbound          (Doc ID 831982.1)
    HTH
    Srini

  • Hiding com.sap.pct.srm.core.action.oldwfl.approve button in 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.
    By removing approval reference in xml code, approre button and inbox hyperlink both functionality disappear. As per my requirement, Inbox approve data should have hyperlink as it is and approve button should be disappear/remove/hide.
    Otherwise without hyperlink, user has to select any workflow item and click "Details" button. For this need xml code for enabling Details button
    Anybody light on this

    Hi,
    Remove the Approval action from the XML by deleting <Action reference="com.sap.pct.srm.core.action.launchWD.oldwfl.cont.approve" />
    Also on this, <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">
    change the defaultAction="viewDetail" to enable the hyperlink which will open up the detail if click on hyperlink. If you need to open up the details in SAP GUI (ITS), change the defaultAction="launchSAPAction"
    Hope this helps.
    Jigar

  • Cup Approval process requires multiple hits of the APPROVE button

    Hello GRC CUP folks,
    We have an approval process wherein a given request can require 4 levels of approvals to be provisioned.  When a manager logs in to CUP, and tries to approve a request, she hits the APPROVE button, then the yellow status bar appears, showing the approval status so far for this request.  And she has to hit the APPROVE button again.  Then the yellow status for this current stage turns green and the workflow proceeds to the next stage.  It is getting back to me that the managers are having trouble understanding and remembering that they have to hit the APPROVE button more than once (even though we added text to that effect in the approval email).
    Is there some way to get the approval to process to the next stage with only one push of the APPROVE button?  
    Thanks for your ideas.
    Yvonne

    Hi Yvonne,
       Please go to config -> workflow -> stage -> go to change mode for Manager stage.
    Make sure that, 'Display Review Screen', 'Comments Mandatory' and 'Confirm Approval' are set to 'NO'. This will make sure that as soon as Manager hits Approve button, the request would be approved.
    Regards,
    Alpesh

  • 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 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

  • CUP 5.3 - Submit button vs Approval button

    Good day all.
    I have a query that I need assistance with.
    I am testing the end-to-end standard Request Types in CUP. I want to know why a requestor does not see a 'SUBMIT' button when Creating a Request. The requestor only see's the 'APPROVAL' button.
    The 'APPROVAL' button currently does work as a 'SUBMIT' button
    Is this standard in CUP 5.3?
    Kind Regards,
    Michael Hannie

    Hello Michael,
    When you are trying to create the request by clicking on create request option available once u login using the CUP ID and password under user login then you will be able to find the approve button rather than finding submit button. By clicking on the approve button request is created.
    But when u try to create a request by using Change account or New Account option available on the initial screen of CUP then u will be able to see the submit button option to submit request instead instead of finding the approve the option which was visible as mentioned earlier.
    This is standrad not only in CUP 5.3 but also the same with Access Enforcer 5.2 ( Access enforcer is the name used instead of CUP in the earlier version).
    Regards,
    Raghu.

  • Hide "Add Approver" button ?

    Hi guys,
    I need to hide the "Add Approver" button.  Which is the best way to do this ?   
    Im not sure if this action is feasible via Screen Variants  or if I should modify ITS templates.
    Any clue?
    Thank you !!!
    Regards,
    Diego

    This can be done via the BADI <b>BBP_CHNG_AGNT_ALLOW</b>.
    implement methods AUTHORISE_FOR_INSERT and AUTHORISE_FOR_CHANGE to block the add/change approver options.
    ABAP code would be:
    <i>method IF_EX_BBP_CHNG_AGNT_ALLOW~AUTHORISE_FOR_CHANGE.
    *No approver modification allowed
    move 'X' to  EV_CHNG_BUTTONS_DISABLED.
    endmethod.</i>
    <i>method IF_EX_BBP_CHNG_AGNT_ALLOW~AUTHORISE_FOR_INSERT.
    *No addition of approver possible
    MOVE 'X' to  EV_ADD_BUTTONS_DISABLED.
    MOVE 'X' to  EV_CHNG_BUTTONS_DISABLED.
    endmethod.</i>
    Regards.
    Vadim

  • "PO APPROVAL" BUTTON이 PO APPROVAL WORKFLOW를 CALL하는 방법

    제품: Applications
    작성날짜 : 2006-05-30
    "PO APPROVAL" BUTTON이 PO APPROVAL WORKFLOW를 CALL하는 방법
    =====================================================
    PURPOSE
    Purchase Order나 Requisition Form에서 "PO Approval" Button이
    어떻게 PO Approval Workflow를 CALL하는지에 대한 방법을 기술함.
    Explanation
    1. Purchasing approbal에서 Approve button을 Click하게 되면,
    APPROVAL WINDOW form이 call됩니다.
    ==> this is form POXDOAPP.fmb
    ==> attached corresponding library file POXAPAPC.pll
    Both Enter Requisition and Enter Purchase Order forms call
    the same approval form.
    2. The library file "POXAPAPC.pll"은
    Procedure "PO_WF_APPROVE_C.SetUpWorkFlow" 가 존재하며,
    이 procedure는 POXWPA1B.pls package file안에 있는 procedure
    "PO_REQAPPROVAL_INIT1.Start_WF_Process"를 call하게 됩니다.
    3. 이 procedure가 workflow를 call하게 되어 workflow를 초기화하고
    아래의 parameter를 사용한 workflow를 통해 document를 처리하게
    됩니다.
    parameters:
    PO_REQAPPROVAL_INIT1.Start_WF_Process
    ( ItemType => ItemType,
    ItemKey => ItemKey,
    WorkflowProcess => WorkflowProcess,
    ActionOriginatedFrom => ActionOriginatedFrom,
    DocumentID => DocumentID,
    DocumentNumber => DocumentNumber,
    PreparerID => PreparerID,
    DocumentTypeCode => DocumentTypeCode,
    DocumentSubtype => DocumentSubtype,
    SubmitterAction => RequestorAction,
    forwardToID => forwardToID,
    forwardFromID => forwardFromID,
    DefaultApprovalPathID => DefaultApprovalPathID,
    Note => DocumentNote,
    printFlag => print_check,
    FaxFlag => fax_check,
    FaxNumber => fax_number,
    EmailFlag => email_check,
    EmailAddress =>; emailaddress,
    CreateSourcingRule => Create_Sourcing_Rule,
    UpdateSourcingRule => Update_Sourcing_Rule,
    ReleaseGenMethod =>; Rel_Gen_Mthd,
    MassUpdateReleases => l_massupdate_release, -- RETROACTIVE FPI CHANGE
    RetroactivePriceChange => 'N' , -- RETROACTIVE FPI CHANGE
    OrgAssignChange => l_org_assign_change );
    Reference Documents
    Note#289840.1

  • How to override Approve button for list item?

    Hello,
    Is there a way how to override the method that runs after list item is approved / rejected? I know there is a way for the Save button but I can't find how to do it for the Approve button.
    I have a list with approval and workflow. Then I have a page that displays the items from the list in my webpart in a calendar/grid way. The items in the webopart have links leading to the display form with the item ID and Source parameters. Source parameter
    leads back to this page. The background color of the item in the webpart is decided by the approval state of the item.
    When user approves the item and the item form closes user is then sent to the page with the webpart (via the Source parameter) but the workflow takes couple of seconds more to process the aproval so the color is not changed when the webpart renders but if
    the page is refreshed it shows the correct color because the workflow has finished.
    I want to override the Approval method, let it update the item so the workflow can fire and process the approval, delay the form a bit and then continue as usual so when the user is redirected to the webpart page it would render with the correct state.
    I can make a delay page that redirects to the webpart page and change the Source parameter in the items link to go there but it doesn't look that great.
    Or maybe there is a way how to do it in Javascript? I am using it in the new item form using the SP.UI.ModalDialog.showModalDialog(options) function where the dialogReturnValueCallback refreshes the windows after 3 seconds.
    dialogReturnValueCallback: function(dialogResult) {
            if (dialogResult == SP.UI.DialogResult.OK) {
             setTimeout(function(){window.location = "MyPageUrl"}, 3000)
    Thanks for any tips and ideas!

    you can try to achieve this via separate responsibility by personalizing the form by display false on the particular control button..

  • How to create a radio button that changes colors

    I'm using Acrobat X and ID CS5 on Mac OS X.
    A couple of years ago someone on the forums explained to me how to create a button that changes color with each click. You can view a sample PDF at https://dl.dropboxusercontent.com/u/52882455/colorcycle.pdf. They gave me the document JS and showed me how to set the properties of the button. I've integrated the button into a particular series of PDF forms and it's worked out very well.
    Now I would like to do the same thing, but using a circle instead of a square. Can anyone tell me the best way to do this? Can I somehow set a radio button to cycle through colors in the same way? I design my forms initially in ID CS5 and then activate and format the fields in Acrobat X. I've tried using circles instead of squares in my ID document, but when I export to an interactive PDF, they're converted to squares.
    Any ideas?

    I understand how to make buttons cycle through colors-- the problem I'm having is that I'm trying to figure out how to make a circular button cycle through colors. When I export my ID document to PDF, my round button maintains it's original appearance, but when I click on it to cycle through the colors, it behaves like a square (see new PDF at https://dl.dropboxusercontent.com/u/52882455/colorcycle2.pdf).
    If I use a radio button, I can get it to cycle through colors, but I don't want it to have a black dot in the middle. Is there a way to format the radio button to not show the black dot when clicked?

  • How to - only display the price of approved PO (not change mode)

    Hi,
    Following are our PO release strategy
    1. Release id : P has
        a. Released indicator (tick)
        b. Changeablity - 4
    The above setup is working fine, means still after the approval users can change all the fields. New strategy is triggered once the values are changed.
    Now the issue is business owner does not want the price, qty in change mode after approval. After approval ME22N to show
    1. Price & qty to be in display mode
    2. All other fields (except the one which affects PRICE) in  change mode.
    I tried to all the combinations, but after approval I get to see either all the fields in display mode or all in change mode.
    Is it possible to display the price related fields only for the approved PO in ME22N.
    Please advice
    Thanks,
    Raj.

    Hi Mani,
    Thanks for the fast reply.
    1. There is no ME22N - Fsel Key available.
    2. Only for the approved PO - we want the price fields in display mode.
    3. There is no restriction required for the un approved POs.
    Is there any way.
    Please reply
    Thanks
    Raj.

Maybe you are looking for