Incorrect posting to unrestricted stock, error msg

Hi,
When doing usage decision for inspection lot the following message appears.
"25 EA Incorrect posting to unrestricted stock ,error msg:Order 702610 cannot be processed".
702610 is the Product Cost Collector.
The inspection lot was created during the goods receipt from REM backflushing from MFBF.
Thanks and regards
Murugesan

Hello Murugesan,
could you please varify if the the stock quantity of the inspection lot is correct.
If this true could you check if you have created reserve samples?
Or if you have set the flag destructive inspection for any of your characteristics.
It would help in this case if you could also tell us which inspection origin is affected and when the inspection lot is created.
Example: Inspection origin 04 Early inspection lot creation 'Y' -> The GI was posted from production and the posted ammount does not correspond with the ammount set up at production begin. This can cuase the described issue.
Regards,
Isabelle

Similar Messages

  • Inspection Lot Stock Tab - To Be Posted to Unrestricted-Use Stock

    Hi Experts,
    Please guide me for:
    At the time of UD,sometimes i forget to enter the unrestricted stock quantity in inspection lot stock tab therefor quantity does not transfer into unrestricted stock and  its shown in QI.So,i want to make it mandatory.please suggest me,How to do it?
    Thanks & Regards,
    Vivek Bhojak

    Hi Vivek,
    Please activate "Stock Posting in Background" indicator in Tx QS51 for your UD code as shown below -
    This should solve your purpose and complete stock form QI will be posted to Unrestricted stock/Blocked stock. This is a safer process I always recommend.
    Otherwise, in case you still wish to so UD posting form 'Inspection Lot - Stock Tab' manually, but want to make sure that is there is no quantity selected, then the UD shouldn't be done, then you will have to make enhancement appropriately below -
    QEVA0001  Enhancement: Quantity posting for usage decision
    Thanks,
    Arijit
    Message was edited by: Arijit Banerjee

  • T code QA11, quantity can not be posted to blocked stock

    For Inspection lot with system status is   INSP RREC SPRQ, when user tries to perform QA 11 to post stock to blocked stock the system does not allow as "to blocked stock field" is greyed out and also can not chnage the storage location on that screen.
    I have checked the material already exists in the WH/storage location also inspection charachterstics are corrct not sure what else to check.please advise.

    Does not seem like authorisation restriction since user is able to process other QA11 for the same plant/WH and storage location. Does not seem like customisation either since all " Quantity to be posted "options and storage location are greyed out under inspection lot stock Tab
    After Accept atleast system should allow posting to "unrestricted stock " but thats not available either.
    For the same material/plant/WH, I am able to sucessfully post stock when system status is -REL  CALC SPRQ but in this case the status is -INSP RREC SPRQ, what does this signify.Please help

  • Material  stock to be  posted to restricted stock( urgent please)

    Hi genius,
                     This is below my scenario, Please let me the solution .
    1.  Material to be received thro’ GR ( MIGO ) and which has to be posted to unrestricted stock.
    2.  Material will be reserved by the users as on when required thro’ MB21 T.Code.
    3. Reservation does not allow the reservation qty over the quantity available present in unrestricted stock.
    4.  New Reservation should not allow to create more than available qty. which is taken into the account of already reserved.
    5. Consumption should be blocked on actual objective.
    6.  Plant control/Indented items should be put to restriction on issuance only to indented department.
    7.Less impact on account inventory qty and value reconciliation.
    Please find anyother solution , Let me know, I am eagarly waiting for your valuable reply,
    Regards
    Jeya

    Hi
    1. Through movement type 101, stock will be posted as unrestricted stock.
    2. Reservation is created via MB21 only
    3 You are defeating the logic of reservation if in you scenario reservation should not exceed the quantity available in stock. If you are running MRP, it will take the reservation into a/c and if any deficit in stock in there it will draw an PR for the same.
    4 Same answer as point 3
    5 You can restrict consumption against reservation.
    6 You can control this thru reservation.
    7 Its matter od discipline.

  • Stock not posted to Inspection stock

    Hi,
    1. The inspection type 04 - Goods receipt from production is maintained in material master.
    2. The Inspection plan is maintained
    But the stock is directly posted to Unrestricted stock. When I check Goods receipt tab in process order, the stock type is Unrestricted. How come here the stock type is Unrestricted.
    Please clarify.
    thanks and regards
    Murugesan

    Hy,
    Have you mark or tick for Post to Insp. Stock for that Inspection type in QM view of Material Master.If not then tick that selection and do the GR again.
    Regards
    Dhaval

  • Posting of QI stock into Unrestricted stock (URGENT)

    Hi All,
    At the moment, we are posting QI stock into Unrestricted stock using MB1B with Mvt type 321. But the problem is we have to enter each material & qty manually, i,e, if a PO has 10 lines, i have to manually enter each material in the PO & then the qty. Is there any other transaction or way in which i can do this transfer posting with reference to the PO, thereby the system automatically puts the lines in that PO & i can then delete the material or modify the qty if it has not passed QI check.
    I tried in MB1B with Mvt 321 by creating with reference to PO, the system prompts an error & says not possible.
    Hope my problem is clear, await inputs.
    Vivek

    Hi Aasif,
    As mentioned by you i have done the settings.
    1. If i enter the mvt. type 321 in MB1B & then click on create w/ ref to PO, i still get an error.
    2. But if i just enter the mvt 321 & enter inside MB1B, there i now see a field called Purchase order. But if i enter the purchase oder number here, the materials inside this PO are not automatically displayed, the screen just becomes grey.
    What i actually want is, when i enter the PO number, the materials should be displayed, which would resolve my issue.
    Await your inputs.
    Vivek

  • Posting from qm stock to unrestricted stock ........URGENT HELP NEEDED

    User created a Purchase order and posted it to qm stock.The inspection lot is created for the Purchase order with these status CRTD, REQ,CHCR,SPRQ. How do I post the stock from QM stock to unrestricted stock.
    in QE51N also it gives me an error saying "no selected entries found "
    I tried to change the usage decision in tcode:qa32 or qa12 but it is giving me an error not and  letting me change it.
    So my question is how do i post the stock to unrestricted stock .Please can someone explain with detailed steps.
    thank you

    Devang,
    Check the following points
    1. Check if inspection plan is assinged to inspection lot, if inspection plan is not assinged. Assign inspection plan to material and go to qa02 & calculate sample size.
    2. Check if more than one inspection plan asssinged to material , it mutiple inspection plan assinged to material , you need to manuallly assign the inspection plan to inspection lot and calculate sample size.
    Sanjay

  • Weird Problem in QM stock posting from Quality Stock to Unrestricted

    Hi all,
    Today I hit a weird problem in SAP and struck there for the past 5 hours. The problem is,
    I have a batch managed material, for which QM view is available. 01 inspection type is activated along with the "Post to Inspection Stock indicator" for that material in material master.
    Now I am creating a Purchase order and doing a goods receipt in MIGO. Then it creates a inspection lot of type 01
    for this material and puts the stock in to Quality stock (I checked in MMBE).
    Now as per standard SAP behaviour, if I want to move the stock from Quality to Unrestricted, I can only do it in QA11 trasaction through Inspection stock tab. If I try to do 321 (Quality to Unrestricted) movement in MIGO, the system will send an error message "Change the inspection stock of material XXXXXXX in QM only"
    But in my case, I am not getting this error message, the system is still allowing me to move the stock from Quality to Unrestricted thorugh MIGO using 321 movement. This is not standard and I don't want this.
    This behavior is seen in 04 and 08 inspection lots also (with post to insp stock indicator).
    The aftermath of this problem, if I do a MIGO transfer posting of say 100 PC through 321. The system is correspondingly updating the MMBE transaction by moving this 100 PC from Quality stock to Unrestricted. But if I go to QA11 and check, the QM still shows that 100 PC to be in Quality stock itself, thus creating a mis-match between actual stock situation and the stock situation in QM.
    I already checked and most of the SPRO nodes and I am left clueless. One more thing, Usage Decision is not yet done for the inspection lot and it is just REL status. Also thee are no developments or enhancements in QM module in my project. Only 1 enhancement relating to custom sample label and rest of all the functionality is standard.
    Sorry for the long post. How to correct this? Please help me!
    Thanks in advance,
    Vinodh

    I don't know why this happenned.  Look at the QM view of the material master and see if the "inspection setup" flag on the QM view is clicked on.  That is usually greyed out and is set by having an inspection type activated.  You can't manually set that once an inspection type is added.  But that is the indicator I believe is used to determine if regular stock movements are allowed for QM stocks.
    I would try to first clear all your inspection lots first.
    Then delete all the inspection types from the material.  And I mean actually go in and delete them. 
    Then use QA08 to reactivate the ones you need.
    Then see if this solves the problem.
    FF

  • ITunes no longer works on my Windows VISTA system.  Get error msg saying C runtime library incorrectly... Error 7, Windows error 1114..

    iTunes no longer works on my Windows VISTA system.  Get error msg saying an application is attempting to access C runtime library incorrectly... Error 7, Windows error 1114.  Same msg, or one that says unable to install, when trying to update or reinstall iTunes.  iTunes worked well up until about a month ago when this error msg starting appearing.

    Go to Control Panel > Add or Remove Programs (Win XP) or Programs and Features (later)
    Remove all of these items in the following order:
    iTunes
    Apple Software Update
    Apple Mobile Device Support (if this won't uninstall move on to the next item)
    Bonjour
    Apple Application Support
    Reboot, download iTunes, then reinstall, either using an account with administrative rights, or right-clicking the downloaded installer and selecting Run as Administrator.
    The uninstall and reinstall process will preserve your iTunes library and settings, but ideally you would back up the library and your other important personal documents and data on a regular basis. See this user tip for a suggested technique.
    Please note:
    Some users may need to follow all the steps in whichever of the following support documents applies to their system. These include some additional manual file and folder deletions not mentioned above.
    HT1925: Removing and Reinstalling iTunes for Windows XP
    HT1923: Removing and reinstalling iTunes for Windows Vista, Windows 7, or Windows 8
    tt2

  • Calculation of unrestricted stock on posting date

    Hello,
    In a certain report that we developed for our customer one of the data
    Is "unrestricted stock on posting date".
    Is there a function that calculate this data, and if not what is the best way to do it?
    Thank you in advance,
    Haim Gimelfarb

    Thank you,
    But this is not the answer that I looked for.
    Mb5b is a transaction, and I need a function that can Calculate unrestricted stock on posting date.
    Becaus the stock in posting date is only part of the information in the report.
    Thank you in advance
    Haim Gimelfarb

  • Error while posting batch managed stock in 107 movement type?

    Hi All,
    Error while posting batch managed stock in 107 movement type in MIGO, like 'Goods movement not possible with mvmt type 107'
    and here in batch tab batch number is not displaying only valuation type is displaying, kindly let me know can it be done by doing any change in field selection with respect to 107 movement type
    regards,
    Sanjana

    Hi,
    spro-inventory management-setting for enjoy transaction-setting for goods mvt--field selection per mvt type
    107     SGTXT
    107     WEMPF
    Check here 107 mvt type there or not if not then put.
    101     CUSTNAME
    101     GRUND
    101     SGTXT
    101     WEMPF
    102     SGTXT
    102     WEMPF
    103     SGTXT
    103     WEMPF
    104     SGTXT
    104     WEMPF
    105     SGTXT
    105     WEMPF
    106     SGTXT
    106     WEMPF
    107     SGTXT
    107     WEMPF
    108     SGTXT
    108     WEMPF
    109     SGTXT
    109     WEMPF
    110     SGTXT
    110     WEMPF
    Regards
    Rakesh

  • Error msg:AA824 while posting and AUC in f-90 contact ure system admin

    hi all
    iam facing an error when iam trying to post an asset from f-90 iam getting an error msg AA824. contact your system administrator.
    diagnosis:
    No accounts have been entered for depreciation area 01 for account allocation 40000 (chart of accounts 1000).
    procedure: maintain the accounts for dep area 01
    i have seen ao90 and ao91 for dep accounts the dep accounts have been maintained in the screen for book dep 01
    please let me know what to do.
    Kind regards
    aman

    Hi,
    It is clearing saying you to to enter GL accounts for your screen layout rule.
    In AO90, you must maintain GL accounts for Account Acq and Prod Cost also along with Dep accounts (as you already maintained)
    The above will be maintained in BALANCE SHEET ACCOUNTS sub dailog.
    Regards,
    Srinu

  • Posting Zero Value to Unrestricted Stock

    Hi Gurus,
    I'm having some trouble posting zero value materials to unrestricted stock. Is there any restrictions on doing this? if so, are there any work arounds?
    I've tried marking an item in the PO as "free goods" but when I do the G/R, the items are not showing in stock.
    Also, I seem to be having some problems with the material type classification UNBW. 
    Any help would be greatly appreciated.
    Thanks

    Hi
    If you use UNBW material for free items PO, then it will ask for account assignment and once you do GR the stock will be posted to respective account.
    You can not see the stock in unrestricted stock.
    You can create the material of material type FERT with zero value and you can raise PO with free items checked.Once you receive the goods, Quantity will be updated in unrestricted stock and value will be zero.
    Regards
    Ramakrishna

  • Error msg pointing to nonexistent var (WARNING: LONG POST)

    I'm sorry to have to post my entire program, but I keep getting an error msg that points to a variable that is NOWHERE in my code. The var is called PwChar. It's mentioned in the error msg, but is nowhere in my code. This is even after saving and recompiling it THREE TIMES. Please, someone, tell me where this error appears in my code, if you even can. Your help will be greatly appreciated. Here is the error msg:
    C:\jdk1.2.1\bin>javac PwGenerator.java
    PwGenerator.java:228: Incompatible type for =. Can't convert java.lang.Character
    to char.
    pwChar = new Character((char) (newAsciiRange));
    ^
    PwGenerator.java:234: Incompatible type for =. Can't convert java.lang.Character
    to char.
    pwChar = new Character((char) (newAsciiRange[0]));
    ^
    2 errors
    Now here is my code (sorry for the length):
    // My Javafied Password Generator
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    import java.util.*;
    public class PwGenerator extends JApplet
    private String pw;
    private JPanel centerPanel, northPanel, southPanel;
    private JComboBox numchars;
    private JCheckBox lettersUpper, lettersLower, numbers, specialChars;
    private JButton generate, reset;
    private JTextField textfield;
    private int asciiRange[], newAsciiRange[];
    private String pwLength[] = {"6", "7", "8", "9", "10", "11", "12"};
    private int lengthSelected;
    private JLabel pwLabel, numCharLabel;
    private boolean wantSpecialchars, wantNumbers, wantUppercase, wantLowercase;
    public void init()
    // instantiate widgets
    asciiRange = new int[94];
    numCharLabel = new JLabel("Number of characters for password");
    numchars = new JComboBox(pwLength);
    lettersUpper = new JCheckBox("Uppercase letters");
    lettersLower = new JCheckBox("Lowercase letters");
    numbers = new JCheckBox("Numbers");
    specialChars = new JCheckBox("Special characters");
    generate = new JButton("Generate password");
    reset = new JButton("Clear");
    textfield = new JTextField(12);
    pwLabel = new JLabel("Your new password is: ");
    // add widgets to the content pane
    Container c = getContentPane();
    c.setLayout(new BorderLayout());
    centerPanel = new JPanel();
    centerPanel.setLayout(new GridLayout(3, 2));
    centerPanel.add(lettersUpper);
    centerPanel.add(lettersLower);
    centerPanel.add(numbers);
    centerPanel.add(specialChars);
    centerPanel.add(generate);
    centerPanel.add(reset);
    c.add(centerPanel, BorderLayout.CENTER);
    northPanel = new JPanel();
    northPanel.setLayout(new FlowLayout());
    northPanel.add(numCharLabel);
    northPanel.add(numchars);
    c.add(northPanel, BorderLayout.NORTH);
    southPanel = new JPanel();
    southPanel.setLayout(new FlowLayout());
    southPanel.add(pwLabel);
    southPanel.add(textfield);
    c.add(southPanel, BorderLayout.SOUTH);
    } // end init
    public void start()
    // connect event handlers to the widgets
    numchars.addItemListener(new ItemListener() {
         public void itemStateChanged(ItemEvent e)
         lengthSelected = Integer.parseInt(pwLength[numchars.getSelectedIndex()]);
    CheckBoxHandler handler = new CheckBoxHandler();
    lettersUpper.addItemListener(handler);
    lettersLower.addItemListener(handler);
    numbers.addItemListener(handler);
    specialChars.addItemListener(handler);
    generate.addActionListener(new ActionListener() {
         public void actionPerformed(ActionEvent e)
         setAsciiRange();
         trimAsciiRange();
    reset.addActionListener(new ActionListener() {
         public void actionPerformed(ActionEvent e)
         textfield.setText("");
    } // end start
    public void setAsciiRange()
    int numRange[] = new int[10];
    int uppercaseRange[] = new int[26];
    int lowercaseRange[] = new int[26];
    int specialcharRange[] = new int[32];
    System.out.println("Welcome to setAsciiRange!");
    if (!wantSpecialchars && !wantNumbers && !wantUppercase && !wantLowercase)
    JOptionPane.showMessageDialog(this, "You must make a selection", "Error", JOptionPane.ERROR_MESSAGE);
    if (wantNumbers)
    for (int i=0, j=48; i<numRange.length; i++, j++)
         numRange[i] = j;
    System.out.println("Number " + i + " is " + j +"\n");
    } // end for
    } // end if
    if (wantUppercase)
    for (int i=0, j=65; i<uppercaseRange.length; i++, j++)
         uppercaseRange[i] = j;
         System.out.println("Uppercase letter " + i + " is " + j + "\n");
    } // end for
    } // end if
    if (wantLowercase)
    for (int i=0, j=97; i<lowercaseRange.length; i++, j++)
         lowercaseRange[i] = j;
    System.out.println("Lowercase letter " + i + " is " + j + "\n");
    } // end for
    } // end if
    if (wantSpecialchars)
    for (int i=0, j=33; i<15; i++, j++)
    specialcharRange[i] = j;
         System.out.println("Special char " + i + " is " + j + "\n");
    for (int i=15, j=58; i<22; i++, j++)
    specialcharRange[i] = j;
    System.out.println("Special char " + i + " is " + j + "\n");
    for (int i=22, j=91; i<28; i++, j++)
         specialcharRange[i] = j;
         System.out.println("Special char " + i + " is " + j + "\n");
    for (int i=28, j=123; i<specialcharRange.length; i++, j++)
         specialcharRange[i] = j;
         System.out.println("Special char " + i + " is " + j + "\n");
    } // end if
    if (numRange != null)
    System.arraycopy(numRange, 0, asciiRange, 0, numRange.length);
    if (uppercaseRange != null)
    System.arraycopy(uppercaseRange, 0, asciiRange, firstEmptyElement(), uppercaseRange.length);
    if (lowercaseRange != null)
    System.arraycopy(lowercaseRange, 0, asciiRange, firstEmptyElement(), lowercaseRange.length);
    if (specialcharRange != null)
    System.arraycopy(specialcharRange, 0, asciiRange, firstEmptyElement(), specialcharRange.length);
    for (int i=0; i<asciiRange.length; i++)
    System.out.println(asciiRange[i]);
    private int firstEmptyElement()
    int i;
    for (i=0; i<asciiRange.length; i++)
    if (asciiRange[i] == 0)
         break;
    return i;
    private void trimAsciiRange()
    newAsciiRange = new int[firstEmptyElement()];
    for (int i=0; i<newAsciiRange.length; i++)
    newAsciiRange[i] = asciiRange[i];
    System.out.println("newAsciiRange element " + i + " is " + newAsciiRange[i]);
    public void generatePw (int selectedLength)
    int randomNum;
    char pwChar;
    pw = "";
    for (int i=0; i<=lengthSelected; i++)
    randomNum = 1 + (int) (Math.random() * newAsciiRange.length);
    try {
         pwChar = new Character((char) (newAsciiRange[i]));
         pw += pwChar;
         System.out.print(pwChar + " ");
    catch(ArrayIndexOutOfBoundsException e) {
         System.out.print("Setting out-of-bounds index to 0");
         pwChar = new Character((char) (newAsciiRange[0]));
         pw += pwChar;
         System.out.print(pwChar + " ");
    System.out.println(pw);
    textfield.setText(pw);
    private class CheckBoxHandler implements ItemListener
    public void itemStateChanged(ItemEvent e)
    if (e.getSource() == specialChars)
         if (e.getStateChange() == ItemEvent.SELECTED)
         wantSpecialchars = true;
         else
         wantSpecialchars = false;
    } // end outer if
    if (e.getSource() == numbers)
         if (e.getStateChange() == ItemEvent.SELECTED)
         wantNumbers = true;
         } // end if
         else
         wantNumbers = false;
         } // end else
    } // end if
    if (e.getSource() == lettersUpper)
         if (e.getStateChange() == ItemEvent.SELECTED)
         wantUppercase = true;
         else
         wantUppercase = false;
    } // end if
    if (e.getSource() == lettersLower)
         if (e.getStateChange() == ItemEvent.SELECTED)
         wantLowercase = true;
         else
         wantLowercase = false;
    } // end if

    I'm sorry to have to post my entire program, Ok - but next time please use code tags (even though it makes it easier this time, it makes it so much easier to read)
    but I
    keep getting an error msg that points to a variable
    that is NOWHERE in my code. Does your editor have a "find" function? In Notepad it's CTL-F
    The var is called
    PwChar. no, it's called pwChar
    It's mentioned in the error msg, but is
    nowhere in my code. This is even after saving and
    recompiling it THREE TIMES. Please, someone, tell me
    where this error appears in my code, if you even can.
    Your help will be greatly appreciated. Here is the
    e error msg:
    C:\jdk1.2.1\bin>javac PwGenerator.java
    PwGenerator.java:228: Incompatible type for =. Can't
    convert java.lang.Character
    to char.
    pwChar = new Character((char)
    r((char) (newAsciiRange));
    ^
    PwGenerator.java:234: Incompatible type for =. Can't
    convert java.lang.Character
    to char.
    pwChar = new Character((char)
    r((char) (newAsciiRange[0]));
    ^
    2 errors
    Now here is my code (sorry for the length):
    // My Javafied Password Generator
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    import java.util.*;
    public class PwGenerator extends JApplet
    private String pw;
    private JPanel centerPanel, northPanel,
    l, southPanel;
    private JComboBox numchars;
    private JCheckBox lettersUpper, lettersLower,
    r, numbers, specialChars;
    private JButton generate, reset;
    private JTextField textfield;
    private int asciiRange[], newAsciiRange[];
    private String pwLength[] = {"6", "7", "8", "9",
    ", "10", "11", "12"};
    private int lengthSelected;
    private JLabel pwLabel, numCharLabel;
    private boolean wantSpecialchars, wantNumbers,
    s, wantUppercase, wantLowercase;
    public void init()
    // instantiate widgets
    asciiRange = new int[94];
    numCharLabel = new JLabel("Number of characters
    ters for password");
    numchars = new JComboBox(pwLength);
    lettersUpper = new JCheckBox("Uppercase
    case letters");
    lettersLower = new JCheckBox("Lowercase
    case letters");
    numbers = new JCheckBox("Numbers");
    specialChars = new JCheckBox("Special
    cial characters");
    generate = new JButton("Generate password");
    reset = new JButton("Clear");
    textfield = new JTextField(12);
    pwLabel = new JLabel("Your new password is: ");
    // add widgets to the content pane
    Container c = getContentPane();
    c.setLayout(new BorderLayout());
    centerPanel = new JPanel();
    centerPanel.setLayout(new GridLayout(3, 2));
    centerPanel.add(lettersUpper);
    centerPanel.add(lettersLower);
    centerPanel.add(numbers);
    centerPanel.add(specialChars);
    centerPanel.add(generate);
    centerPanel.add(reset);
    c.add(centerPanel, BorderLayout.CENTER);
    northPanel = new JPanel();
    northPanel.setLayout(new FlowLayout());
    northPanel.add(numCharLabel);
    northPanel.add(numchars);
    c.add(northPanel, BorderLayout.NORTH);
    southPanel = new JPanel();
    southPanel.setLayout(new FlowLayout());
    southPanel.add(pwLabel);
    southPanel.add(textfield);
    c.add(southPanel, BorderLayout.SOUTH);
    } // end init
    public void start()
    // connect event handlers to the widgets
    numchars.addItemListener(new ItemListener() {
         public void itemStateChanged(ItemEvent e)
    lengthSelected =
    d =
    Integer.parseInt(pwLength[numchars.getSelectedIndex()]
    CheckBoxHandler handler = new CheckBoxHandler();
    lettersUpper.addItemListener(handler);
    lettersLower.addItemListener(handler);
    numbers.addItemListener(handler);
    specialChars.addItemListener(handler);
    generate.addActionListener(new ActionListener()
    er() {
         public void actionPerformed(ActionEvent e)
         setAsciiRange();
         trimAsciiRange();
    reset.addActionListener(new ActionListener() {
         public void actionPerformed(ActionEvent e)
         textfield.setText("");
    } // end start
    public void setAsciiRange()
    int numRange[] = new int[10];
    int uppercaseRange[] = new int[26];
    int lowercaseRange[] = new int[26];
    int specialcharRange[] = new int[32];
    System.out.println("Welcome to setAsciiRange!");
    if (!wantSpecialchars && !wantNumbers &&
    s && !wantUppercase && !wantLowercase)
    JOptionPane.showMessageDialog(this, "You must
    u must make a selection", "Error",
    JOptionPane.ERROR_MESSAGE);
    if (wantNumbers)
    for (int i=0, j=48; i<numRange.length; i++,
    ; i++, j++)
         numRange[i] = j;
    System.out.println("Number " + i + " is " + j
    is " + j +"\n");
    } // end for
    } // end if
    if (wantUppercase)
    for (int i=0, j=65; i<uppercaseRange.length;
    ength; i++, j++)
         uppercaseRange[i] = j;
    System.out.println("Uppercase letter " + i + " is "
    " + j + "\n");
    } // end for
    } // end if
    if (wantLowercase)
    for (int i=0, j=97; i<lowercaseRange.length;
    ength; i++, j++)
         lowercaseRange[i] = j;
    System.out.println("Lowercase letter " + i +
    " + i + " is " + j + "\n");
    } // end for
    } // end if
    if (wantSpecialchars)
    for (int i=0, j=33; i<15; i++, j++)
    specialcharRange[i] = j;
    System.out.println("Special char " + i + " is " + j
    j + "\n");
    for (int i=15, j=58; i<22; i++, j++)
    specialcharRange[i] = j;
    System.out.println("Special char " + i + " is
    i + " is " + j + "\n");
    for (int i=22, j=91; i<28; i++, j++)
         specialcharRange[i] = j;
    System.out.println("Special char " + i + " is " + j
    j + "\n");
    for (int i=28, j=123;
    j=123; i<specialcharRange.length; i++, j++)
         specialcharRange[i] = j;
    System.out.println("Special char " + i + " is " + j
    j + "\n");
    } // end if
    if (numRange != null)
    System.arraycopy(numRange, 0, asciiRange, 0,
    ge, 0, numRange.length);
    if (uppercaseRange != null)
    System.arraycopy(uppercaseRange, 0, asciiRange,
    Range, firstEmptyElement(), uppercaseRange.length);
    if (lowercaseRange != null)
    System.arraycopy(lowercaseRange, 0, asciiRange,
    Range, firstEmptyElement(), lowercaseRange.length);
    if (specialcharRange != null)
    System.arraycopy(specialcharRange, 0,
    ge, 0, asciiRange, firstEmptyElement(),
    specialcharRange.length);
    for (int i=0; i<asciiRange.length; i++)
    System.out.println(asciiRange[i]);
    private int firstEmptyElement()
    int i;
    for (i=0; i<asciiRange.length; i++)
    if (asciiRange[i] == 0)
         break;
    return i;
    private void trimAsciiRange()
    newAsciiRange = new int[firstEmptyElement()];
    for (int i=0; i<newAsciiRange.length; i++)
    newAsciiRange[i] = asciiRange[i];
    System.out.println("newAsciiRange element " + i
    " + i + " is " + newAsciiRange[i]);
    public void generatePw (int selectedLength)
    int randomNum;
    char pwChar;
    pw = "";
    for (int i=0; i<=lengthSelected; i++)
    randomNum = 1 + (int) (Math.random() *
    om() * newAsciiRange.length);
    try {
         pwChar = new Character((char) (newAsciiRange));
         [b]pw += pwChar;
         System.out.print(pwChar + " ");
    catch(ArrayIndexOutOfBoundsException e) {
    System.out.print("Setting out-of-bounds index to
    o 0");
         pwChar = new Character((char) (newAsciiRange[0]));
         pw += pwChar;
         System.out.print(pwChar + " ");
    System.out.println(pw);
    textfield.setText(pw);
    private class CheckBoxHandler implements
    ts ItemListener
    public void itemStateChanged(ItemEvent e)
    if (e.getSource() == specialChars)
         if (e.getStateChange() == ItemEvent.SELECTED)
         wantSpecialchars = true;
         else
         wantSpecialchars = false;
    } // end outer if
    if (e.getSource() == numbers)
         if (e.getStateChange() == ItemEvent.SELECTED)
         wantNumbers = true;
         } // end if
         else
         wantNumbers = false;
         } // end else
    } // end if
    if (e.getSource() == lettersUpper)
         if (e.getStateChange() == ItemEvent.SELECTED)
         wantUppercase = true;
         else
         wantUppercase = false;
    } // end if
    if (e.getSource() == lettersLower)
         if (e.getStateChange() == ItemEvent.SELECTED)
         wantLowercase = true;
         else
         wantLowercase = false;
    } // end if

  • PC went south. Geeks brought it back. PS elements and premier 11 can't start. Error msg sez configuration incorrect needs to be reinstalled. When I load the disk I get a blank screen. Try to uninstall and can't find apps i control panel. How can I get the

    PC went south. Geeks brought it back. PS elements and premier 11 can't start. Error msg sez configuration incorrect needs to be reinstalled. When I load the disk I get a blank screen. Try to uninstall and can't find apps i control panel. How can I get the apps back?

    adobeamatuer
    Thanks for the reply.
    Although the security of Windows XP SP3 32 bit is compromised by Microsoft no longer supporting XP, if Windows XP was restored as claimed, you should still be able to install/uninstall Premiere Elements versions of it that you did before the Microsoft support removal.
    I think a revisit to the Geeks would be in order. It may be that they could not restore Windows XP because of the Microsoft non support. I would take along the Premiere Elements installation disks so that you do not leave there without actually seeing Premiere Elements (or a non Adobe program) running on your restored Windows XP. What was the other software that you tried to use that did not work?
    Please update us on your progress when you get a chance.
    Best wishes
    Thanks.
    ATR
    Add On...spelling correct 12 03 2014.

Maybe you are looking for

  • Itunes no longer works on my Pc desktop; it went away suddenly

    I can't load Itunes; couldn't use Itunes, I enjoyed the program for years, listening and purchasing.  Dialogue boxes began notifying me of missing "dll" files.  PC instructed me to reinstall Itunes.  6 attempts failed.  I unisntalled Itunes, twice. 

  • Webpage not available in preview

    When I preview my captivate project in in a web browser, the browser says that the webpage is not available. Fully publishing the project works fine. I have recently installed captivate and moved all my files to a new computer.

  • Help please with formulars in Chatrs

    Post Author: Hagster CA Forum: Charts and Graphs Hello All My problem is I create a simple report one table 5 fields. Table = Delv Fields - id            Customer            Date            Days-early-or-late (shown as a number neg for late pos for e

  • Range query and case

    I am testing on Oracle 10g R2, trying to work on a range query. http://download.oracle.com/docs/cd/B19306_01/server.102/b14211/sql_1016.htm#i28528 I have used CASE as follows; test@>explain plan for   2  select count(*) from rm_supplies   3  where it

  • ME22N - Refresh Delivery Date as a result of PO Transit Table Update?

    The SAP PO Transit Table is being updated to be more accurate. Weu2019ve been asked to develop a Winshuttle script to u2018refreshu2019 each affected open PO/Line to force an update of the POu2019s Delivery Date (the field is not directly accessible