JFileChooser Approve Button Error check

Hi. I am trying to test my save button on my JFilechooser. How do you check to see if the user has inputed anything in filename text field? I have tried the following:
if (thefile == null || thefile.getName().equals(" "))
     Frame theframe = new Frame();
     JOptionPane.showMessageDialog(theframe, "Invalid file name. ", "Error", JOptionPane.ERROR_MESSAGE);
}

What is the error that you are getting? One work around is that you can simply go ahead and try to do a file operation using theFile.. all you need to do is enclose it in a try catch block and catch the exception. Once an exception is thrown, that is where you can write you error reporting code..
hth

Similar Messages

  • Wwsbr_notification_portlet.show_approval - Approve button throws error

    <p>
    Portal Version: 9.0.4.2<br>
    RDBMS Versjion: 10gR1<br>
    OS/Vers. Where Portal is Installed:: Sun Solaris 9<br>
    Error Number(s): Internal error (WWC-00006) An unexpected error has occurred (WWS-32100)<br>
    </p>
    <p>
    I have a procedure that looks for pending items in the portal content tables, then sends emails to all users in the approval routing for each pending item. For some older pages, when I navigate to the approval form from a link in the email and click on the approve button, portal throws "Internal error (WWC-00006) An unexpected error has occurred (WWS-32100)". If I backup to the approval form again follow the link to the pending item's page in mode 25, I'm able to approve the same item without any problem.
    </p>
    <p>
    For newer test pages I create, public or private it doesn't matter, the error does not happen and approval works without a hitch. I've tried updating the approval routing on the new page to match that of the "old" page and still the new page doesn't throw this error.
    </p>
    <p>
    The URL that is used to launch the approval form is generated using the following code (domain name and some details have been removed):
    </p>
    <p>
    </p>
    <p>
    select <br>
    'https://my.domain/pls/portal/PORTAL.wwsbr_notification_portlet.show_approval?p_back_url=https%3A%2F%2Fmy.domain%2Fportal%2Fpage%3F_pageid%3D'
    || ia.site_id || '%2C' || ia.page_id || '%26_dad%3Dportal%26_schema%3DPORTAL&p_item_id='
    || ia.item_id || '&p_page_id=' || ia.page_id || '&p_title=' || t.title
    || '&p_title_link=https%3A%2F%2Fmy.domain%2Fportal%2Fpage%3F_pageid%3D' ||ia.site_id || '%2C'
    || ia.page_id || '%26_dad%3Dportal%26_schema%3DPORTAL%26_mode%3D25&p_instance_id='
    || ia.approval_instance_id ||'&p_approver_id=' || ia.approver_id ||'&p_approval_id=' || ia.approval_id || '">'
    || NVL(t.title, '[NO NAME]') || '</A>' As APPROVALFORMURL
    from wwsbr_item_approval$ ia, wwv_things t, wwpob_page$ p
    where t.id = ia.item_id
    and t.subscriber_id=ia.subscriber_id(+)
    and t.cornerid = p.id
    and t.id = approval_items_rec.id
    and rownum = 1;
    </p>
    <p>
    </p>
    <p>
    Has anyone else seen this kind of problem before?
    </p>
    <p>
    I've determined that the error that occurs after clicking on the Approve button from the pending item approval form generated by a call to PORTAL.wwsbr_notification_portlet.show_approval is caused whenever the approval routing for the item's page has a group in it and someone edits the membership of that group while there are any pending items on that page.
    </p>
    <p>
    IMHO, this is not a very good "feature" of Portal. Portal stops users from editing the approval routing list of a page that has pending items, but it doesn't stop users from editing the group membership of a group that is on that same approval routing list. If the page in question is busy with a lot of different content authors adding content pending approval at any time of any day, when is it safe for someone to edit the membership of a group that is referenced in the approval routing (or a group that is a member of a group referenced in the approval routing)? In my opinion, this needs to be fixed. Portal should lock all of the groups associated with the approval routing list either directly or by composition when it locks the approval routing itself.
    </p>
    I've been able to work around the error by navigating to the page in _mode=25 and clicking on the approval actions icon next to the pending item (approve button works when form is generated by the link that calls wwv_thinghtml.content_actions_screen. It may be that this only works because my session is as the page creator.
    <p>
    Can I use PORTAL.wwv_thinghtml.content_actions_screen instead of PORTAL.wwsbr_notification_portlet.show_approval to display the approval form, or could this cause problems with the approval routing procedure or security? I've tried it and it works with a portlet wrapper and some error checking (determine if item has already been approved/rejected).
    </p>

    hi,
    please open a service request with oracle support to analyze the problem.
    in portal 10.1.4 we offer an easy way of doing this with our new CMEF (content management event framework). you can easily check for pending items and send out an email.
    find more information here:
    http://download-uk.oracle.com/docs/cd/B14099_15/portal.1014/b14135/pdg_cm_cmef.htm
    regards,
    christian

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

  • 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

  • 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

  • SC status "Awaiting Approval" - WS10000060 error

    Dear colleagues,
    We are on SRM 5.0.
    We have the following problem:
    When creating a Shopping Cart, the status of the SC remains as "Awaiting Approval".
    We have only activated Workflow WS10000060 Workflow without approval, and all checks regarding Workflow customizing seem ok.
    I have checked transactions indicated in Note 322526 and have not been able to find the origin of the error:
    SWU3 seems OK, in SWU0 WS10000060 Workflow Without Approval Shopping Cart  appears as succesfully started.
    In transaction SWEL i can see no events however, even though the event log is activated.
    In SWI1 however  I can see the ERROR status of the workflow:
    2036     (Sub)workflow     1000000076 Workflow without approval     02.11.2006     16:16:11     WS10000060     Workflow Without Approval Shopping Cart     0     0     ERROR          00:00:00     0          5 Medium     0     2036          0     0                    No Agent Available                    
    The message says "No agent available", but I believe for workflow WS10000060 no agent is needed, right?
    I also get the following messages:
    Message Text         Error when processing node '0000000241' (ParForEach index 000000)                  
    Exception            8987                                                                               
    Symbolic name                                                                               
    Error Type           1                                                                               
    Area                 SWP                                                                               
    Message              88                                                                               
    Variable 1           0000000241                                                                         
    Variable 2           000000                                                                             
    Variable 3                                                                               
    Variable 4                                                                               
    In the step history, the error appears in this steps:
    Exception occurred Error when starting work item 000000002036
    Error when starting work item 000000002036
    Message no. SWP085
    Error when processing node '0000000241' (ParForEach index 000000)
    Message no. SWP088
    Error when creating a component of type 'Etapa'
    Message no. SWP087
    Error when creating a work item
    Message no. SWP044
    Unable to determine work item type for step at node 0000000241
    Message no. SWP135
    Any ideas? Would appreciate any help, will reward with points.
    Thanks a lot in advance !

    Hi,
      The workflow WS10000060 is linked to a reviewer workflow WS10000265.
    It may be the case that no active versions of this workflow exist in
    your system.
    In transaction SWDD select other WF-Definition = WS10000265.
    This should activate version 0000
    - Create new version - (activate version 0001)
    - menu Workflow >Activation >Generate and activate runtime version
    - Transaction SWUS
    Workflow: WS10000265
    Click on Button Refresh Organizational Environment
    Synchronize the runtime buffers with transaction SWU_OBUF.
    Kindly then retest the workflow WS10000265 to see if it is now ok.
    You can do this by the following steps :
    1. Transaction SWUD
    2. enter workflow WS10000265, press enter
    3. execute 'Test environment'
    4. check 'Including subworkflows'
    5. execute 'Consistency check for components'
    If there are no errors then please do the same for workflow WS10000060.
    If there are no errors for this workflow either then the problem
    should be resolved.
    BR,
    Disha.
    Pls reward points for useful answers.

  • CProject 4. 0 Document Approval Document Error

    Hi All,
    We have the configuration that was working fine for Phase Approval in cProjects 4.0.
    I am having a look at it as we are getting ‘<b>You can not begin approval without an approval document’</b> error message on click of ‘Begin Approval’ button.
    Though I have not checked ADS (Note - 944221), this does not seem to be  ADS problem as the ‘Document’ with decision as ‘Granted’ gets displayed properly.
    I create New Approval by adding approver, after click of ‘Begin Approval’, then the error message gets displayed.
    Configuration seems OK as it was working fine few days ago.
    Also looking at note – 874054 (Is it only for cProjects 3.1 ?)
    The only thing which I am doubtful about is, in configuration ‘Activate Forms Per Project Type’ where I need to deactivate the smartform ‘DPR_APPROVAL_HIER’, which is set to ‘Active’ (i will deactivate and test again). Also the PDF Print form ‘DPR_APPROVAL_HIER’ is set active.
    Thanks in advance....

    Hi Bushan,
    try this ,
    In c project configuration --> Activate From per Project Type
    --->you ACTIVATE the PDF FORM
    ---> DEACTIVATE the smart form
    for DPR_APRROVAL_HIRE FORM
    thanks
    sunil

  • Error checking no longer works when filling in a form - FF 29

    I am running FF 29.0 and when I try to fill in the following form, the error checking on the form does not work, I cannot tick the checkbox and the 'Submit' button remains 'greyed-out'.
    The problem persists in 'Safe' mode. Here is the form in question:-
    https://digitalmailbox.com.au/registration
    Hope a solution can be found.
    Regards
    Dennis W

    I don't normally use Internet Explorer but on this occasion I thought I would give it a try.
    IE 11.0.9600.17105 handles the above registration page without a problem.
    Is the problem with FF 29 or with the webpage in question?
    Regards
    Dennis W

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

  • Approval Center Error: One or more categories of approval could not be loaded

    Hi Team,
    We are using EPM 2013 version , recently one of our user encountered a problem with Approval Center while accepting task updates, on the Default welcome page he has 112 Pending approvals but while clicking Approval center he getting error as "Error:
    One or more categories of approval could not be loaded when user wants to approve" We have checked on the following possibilites but still we are facing this issue Kindly help us on this
    1. I have checked user permission He has Project Manager Access and Timehseet Approval Access
    2.While changing the task ownership to another PM and the task is reflecting correcly on the new PM's Approval center while reverting back the task owneership he faces same issue.
    3. He is trying  for the task updates, we have tried re sving user profiles but nothing changed issue still occours
    4. Checked on the ULS Log And find the error
    Permission denied: User i:0#.w|enterprise\User01
    does not have global permission 'ManageServerConfiguration'.
     Please revert for any other information required.
    Thank you
    Senthil Gopi
    Thanks and Regards, Senthil Gopi

    Hi,
    This is a known bug.
    You can find a workaround here:
    http://www.msprojectnow.com/Blog/tabid/142/entryid/828/Project-Server-2013-Error-loading-Approval-Page.aspx
    Regards,
    Philip
    Verlinden Philip

  • Pop up message for confirmation in standard bsp on approve button

    Dear friends
               I am supposed to put one pop up confirmation message in 'hap_document' bsp application on approve button, this is MVC frame based application and used to show appraisal details. I have check with the event handlers, but is structured dynamically.  I have put a break point at various places. but from the portal when i m running the application it doesnt go into debugger..
    Please give me some ideas how to debug this application and how i will know the place where i need to do the coding for the pop-up confirmation message.. any help of yours will be greatly appreciated
    thanking you
    Regards
    Naeem

    Dear Naim Khan S Babi,
    Different controllers, views and BSP pages are availabe withing the application.
    You just keep the debug on the on the main methods like, DO_INIT, DO_REQUEST and DO_HANDLE_EVENT. So that you easily find where your application navigates.
    Hope this will be helpful.
    Regards,
    Gokul.N

  • 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

  • 'Approve' button not displaying in the Approve Role screen Inbox - AC 10

    Hello Gurus,
    I have a challenge and I'd be glad to have it fixed.
    I am configuring Role Management in GRC AC 10.0.
    I am in Approve Role phase.
    After clicking on Initiate Approval....It send the request to the Role Owner's work inbox for approval.
    However, when the role owner logs in, only the "Other actions" button shows. The "Approve" button does not show.
    The "other actions" have options for "Hold" and "Request information"
    Please note the following in the MSMP settings.
    I am using the default settings in MSMP
    Process ID - SAP_GRAC_ROLE_APPR
    Maintain Path (Path ID - GRAC_DEFAULT_PATH ) & Stage Config ID - GRAC_DEFAULT_STAGE
    Maintain Route Mapping - GRAC_ROLEAPPR_INITIATOR
    Generate Version - Version generation was successful.
    I have also assigned the following roles to the ROLE OWNER
    SAP_GRAC_BASE
    SAP_GRAC_NWBC
    SAP_GRAC_ROLE_MGMT_DESIGNER
    SAP_GRAC_ROLE_MGMT_ROLE_OWNER
    SAP_GRAC_ROLE_MGMT_USER
    Please help me...what am I doing wrong?
    Thanks

    Hi Colleen,
    Thanks for reply. I have configured the workflow with default path and with one stage (role owner approval). When we create roles, request is being sent for role owner for approval.
    Role owner is able to see the request in workplace inbox. But not able to approve it. We are getting the same kind of error when we raise requests for user access also (you can see the error screen shot for access request and the same kind of error is occurring for role approval also).
    All requests are stuck up at role owner for approval. Quick response is much appreciated.
    Regards
    Sasi

  • In STS,is the "Approved" button only belongs to authorization "R_STS_SUP"?

    Hi all,
         I find that user have the authorization of "R_STS_SUP" can see the "Approved" button in STS running,without "R_STS_SUP" ,users can only have these:
    ·         From “new” to “in process”
    ·         From “in process” to “for approval”
    ·         From “for approval” to “in process”.
    is that true? how can I let the users without "R_STS_SUP" can have "Approved" button?
        thank you!

    Hi Stephen,
         thank you,I checked my user's authorization,he has R_STS_PT and Activity = 16. assume I have  USER_A,USER_B ,I assiged USER_A to Headquarter,USER_B to HR dept. in STS running, USER_B can not see "Approved" button, but USER_A can see the lower level USER_B's "Approved" button, but in USER_A's own level ,USER_A can not see his "Approved" button.
        how can user have "Approved" button in this own level and don't have the authorization "R_STS_SUP"?
       thank you very much.

  • 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

Maybe you are looking for

  • Mapping from flat sql message to nested idoc

    Hi, im trying to map the values from a database select to an idoc. the structure is  like that: ?xml version="1.0" encoding="UTF-8"?> <ns0:Messages xmlns:ns0="">    <ns0:Message1>       <ns1:MT_SQL_Invoice_Req_response xmlns:ns1="">          <SELECT_

  • Application server 10g R2 taking time to load.

    hi all. i am using oracle Application server 10g R2 when i boot my windows server 2003 R2 then its taking time to load application server more than 5 min what is the problem why its taking time to load? any onw knows?

  • Will Instant Client 10.2.0.1 be available for Solaris 32-bit (SPARC)?

    The latest Instant Client release is currently not available for Solaris Sparc 32-bit. Does anyone know when it will be available? Thank you.

  • Can't open PDF on iPhone - blank grey screen appears

    Hi. I have downloaded the latest reader on my new iPhone 6. I cannot view PDF douments. If I try to open a file, Safari opens to a blank grey screen. I can see the "open in" prompt but cannot click on it. Any suggestions? Thanks.

  • JSAM opening multiple times

    HI, Currently we are running Juniper 6.5 I have no problems logging into Juniper and starting any Citrix applications, but every time a new app starts a new secure manager starts. So if I have 5 Citrix apps running I have 5 JSAM's running as well. Im