Screenshot Processing

          saveButton.addActionListener
               new ActionListener()
                    public void actionPerformed(ActionEvent event)
                         sig1.setVisible(true);
                         sig2.setVisible(true);
                         sig3.setVisible(true);
                         saveButton.setVisible(false);
                         try
                              Toolkit toolkit = Toolkit.getDefaultToolkit();
                              Dimension screenSize = toolkit.getScreenSize();
                              Rectangle screenRect = new Rectangle(screenSize);
                              Robot robot = new Robot();
                              BufferedImage image = robot.createScreenCapture(screenRect);
                              JFileChooser jFileChooser = new JFileChooser();
                              int returnVal = jFileChooser.showSaveDialog(saveButton);
                              if(returnVal == JFileChooser.APPROVE_OPTION)
                                   ImageIO.write(image, "jpg", new File(jFileChooser.getSelectedFile()+".jpg"));
                         catch(Exception e)
                              System.out.println(e);
                         sig1.setVisible(false);
                         sig2.setVisible(false);     
                         sig3.setVisible(false);
                         saveButton.setVisible(true);
          );I'm using the above code to capture and save a screenshot. However, I have two "problems." First, the screenshot saved is not showing sig1, sig2, or sig3 and is still showing saveButton. When my filechooser pops up, the screen looks the way I want it (showing the sigs and not the button), but the screenshot is showing the "old" screen. Secondly, my screenshot is getting my entire desktop, and I would like it to only get the currently open Java window. Can anyone provide some suggestions? Thanks a lot!

This is my standard response to a question like
this:
If you need further help then you need to create a
[url
http://homepage1.nifty.com/algafield/sscce.html]Short,
Self Contained, Compilable and Executable, Example
Program (SSCCE) that demonstrates the incorrectbehaviour, because I can't guess exactly what you are
doing based on the information provided.
And don't forget to use the [url
http://forum.java.sun.com/help.jspa?sec=formatting]Cod
e Formatting Tags so the code retains its
original formatting.
Because I guess I don't understand your problem. I
just reran my ScreenImage class. I changed the code
so that when you click on the "Create Images" button
I do the following:
a) set the button invisible
b) start a new Thread
c) in the Thread I sleep for 50ms
d) create an image of the frame
The resulting image does not contain the button. I
though you where trying to remove some components
from the frame before taking an image of the frame.
I believe I've done those 4 steps in my code. Here is the current code I'm using, with comments where I believe I am doing a, b, c, and d:
          saveButton.addActionListener
               new ActionListener()
                    public void actionPerformed(ActionEvent event)
                         sig1.setVisible(true); // a) setting fields visible and button invisible
                         sig2.setVisible(true);
                         sig3.setVisible(true);
                         saveButton.setVisible(false);
                         location = getLocationOnScreen();
                         dimension = getSize();
                         EvalRunnable evalRunnable = new EvalRunnable();
                         Thread t = new Thread(evalRunnable);
                         SwingUtilities.invokeLater(evalRunnable); // b) starting new thread (class EvalRunnable below)
                         sig1.setVisible(false);
                         sig2.setVisible(false);     
                         sig3.setVisible(false);
                         saveButton.setVisible(true);
public class EvalRunnable implements Runnable
     public void run()
          try
                        Thread.sleep(50); // c) putting thread to sleep for 50ms
               Rectangle screen = new Rectangle(ViewEval.location, ViewEval.dimension);
               Robot robot = new Robot();
               BufferedImage image = robot.createScreenCapture(screen); // d) creating image of the frame
               JFileChooser jFileChooser = new JFileChooser();
               int returnVal = jFileChooser.showSaveDialog(ViewEval.saveButton);
               if(returnVal == JFileChooser.APPROVE_OPTION)
                    ImageIO.write(image, "jpg", new File(jFileChooser.getSelectedFile()+".jpg"));
          catch(Exception e)
               System.out.println(e);
}So I think I did those 4 steps you recommend. Did I do anything wrong? Thanks a lot for the help camickr and others.

Similar Messages

  • Simplest screenshot process

    Hi,
    I have read a lot of web literature about screenshots on OS X 10.6. but I did not find the missing software/process/keyboard trick.
    Does anyone know a software that just let me do the 3 following steps:
    1. Make a keyboard combination to make appear a crosshair to take a picture
    2. Take picture
    3. Name the picture (or cancel) + Enter or something like that.
    The pictures goes to a predefined folder.
    cmd + **** + 3 : works for steps 1, 2.  but the step 3 is missing.
    All I need, is to easily add a name to a just taken picture. (I don't want to start a software, make cmd+S, select folder location, ...).
    In that way, I will be able to sort all pictures by both (name, date of creation) later.

    hum,
    Yes, you're right:  the crosshair works with Command-shift-4 and not Command-shift-3.
    but,
    I don't want to run after my screenshot. I just need to be sure it's at the right place, with a name I have to write.
    I found an apple script on a web site doing this: and I create mine with.
    Here is the code (juste change the computer user name in the thePath to set a different folder).
    set format to "jpg"
    set fformat to "." & format as string
    set now to (current date)
    set D to day of now
    set Mo to month of now as integer
    set Y to year of now
    set h to (time of now) div 3600
    set Mi to ((time of now) mod 3600) div 60
    set s to (time of now) mod 60
    set momento to Y & Mo & D & "-" & h & Mi & s
    set thePath to "/Users/********/Desktop/"
    set info to "Tag the picture you're going to take or die"
    set defAns to ""
    tell me to display dialog info default answer defAns buttons {"Cancel", "Ok"} default button 2
    copy the result as list to {abrev, button_pressed}
    set filename to "[" & abrev & "]" & momento & fformat
    set doit to do shell script ("screencapture  -i -t" & format & space & (POSIX path of thePath) & filename as string)
    I get for instance a [website]2011526-1723.jpg file
    or a [art]2011526-1731.jpg
    With a little change, the tag can indicate a different folder destination. (Art in artFolder, website in website folder, or create if it does not exist).
    Now, last problem: how to update the shortcut command-****-3 to run my script and not the native's one ?
    any idea ?

  • Apple DVD Player-like screenshot censor / keystroke event handler priority?

    I am really interested on a way to restrict a fragment of my application to screenshots.
    I've managed to handle screenshot keystrokes and almost achieved what i wanted, BUT!
    Currently i'm struggling to fix problem with race condition between os' screenshot process. Usually i am first and i am able to hide part of my app against screen grabber, but that't not the rule. Sometimes my event handler is slower, than screen grabber.
    My question is - is it possible to increase event handler priority / main thread priority, so my app will receive all keystrokes with increased priority?
    Thanks in advance!

    The Fade In-Out behavior in the library palette
    animation\animation
    might give you some ideas.
    It is time basedd (fewer courser steps on slow systems) and
    works in
    background.
    It looks like you might be able to extend the mFadeActivate
    handler to
    work with your menu stuff
    Here's a rough example
    on mFadeActivate me, finalBlend, totalMS, excludeSprite
    To bring in menu sprite 10 and turn down any others mid
    process:
    sendSprite(10, #mFadeActivate, 100, 500, 0)
    sendAllSprites(#mFadeActivate, 50, 0, 10)
    The second call sets all other elements to 50% blend in 0
    time, except
    sprite 10
    if excludeSprite = me.spriteNUm then exit -- this line
    handles the
    exclued sprite num

  • Set trip currency according to personnel area

    We have a consolidated worldwide operations into one company code (in the US) but this company holds many employees who reside in other countries. We have set up a personnel area for each country, although all are assigned to the US01 company code. These employees are paid in their local currency (e.g. GBP, EUR, HKD) via local payroll companies. Expenses are recorded manually via journal entry.
    I would like to set up these employees to use travel management, but I cannot find a way to set travel expenses/trip currency according to their personnel area. In other words, I wish to reimburse my UK employee in GBP, Europeans in EUR, etc. When I try to change Trip Provision Variant for one personnel area, I receive an error message and am forced to change it for all personnel areas.
    The only solution I can find is to change Global Settings such that foreign settlement of receipts is set to "per receipt". I find this to be risky since the change would affect my 300+ US users as well as my 10-20 non-US users. I am concerned that a US user may complete their receipts incorrectly for foreign trips and inadvertently force reimbursement in foreign currencies.
    Please advise ...

    Hi Michele
    Yes, you can find out the currency from T500P and then checking the WAERS in T500.
    In the screenshot above, the departure country(or home country) is Philippines and the visiting country is Singapore.
    So when the employee arrives in SG, the receipt amount is shown in SGD and a comparable amount in PHP is also shown(As the amount has be reimbursed in PHP). It automatically factors into account that day's  currency conversion rate for SGD->PHP.
    You may want to check the parameter RECEIPTS for amount in local currency in the method USER_CHECK_RECEIPTS of the BAdi : TRIP_WEB_CHECK.
    Now all you need to do is to check if the employee's home country currency isn't equal to the receipt currency(left one in the screenshot), process the local currency(right one in the screenshot). Works well for single line item.
    For multiple line items, add up the amount of local currency of all line items and process.
    NB: USER_CHECK_RECEIPTS works for multiple line items in receipt page of expense report whereas USER_CHECK_LINE_OF_RECEIPTS works when you know the receipt won't contain more than 1 expense type. So better implement USER_CHECK_RECEIPTS to avoid processing only the first line item. Company's gain, employee's pain
    Do note that this BAdi works only for portal and not for SAP GUI.
    I hope you are abap developer.

  • How do i add Linux systems to be monitored using Virtual agent/SNMP in OLT?

    Dear All,
    I need to know the process to add Linux systems to be monitored using Virtual agent and SNMP in OLT ?
    I have added my details to Virtual agent and chosen ssh and all i get is cannot connect
    Appreciate if someone can give me the detailed screenshot by screenshot process.
    Regards
    Praveen

    On 05/13/2010 09:30 AM, Raja Vengala wrote:
    >
    Yes, the problem is with the old packaged PLINK.exe. Downloaded version is working smoothly. Any reason for shipping the old version ??
    From: Mikael Fries
    Sent: Wednesday, May 12, 2010 11:56 PM
    To: Praveen Arora; Drupad Panchal; Matthew Demeusy; Ashish Dave; Raja Vengala
    Subject: RE: OLT Linux system moniting issue
    Praveen
    I have set up LINUX and virtual agent configs a couple of times, and it has worked pretty ok.
    What I found was that you might have to download a newer version of PLINK.exe and put that onto your OLT system.
    (with the packaged version, I also had some communication issues)
    Try to download the lates plink.exe and see if that works…
    (you may want to restart you system after replacing plink.exe)

  • Procedure for transfer data between clients using ALE

    Hi all ,
       I am new to this concept .
       I want to transfer the material master data from quality client (200)  to  Development Client(100) using ALE and IDOC, how to do ?
    What would be the procedure ? plz let them explain step by step of definition along with screenshot / process ....
    Regards
    Deepa.

    T.Code: BD54
    Step 1:create a logical system qaout in quality system
    Step 2:create a logical system devin in quality system
    Step 3:create a logical system qaout in development system
    Step 4:create a logical system devin in development system
    T.Code: SCC4
    Step 5:Assign qaout to 200 client in quality system
    Step 6:Assign qaout to 100 client in development system
    T.Code: SM59
    Step 7: Create R/3 type (or ABAP type in ECC)RFC destination RFCDEV in quality system
    T.Code: WE21
    Step 8: create Port with above rfc reference in quality system
    T.Code:BD64
    Step 9:Create distribution Model (use matmas message type) in quality system
    then  Environment ->Generate Partner profiles
    Then Edit ->modelview -> distribute
    T.Code: BD10
    Step 10: select the material for distribution in Quality System.

  • HT4527 I am trying to transfer music files from one PC to another using homeshare and although I can view the music as a shared folder I cannot initiate the "import" process.  I have iTunes 11.0.1.12 on both computers so the help screenshots do not help a

    I am trying to transfer music files from one PC to another using homeshare and although I can view the music as a shared folder I cannot initiate the "import" process.  I have iTunes 11.0.1.12 on both computers so the help screenshots do not help as such

    Then stop trying to use HomeShare and use one of the other options listed in the document from which your question was posted.

  • HT201263 What will i do?screenshot There is a problem with your iPhone. Please visit the Service Answer Center to find answers to all your questions about service options, warranty and other processes in your country. To find your nearest Apple Store, cli

    What will i do? ITune screenshot is as follows >
    There is a problem with your iPhone. Please visit the Service Answer Center to find answers to all your questions about service options, warranty and other processes in your country. To find your nearest Apple Store, click here.

    Do what it said to do.
    "Please visit the Service Answer Center to find answers to all your questions about service options, warranty and other processes in your country. "

  • Validation of SAP End to End process,screenshots capture

    Mine is an automation SAP testing project using QTP 10.0
    We are supposed to send validation to onsite guys.
    We tried using HTML coding and also word document to capture the screenshots.
    Size will be very big for word document and for HTML the location was the BITMAP of the screens are saved are not accessible by onsite folks.
    Please help in finding the solution

    Hi Vikrant,
    Whenever you are integrating MDM with any SAP or NON-SAP system data flow takes place in the form of Files.
    If the data format are in the MDM understandable format then the data exchange can take place smoothly even without the use of XI,however if you are exchanging data in formats like Idocs or Bdocs which are not understandable by MDM then XI comes in the picture for data conversion and data monitoring purposes.
    If you data flow in the form of Idocs rae failing then you need to find the reason of failure by using Transactions to monitoring the status of the idocs for eg status 51 will point that there is a problem in the data.
    In this way you can test the integration of the scenario using XI in place.
    Note that creation of a master by entering into the ERP system like ECC is different than creaating the master through the form of an idoc.There are a lot of mandatory and optional like validations that may not be true in both the cases.
    So the only way is by monitoring the idocs flow nad faliure in the ECC system or XI system.
    Kindly refer the below thread:
    Re: Idoc failure
    Hope It Helped
    Thanks & Regards
    Simona Pinto

  • Lexicographic image processing

    I want to process the array of an image lexicographically (meaning reading as you write, so from left to right). Normal arithmatic functions (division, multiplication etcetera) multiply the entire array, but I want to push the top-left pixel through my algorithm, and then the one to the right of that, and after that one the one to the right of that, up until the last pixel, and then it starts with the pixel one row beneath the first one all the way on the left.
     To illustrate, imagine an image of 12 X 16 pixels:
    I want to calculate what value each pixel is supposed to have. I do this by comparing the actual value with the value I want. I calculate the value it needs to be at a certain pixel by looking at how far it is from the origin. The origin is in the center:
    The distance then from the origin to the actual pixel is this:
    The length of this 'vector' is then calculated by splitting it into a horizontal and vertical part:
    The length is then the the x-coordinate squared and the y-coordinate squared added together and then the root of that number is taken. So that's basically the theorem of Pythagoras. I know that in this case, the length found is not the real length, because you use x=1 and y=1. So first off I subtract 8.5 from the x value and 6.5 from the y-value before going any further.
    But I want to process the pixels in the order of y=1 x = 1, 2, 3, 4, 5, 6, 7, 8 etcetera and then y=2 x=1, 2, 3, 4, 5, 6, 7 etcetera. That is exactly what lexicographical processing is. But how can I get this to work? In my VI you can see how I am currently exporting just the numbers of the total size of the image (or frame of a video), but I want to process them one by one. I looked up some helpful Labview files that do something similar, like the 'Check Pixel Value' VI but there you have to manually scroll through the data. I want it to happen automatically.
    So how can I process pixels of an image lexicographically?
    Solved!
    Go to Solution.
    Attachments:
    USB Webcam n-bit to corrected 1 bit.vi ‏59 KB
    Check Pixel Value-2013.vi ‏31 KB

    Yes, I do have a 2D array. I use the IMAQ Vision VI's to get my webcam to run. The solution is rather simple in that sense, yes.
    But here is the deal though: the comparing with the Lorentzian function returns me a value. That is rounded to either a 0 or a 1, because it will be the pattern used for a Digital Micromirror Device (DMD). This induces an error. In order to make up for that, I need to correct it using neighbouring pictures (if a pixel is surrounded by 8 pixels, then the diagonal pixels are primarily used for this). I tried something similar in which I split it into 'rows' and process that, but that ofcourse removes the option to resolve the induced error.
    The 'easiest' way is to split it into 1024 times 728 pixels and hook all of these up to the formula and connect each of them to their corresponding pixels, but that would take several months, so that's not an option.
    Could you be more concrete in how you would do this? I tried something similar but thought, because of that error resolving, it would remove the option to work in this way, because it doesn't allow 'inter-row interaction'.
    To give you some background:
    I want to use a DMD to create a laser with a top-hat wavefront, meaning it's intensity distribution is equal everywhere on every point of the wavefront. For this we hook a CCD camera up to our computer which measures the intensity distribution. This image is then sent to our Labview program, which processes this image and turns it into a pattern for the DMD. The DMD or Digital Micromirror Device is a device that is made up of thousands of tiny mirrors, all of which can stand in either + 12 degrees or -12 degrees.
    We look at the profile and compare that to a profile as simulted by a Super Lorentzian function
    A Super Lorentzian function looks like this:
    A / (B + ( (X-C)/X0) ^n)) + D
    A/B is the top value
    C is the horizontal transliteration
    X0 is a value referring to the width of the function
    n is a power
    D is vertical transliteration
    For even numbers of n the function produces a top hat function. In our case, we want to simulate an eigth order Super Lorentzian, so n=8
    The image of the CCD Camera is a 12 bit image. Labview saves this as 16 bit, meaning it has 2^16 different grayscale values.
    I don't have the CCD camera yet so for now I use the webcam of my laptop and turn that into a 16-bit image.
    Here a some screenshots of my program so far:
    And a SL function looks like this:
    Our error inducement comes from an algorith developed by Dorrer and Zuegel, two german physicists.
    A screenshot of their paper concerning binary spatial light modulation:
    But the main issue I am concerned with is thus the error inducing. Doesn't normal array processing remove the possibility to do so? And if not, how can I do it?

  • Issue in Process Controlled workflow for Shopping cart in Quality system.

    Hello All,
    I ahve configured a Process controlled workflow in SRM 7.0  with custom resolver, and I am facing an issue taht the Workflow works well in Development but in Quality the approvers are dropped after SC is ordered in Quality system.
    The SC Workflow drops the approvers picked up from the Interface  method /SAPSRM/IF_EX_WF_RESP_RESOLVERGET_AREA_TO_ITEM_MAP and IF_EX_WF_RESP_RESOLVERGET_APPROVERS_BY_AREA_GUID of BADI /SAPSRM/BD_WF_RESP_RESOLVER. The approvers can be seen in the shopping cart Approval preview Tab until the SC is ordered.
    I have compared the OSS notes relevant for Workflow, all of them have been transported, Also I compared and checked general Workflow settings, BRF Config and  Process level  settings in Dev and Quality, everything is same.
    Also while debugging; the approvers can be seen in the decision set table in the create_process_forecast method of class /SAPSRM/CL_WF_PROCESS_MANAGER.
    Kindly let me know what else i can check to find the root cause.
    Thank you in advance for help!
    Regards
    Prasuna.

    Hello Vinita;
    Thanks for the input and sorry for the not so "ASAP" reply;
    From what I'm seeing in from your 2 screenshot, i strongly believe that the problem is even before the Z implementation /SAPSRM/IF_EX_WF_RESP_RESOLVER~GET_APPROVERS_BY_AREA_GUID (in which the FM i ZSRM_GET_USER_FROM_PGRP is called. I think the problem could be in the process level determination  ZSRM_WF_BRF_0EXP000_SC_APP100. Let me explain:
    In your  cases where not buyer is determined,  in the approval tab there is not even a process level for buyer approval. If the problem were indeed in the implementation  /SAPSRM/IF_EX_WF_RESP_RESOLVER~GET_APPROVERS_BY_AREA_GUID  then the process level would be there, but the system will display, instead of the name of the buyer(if the buyer determination fails) a red label with the message:  "With the strategy "Buyer determination" an approver could not be determined (or something like that..please check the image at the end of the text)".
    I can propose a way to discard this: Implement the method /SAPSRM/IF_EX_WF_RESP_RESOLVER~GET_FALLBACK_AGENTS of class ZCL_BADI_SC_WC (in case you didn't know, in this method you can specify an "default" approver in case that the determination of approver in GET_APPROVERS_BY_AREA_GUID fails). The idea is to specify an default approval and see how it behaves:
    If the user you indicated in the method GET_FALLBACK_AGENTS appears as approver, then yes, the problem is arises from implementation GET_APPROVERS_BY_AREA_GUID, in which case it could be a data problem (peharps in pposa_bbp?). You could also check in TX SU53 with the users with this problem to see if there's a missing authorization objetc.
    If, in the other hand, the "default" approver is not shown, it means that the process level buyer determination is not even called, so you should check in more detail ZSRM_WF_BRF_0EXP000_SC_APP100 and /SAPSRM/CL_WF_PROCESS_MANAGER > Determine process restart –method ----- (i have never used this method, so i could not tell if  it could be the source of the problem).
    Also, you could implement the method GET_FALLBACK_AGENTS in this way so the default approver would be the WF administrator indicated in the customizing (or you could just append directly any user you want):
    METHOD /SAPSRM/IF_EX_WF_RESP_RESOLVER~GET_FALLBACK_AGENTS.
       DATA: lv_admin_expr TYPE swd_shead-admin_expr,
             lv_admin      TYPE swd_shead-wfi_admin,
             lv_admin_type TYPE sy-input,
             ls_agent      TYPE  /sapsrm/s_wf_approver.
       CALL FUNCTION 'SWD_WF_DEFINITION_ADMIN_GET'
         IMPORTING
           default_admin_expr = lv_admin_expr
           default_admin      = lv_admin
           default_admin_type = lv_admin_type.
       ls_agent-approver_id = lv_admin.
       APPEND ls_agent TO rt_agent.
    ENDMETHOD.
    Error of agent determination:
    Please let me know the result of the test with the implementation of method GET_FALLBACK_AGENT. By doing this we could ensure if really the problem is in method GET_APPROVERS_BY_AREA_GUID or before.  I just made the test in our system and I'm almost sure that you wont get the default approver, but i could be wrong. 
    Any question please let me know.
    Best regards
    Cristian R.

  • Business process function " LOG_PP_SRN_CONF"

    Hello experts,
    I have tried to activate business process function " LOG_PP_SRN_CONF"  it is showing a message no need to activate.
    Reason why I am doing this because it gives me to enter the shift data in the confirmation screen.
    please guide me
    Thanks
    Satya

    Hi,
    Refer to the link below:
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/c0fa9a04-376a-2c10-c396-86d32ac80614?quicklink=index&overridelayout=true
    Follow the steps, if it does not resolve the issue, then do upload some screenshots of OPK0, OPK4 to get a clear picture.
    Regards,
    Vivek
    Added
    Am sorry i am unable to access rapidshare portal, if possible upload to another portal eg: picasaweb.com

  • The dmg files have downloaded to the wrong folder - not finished with the install process

    The dmg files have downloaded to the wrong folder - I am at the part of the download/install process where the "Welcome" screen appears asking for me to agree to the license agreement.  Somewhere on your site, I read that they should NOT go to the applications folder but to the "Users" folder. Can/should I move/drag the folder with the dmg files into the "Users" folder"? If so, before or after I complete the install? I am running MAC OSX 10.7.4 on a MAC Mini.
    Also, when the trial period is over, I will use the license number for the purchased software disks, should the dmg's/folders then be moved to the application folder or stay in the "users" section? I have Purvhased Adobe Photoshop Elements 10 and Adobe Premiere Elements 10, but somewhere on your site it was suggested to download them instead and use the license code at the appropiate time. If someone can help with these questions, I would appreciate it. Thank you

    Hi,
    In the Welcome screen, you can accept the license agreement and can go ahead with the installation. You will be asked for the serial number. If you don't have one, install it as a trial application. By default, it's installed in the Applications folder. However, you can change the installation folder in the third screen, if you have a reason. Please see the screenshot below:
    After installing, you can't move application to a different directory by dragging. You need to uninstall and install it again in the folder of your choice.
    Thanks,
    Sunil

  • To complete this process, please contact with itunes.

    (To complete this process, please contact with itunes.)
    I enter the correct information in the card, but I get this error limit of what is the reason?

    Yout going to need to specifty the error, and perhaps get some screenshots on here to better facilitate us in assisting you further

  • Approved invoices can not be edited  - Approval process

    Hi Experts -
    I have recently raised an incident with SAP about Approval process - the complete message and support reply is as follows - but i believe we need a change in the approval process - if the approval required is only one but you have defined two people (Either or OR) in the approver list - the system should allow the document to be edited if one of the approvers reject it.
    please let me know and i believe we need  a change in design - unless otherwise a solid reason is given to justify the existing design
    10.07.2009 10:32 Description (English) by SRS Manian
         We have created approval procedure for all the invoices which are entered into the system., The
    'Accts' user enters the invoice into the system - the invoice comes for approval to 'Manager' user.
    When the Manager opens the invoice via Alert window - he/she wants to modify certain information
    (lines as well as Sales person) and approve it.
    The invoice which gets opened from the alert window - does not allow the user 'Manager' to modify at
    all. All the information on the invoice are greyed out.
    The system should allow the user 'Manager' to modify the information. Since the manager has full
    authorization to the system.
    10.07.2009 10:35 Info to Reporter by SAP
         Dear Partner/Customer,
    We have received your inquiry and are currently processing it.
    You will be contacted with a solution or an update as soon as possible.
    For further details regarding the phase your message is in at the
    moment please refer to:
    http://service.sap.com/%7Esapidb/011000358700000575782007E
    Kind regards,
    SAP Business One Product Support
    10.07.2009 10:59 Reply to Reporter by SAP
         Dear Manian,
    Thank you for contacting us.
    When the originator sends the document for manager's approval, note that the at that stage, the document is still in the 'Approval Process'. This is because the system is waiting for the 'Manager' to 'Approve or Reject' the document. Hence, looking at the Document, it is still in 'Draft - Pending' Status.
    When the document is in 'Draft-Pending' Status, the document is not available for editing, because the system considers that it is still in the waiting process. In your case, the manager cannot edit t he document.
    To amend the document, an action is required from the approver either to reject it first. Once rejected, it can be amended and re-sent for approval.
    I have checked our knowledge base and noted that there is an article which describes the approval process. Please refer to the Expert on Phone Wiki Article (March 2009) with title: Why a draft documen t in an approval process cannot be modified by the originator?
    The link will provide the explanation:
    https://www.sdn.sap.com/irj/scn/wiki?path=/pages/viewpage.action&pageid=88735894
    I have also attached Notes 1321234 and 1111431 for your reference.
    Best regards,
    Lorna Real
    Support Consultant
    Product Support for SAP Business One
    SAP Ireland 
    10.07.2009 11:59 Reply to Support Center  by SRS Manian
         Thanks for the reply. The scenario is when the Manager receives the
    document for approval, he wanted to edit and add it. Your reply (and
    documentations) states that it needs to be rejected first before it is
    available for editing. When it is gets rejected - the person who
    orignated the document gets an alert and he can edit it. Here the
    Manager must get an alert so that he can edit the Rejected document.
    When the 'manager' rejects the document, and goes back to the alert
    window to open the document - it is still greyed out !!
    How does the 'manager' reject the document and edits it ?
    regards
    Manian 
    10.07.2009 12:11 Reply to Reporter by SAP
         Dear Manian,
    If after the Manager rejects it and still the document is not editable (greyed out), it means that the document may still be in the 'Approval Process'. When it is greyed out, what is the status of the document in the header? Does it say 'Rejected' or 'Pending'?
    If it is still in 'Pending' mode, please verify the number of 'Approvers' set in the 'Stages' tab of the 'Approval Template - Setup' window. If there is more than one user listed as 'Approver', and o nly 1 approval is required, the system provides an opportunity to other 'Approvers' to approve or reject the document. If in your case, the number of approvers is 2, and manager 'rejected' it, the sys tem still keeps the document in Pending status as it waits for another approver's decision to reject or approve it.
    Also, verify the number of 'Approvals' required. If the number of 'Approvers' who have not rendered their decision is greater than or equal to the 'Approvals' required (e.g. approvers - 2, required ap provals - 2) the system keeps the document within the approval process. This is to allow the other 'Approvers' to decide on the document.
    I hope this clarifies the behaviour. If you can provide us a step by step screenshot of the issue, this may help us to provide a more accurate response.
    Best regards,
    Lorna Real
    Support Consultant
    Product Support for SAP Business One
    SAP Ireland 
    10.07.2009 12:28 Reply to Support Center  by SRS Manian
         Hi:
    The status of the document in the Header says 'Pending' and the status
    below the document number says 'Suspended' - it is not showing as 'Draft'
    Regards
    Manian 
    10.07.2009 12:42 Call to Customer / Partner by SAP
         Performed on: 10.07.2009 10:41:59 (UK)
    Contact person: SRS Manian
    Status of discussion: Customer not reached
    Subject:
    Called the partner but currently engaged on another line.
    Would like to hold a webex. 
    10.07.2009 12:42 Reply to Reporter by SAP
         Dear Manian,
    I'm trying to call you but there was no response on your mobile.
    When the header says 'Pending', then it means the document is still within the approval process. Please check the Approval Template and see the number of approvers and the number of approvals require d.
    The number of approvals and approvers may be greater than 1. In this case, the system waits for other approvers to approve or reject the document. Once all the approvers have rejected the document, th en the document will be released and available for editing.
    Best regards,
    Lorna Real
    Support Consultant
    Product Support for SAP Business One
    SAP Ireland 
    10.07.2009 18:11 Reply to Support Center  by SRS Manian
         Hi:
    Thanks for the reply - i tried this and found out the following:
    1 - In the approval templates - we had mentioned number of approvals
    required as '1'.
    2 - in the number of approvers - we had mentioned two users
    Though the template requires only one approvals (Either or OR) the system
    expects both of them to approve or reject -
    Can u please let me why is this behaving like this - or is this is the
    way it is designed ? - if this is the way it is designed - i beleive it
    is wrong - weneed to give a solution to the customer
    regards
    Manian 
    11.07.2009 05:52 Reply to Reporter by SAP
         Dear Manian,
    Thank you for the information. The behaviour is a current system definition documented as per Note 1321234. I have attached the said Note for your reference. When only 1 approval is required and there are 2 or more persons are allowed to approve the document, the document does not get automatically rejected when 1 person 'rejects' it. The system waits for other approvers to render their decision b ecause a person may still approve or reject the document.
    The design is not an application error. If you would like to change this design, please post your requirement in our SAP Business One Product Development Collaboration
    forum. You can find the forum in this link:
    /community [original link is broken]
    The forum is beingmoderated by members of the Solution Management team specialized in certain areas, according to the folder you are in. Partners can impact the design of specific features by posting suggestions and feedback at this forum. Kindly refer to Note 1028874 which describes more on the above process.
    As the request will be handled through another process, we kindly request that this support message be closed.
    Thank you for your understanding.
    Best regards,
    Lorna Real
    Support Consultant
    SAP Product Support for SAP Business One
    SAP Ireland 
    11.07.2009 09:02 Reply to Support Center  by SRS Manian
         Hi Thanks for the reply - however, the solution given doesnot address the
    problem we are beingfaced with our client
    Is there a Development Request we can raise so that this problem is
    addressed in future
    I am going ahead and confirming this Message though
    regards
    Manian 
    11.07.2009 10:04 Reply to Reporter by SAP
         Dear Manian,
    Thanks for the information. I understand the customer's requirement. As previously mentioned, please log a development request in this link:
    /community [original link is broken] This is from Note 1028874.
    Unfortunately,we at the support centre does not have access to the list of development requests. Hence, kindly follow the process in Note 1028874.
    I'm sending the message back to your side for confirmation.
    Best regards,
    Lorna Real
    Support Consultant
    Product Support for SAP Business One
    SAP Ireland 
    SAP Notes           
    Number     Short text
    0001035200
    Issue can be solved via existing documentation
    0001111431
    Deleting rejected draft documents.
    0001167635
    Maintenance Policy (L)
    0001321234
    Status of a document rejected within the Approval Process.

    Hi Gordon - thanks for the reply - i am sorry i never realized that the message i raised could be messed up like this - the following is a clear message with some paragraphs:
    Hi Experts - I have recently raised an incident with SAP about Approval process - the complete message and support reply is as follows - but i believe we need a change in the approval process - if the approval required is only one but you have defined two people (Either or OR) in the approver list - the system should allow the document to be edited if one of the approvers reject it. please let me know and i believe we need a change in design - unless otherwise a solid reason is given to justify the existing design
    SRS Manian We have created approval procedure for all the invoices which are entered into the system., The 'Accts' user enters the invoice into the system - the invoice comes for approval to 'Manager' user. When the Manager opens the invoice via Alert window - he/she wants to modify certain information (lines as well as Sales person) and approve it. The invoice which gets opened from the alert window - does not allow the user 'Manager' to modify at all. All the information on the invoice are greyed out. The system should allow the user 'Manager' to modify the information. Since the manager has full authorization to the system.
    Reply to Reporter by SAP Dear Manian,
    Thank you for contacting us. When the originator sends the document for manager's approval, note that the at that stage, the document is still in the 'Approval Process'. This is because the system is waiting for the 'Manager' to 'Approve or Reject' the document. Hence, looking at the Document, it is still in 'Draft - Pending' Status. When the document is in 'Draft-Pending' Status, the document is not available for editing, because the system considers that it is still in the waiting process. In your case, the manager cannot edit t he document. To amend the document, an action is required from the approver either to reject it first. Once rejected, it can be amended and re-sent for approval. I have checked our knowledge base and noted that there is an article which describes the approval process. Please refer to the Expert on Phone Wiki Article (March 2009) with title: Why a draft documen t in an approval process cannot be modified by the originator? The link will provide the explanation:
    https://www.sdn.sap.com/irj/scn/wiki?path=/pages/viewpage.action&pageid=88735894
    I have also attached Notes 1321234 and 1111431 for your reference. Best regards, Lorna Real Support Consultant Product Support for SAP Business One SAP Ireland 10.07.2009 11:59
    Reply to Support Center by SRS Manian
    Thanks for the reply.
    The scenario is when the Manager receives the document for approval, he wanted to edit and add it. Your reply (and documentations) states that it needs to be rejected first before it is available for editing. When it is gets rejected - the person who orignated the document gets an alert and he can edit it. Here the Manager must get an alert so that he can edit the Rejected document. When the 'manager' rejects the document, and goes back to the alert window to open the document - it is still greyed out !! How does the 'manager' reject the document and edits it ? regards Manian
    Reply to Reporter by SAP
    Dear Manian, If after the Manager rejects it and still the document is not editable (greyed out), it means that the document may still be in the 'Approval Process'. When it is greyed out, what is the status of the document in the header? Does it say 'Rejected' or 'Pending'? If it is still in 'Pending' mode, please verify the number of 'Approvers' set in the 'Stages' tab of the 'Approval Template - Setup' window. If there is more than one user listed as 'Approver', and o nly 1 approval is required, the system provides an opportunity to other 'Approvers' to approve or reject the document. If in your case, the number of approvers is 2, and manager 'rejected' it, the sys tem still keeps the document in Pending status as it waits for another approver's decision to reject or approve it. Also, verify the number of 'Approvals' required. If the number of 'Approvers' who have not rendered their decision is greater than or equal to the 'Approvals' required (e.g. approvers - 2, required ap provals - 2) the system keeps the document within the approval process. This is to allow the other 'Approvers' to decide on the document. I hope this clarifies the behaviour. If you can provide us a step by step screenshot of the issue, this may help us to provide a more accurate response.
    Best regards,
    Lorna Real Support Consultant Product Support for SAP Business One SAP Ireland
    Reply to Support Center by SRS Manian
    Hi: The status of the document in the Header says 'Pending' and the status below the document number says 'Suspended' - it is not showing as 'Draft'
    Regards
    Manian 10.07.2009 12:42
    Reply to Reporter by SAP
    Dear Manian,
    I'm trying to call you but there was no response on your mobile. When the header says 'Pending', then it means the document is still within the approval process. Please check the Approval Template and see the number of approvers and the number of approvals require d. The number of approvals and approvers may be greater than 1. In this case, the system waits for other approvers to approve or reject the document. Once all the approvers have rejected the document, th en the document will be released and available for editing.
    Best regards,
    Lorna Real Support Consultant Product Support for SAP Business One SAP Ireland
    Reply to Support Center by SRS Manian
    Hi: Thanks for the reply - i tried this and found out the following: 1 - In the approval templates - we had mentioned number of approvals required as '1'. 2 - in the number of approvers - we had mentioned two users Though the template requires only one approvals (Either or OR) the system expects both of them to approve or reject - Can u please let me why is this behaving like this - or is this is the way it is designed ? - if this is the way it is designed - i beleive it is wrong - weneed to give a solution to the customer
    regards
    Manian
    Reply to Reporter by SAP
    Dear Manian,
    Thank you for the information. The behaviour is a current system definition documented as per Note 1321234. I have attached the said Note for your reference. When only 1 approval is required and there are 2 or more persons are allowed to approve the document, the document does not get automatically rejected when 1 person 'rejects' it. The system waits for other approvers to render their decision because a person may still approve or reject the document.
    The design is not an application error. If you would like to change this design, please post your requirement in our SAP Business One Product  Development Collaboration forum.
    You can find the forum in this link:
    /community [original link is broken]
    The forum is being moderated by members of the Solution Management team specialized in certain areas, according to the folder you are in. Partners can impact the design of specific features by posting suggestions and feedback at this forum.
    Kindly refer to Note 1028874 which describes more on the above process.
    As the request will be handled through another process, we kindly request that this support message be closed. Thank you for your understanding.
    Best regards,
    Lorna Real Support Consultant SAP Product Support for SAP Business One SAP Ireland
    Reply to Support Center by SRS Manian
    Hi Thanks for the reply - however, the solution given does not address the problem we are being faced with our client Is there a Development Request we can raise so that this problem is addressed in future I am going ahead and confirming this Message though
    regards
    Manian
    Reply to Reporter by SAP Dear Manian,
    Thanks for the information. I understand the customer's requirement. As previously mentioned, please log a development request in this link:
    /community [original link is broken]
    This is from Note 1028874.
    Unfortunately, we at the support centre does not have access to the list of development requests. Hence, kindly follow the process in Note 1028874. I'm sending the message back to your side for confirmation.
    Best regards,
    Lorna Real Support Consultant Product Support for SAP Business One SAP Ireland

Maybe you are looking for