Help on EBS bank account URGENT PLEASE!!!!!!!!!!!!!!!! ASAP

We started uploading EBS for one of our payroll accounts last month. Now we figured it out that all transactions in that account were wrong and some transactions were duplicated .One of the user wants to know can we delete all history in that account and reupload the bank statement again. If its possible please suggest me how to do.

solved

Similar Messages

  • Help with WDScopeUtil in 2004s - Urgent please

    Hi,
    We are currently migrating our code from 2004 SP16 to 2004s. From the forum, I understood that we have to use WDScopeUtil in 2004s to pass data between pages and WDScopeUtil supports only Strings but We want to pass objects also.
    We came up with another approach - Convert object to Bytes array, wrap it in a String object and put them in Session. Here are the methods used for the conversion.
         public static String convertHashMapToString(HashMap p) throws Exception {
              String errMsg = null;
              try {
                   byte[] bArray = SessionUtils.getBytes(p);
                   String pAsString = new String(bArray);
              } catch (Exception e) {
                   throw e;
              return pAsString;
         public static HashMap convertStringToHashMap(byte[] bArray) throws Exception {
              HashMap hm = null;
              try {
                   ByteArrayInputStream bis = new ByteArrayInputStream(bArray);
                   ObjectInputStream ois = new ObjectInputStream(bis);
                   hm = (HashMap) ois.readObject();
              } catch (Exception e) {
                   throw e;
              return hm;
         private static byte[] getBytes(Object obj) throws java.io.IOException {
              ByteArrayOutputStream bos = new ByteArrayOutputStream();
              ObjectOutputStream oos = new ObjectOutputStream(bos);
              oos.writeObject(obj);
              oos.flush();
              oos.close();
              bos.close();
              byte[] data = bos.toByteArray();
              return data;
    We have 2 2004s environments (Sandbox and Dev portal). When I first migrated this code to Sandbox, it just works great but when I deployed the code to Dev portal, I am getting the exception "invalid stream header" from convertStringToHashMap method.
    I am really confused about how it can work in one environment and not in another. Can there be any difference in lib files in both environments by patch level. Our webadmin says that they have the same set of libs in both environments.
    Any help is greatly appreciated.
    Thanks,
    Kalyan

    I have attached a file below to show that i am just getting noWHERE with this apparent help to sign in. in the second to last picture you will notice it says reset microsoft password. BUT I DONT NEED TO. the very last photo showes that there is a distinct individual option to reset just the skype password and i cannot do that using the code that they have emailed me. i just want to reset my skype account.
    PLEASE SOMEONE HELP.
    i have been asking help since thrusday.
    Attachments:
    skype help.pdf ‏501 KB

  • Help on project...Urgent please!!!

    Below i have some source code about one part of an aircraft reservation system.
    This class is the initialisation of the Aircraft file...this stores the information of a particular flight and the number of seats (first class, business class, and economy class).
    I want it to store the data as a 2d array that stores both string and int...but then i couldnt find a way of implementing the code.
    Could you all please help me in figuring this out...thanks a bunch...
    import javax.swing.*;
    import java.util.*;
    import java.io.*;
    public class SetupAircraft {
         static ArrayList aircraft;
         public static void init () {
              aircraft = new ArrayList(5);
              loadAircraft(aircraft);
         //opens up another sub group while the user
         //entered 1 as his/her option in the SetupSystem
         //menu
         public static void Setup () {
              //this will create a string that is going to be displayed
              //in the input dialog box
              String menu = " Please select an option: \n"
                             +"----------------------------\n"
                             +"1) Add New Aircraft\n"
                             +"2) Edit Existing Aircraft\n"
                             +"3) List Aircraft\n"
                             +"4) Delete Existing Aircraft\n"
                             +"5) Save\n"
                             +"6) Return to Main Menu\n\n"
                             +" Enter a number between 1-6\n";
              //declare a field named option for selection through menu
              int option = 0;
              //continue the loop until the user inputs the number 6
              do {
                   //error handling for the input from the menu
                   //if the input is not integer the error is caught and
                   //reassigning option to be 0
                   try {
                        option = Integer.parseInt(JOptionPane.showInputDialog(null, menu,
                                  "Setup Aircraft", JOptionPane.QUESTION_MESSAGE));
                   catch (NumberFormatException e) {
                        option = 0;
                   //determine which option the user has chosen
                   //and enters the respective section
                   switch (option) {
                        case 1: add(aircraft);
                                  break;
                        case 2: edit(aircraft);
                                  break;
                        case 3: list(aircraft);
                                  break;
                        case 4: //delete(aircraft);
                                  break;
                        case 5: save(aircraft);
                                  break;
                        case 6:     return;
                        default: JOptionPane.showMessageDialog(null, "Please enter a number between 1-6",
                                  "Alert", JOptionPane.ERROR_MESSAGE);
                                  option = 0;
              while (true);
         public static void add (ArrayList aircraft) {
              String type = "";
              int first = 0;
              int business = 0;
              int economy = 0;
              do {
                   try {
                        type = JOptionPane.showInputDialog(null,"Enter Aircraft Type", "Prompt for Type",
                        JOptionPane.QUESTION_MESSAGE);
                        try {
                             if(aircraft.contains(type)) {
                                  JOptionPane.showMessageDialog(null, type + " already exist!",
                                  "Error", JOptionPane.ERROR_MESSAGE);
                                  type = "-100";
                        catch (Exception e) {}
                        if (type=="-100");
                        else if (type.length()==0) {
                             JOptionPane.showMessageDialog(null, "Please enter an aircraft type",
                             "Error", JOptionPane.ERROR_MESSAGE);
                        else if (!(type.startsWith("-",3))) {
                             JOptionPane.showMessageDialog(null, "Please enter the aircraft type with XXX-XXX format where X is integer.",
                             "Error", JOptionPane.ERROR_MESSAGE);
                             type = "0";
                   //catch the input error that the user has produces.
                   catch (Exception e) {
                        return;
              while (!(type.startsWith("-",3)));
              //try to ask the user for the passenger's name and if the name field contains
              //no characters at all repeat the prompt for name field until the user presses
              //Cancel.
              try {
                   first = Integer.parseInt(JOptionPane.showInputDialog(null, "Enter First Class Capacity",
                   "Prompt for Capacity", JOptionPane.QUESTION_MESSAGE));
              catch (Exception e) {
                   String error = "For input string:";
                   if (e.getMessage() == "null") {
                        return;
                   else if (e.getMessage().startsWith(error)) {
                        JOptionPane.showMessageDialog(null, "Please enter only numbers",
                        "Error", JOptionPane.ERROR_MESSAGE);
              try {
                   business = Integer.parseInt(JOptionPane.showInputDialog(null, "Enter Business Class Capacity",
                   "Prompt for Capacity", JOptionPane.QUESTION_MESSAGE));
              catch (Exception e) {
                   String error = "For input string:";
                   if (e.getMessage() == "null") {
                        return;
                   else if (e.getMessage().startsWith(error)) {
                        JOptionPane.showMessageDialog(null, "Please enter only numbers",
                        "Error", JOptionPane.ERROR_MESSAGE);
              try {
                   economy = Integer.parseInt(JOptionPane.showInputDialog(null, "Enter Economy Class Capacity",
                   "Prompt for Capacity", JOptionPane.QUESTION_MESSAGE));
              catch (Exception e) {
                   String error = "For input string:";
                   if (e.getMessage() == "null") {
                        return;
                   else if (e.getMessage().startsWith(error)) {
                        JOptionPane.showMessageDialog(null, "Please enter only numbers",
                        "Error", JOptionPane.ERROR_MESSAGE);
              Aircraft newAircraft = new Aircraft (type, first, business, economy);
              aircraft.add(newAircraft);
              JOptionPane.showMessageDialog(null, "Aircraft Sucessfully Added",
              "Successful", JOptionPane.INFORMATION_MESSAGE);
         public static void edit (ArrayList aircraft) {
              String type = "";
              int first = 0;
              int business = 0;
              int economy = 0;
              do {
                   try {
                        type = JOptionPane.showInputDialog(null, "Enter Aircraft Type to Edit",
                        "Prompt for Type", JOptionPane.QUESTION_MESSAGE);
                        if (type.length()==0) {
                             JOptionPane.showMessageDialog(null,"Please enter an aircraft type",
                             "Error",JOptionPane.ERROR_MESSAGE);
                        else if (!(type.startsWith("-",3))) {
                             JOptionPane.showMessageDialog(null, "Please enter the aircraft type with XXX-XXX format where X is integer.",
                             "Error", JOptionPane.ERROR_MESSAGE);
                             type = "0";
                   catch (Exception e) {
                        return;
              while (!(type.startsWith("-",3)));
              try {
                   int edited = aircraft.indexOf(new UniqueAircraft(type));
                   Aircraft craft = (Aircraft)aircraft.get(edited);
                   try {
                        first = Integer.parseInt(JOptionPane.showInputDialog(null, "Enter First Class Capacity",
                        "Prompt for Capacity", JOptionPane.QUESTION_MESSAGE));
                   catch (Exception e) {
                        String error = "For input string:";
                        if (e.getMessage() == "null") {
                             return;
                        else if (e.getMessage().startsWith(error)) {
                             JOptionPane.showMessageDialog(null, "Please enter only numbers",
                             "Error", JOptionPane.ERROR_MESSAGE);
                   try {
                        business = Integer.parseInt(JOptionPane.showInputDialog(null, "Enter Business Class Capacity",
                        "Prompt for Capacity", JOptionPane.QUESTION_MESSAGE));
                   catch (Exception e) {
                        String error = "For input string:";
                        if (e.getMessage() == "null") {
                             return;
                        else if (e.getMessage().startsWith(error)) {
                             JOptionPane.showMessageDialog(null, "Please enter only numbers",
                             "Error", JOptionPane.ERROR_MESSAGE);
                   try {
                        economy = Integer.parseInt(JOptionPane.showInputDialog(null, "Enter Economy Class Capacity",
                        "Prompt for Capacity", JOptionPane.QUESTION_MESSAGE));
                   catch (Exception e) {
                        String error = "For input string:";
                        if (e.getMessage() == "null") {
                             return;
                        else if (e.getMessage().startsWith(error)) {
                             JOptionPane.showMessageDialog(null, "Please enter only numbers",
                             "Error", JOptionPane.ERROR_MESSAGE);
                   Aircraft newAircraft = new Aircraft (type, first, business, economy);
                   aircraft.add(newAircraft);
                   aircraft.add(newAircraft);
                   JOptionPane.showMessageDialog(null, "Successfully edited aircraft\n"+type+" to capacities\n"
                   +"First: "+first+"\n"+"Business: "+business+"\n"+"Economy: "+economy,
                   "Successful", JOptionPane.INFORMATION_MESSAGE);
              catch (Exception e) {
                   JOptionPane.showMessageDialog(null,e.getMessage(),"Error",JOptionPane.ERROR_MESSAGE);
         public static void list (ArrayList aircraft) {
              JOptionPane.showMessageDialog(null, aircraft.size()+" aircraft found", "Found",JOptionPane.INFORMATION_MESSAGE);
              Object[] aircrafts;
              aircrafts = aircraft.toArray();
              JOptionPane.showMessageDialog(null, aircrafts);
         public static void save (ArrayList aircraft) {
              try {
                   FileOutputStream fileout = new FileOutputStream(".\\Data\\Aircraft.bin");
                   ObjectOutputStream objectout = new ObjectOutputStream(fileout);
                   Object[] aircrafts;
                   aircrafts = aircraft.toArray();
                   objectout.writeObject(aircrafts);
                   objectout.close();
                   fileout.close();
                   JOptionPane.showMessageDialog(null,aircraft.size()+" aircrafts saved", "Sucessful", JOptionPane.INFORMATION_MESSAGE);
              catch (IOException e) {
                   JOptionPane.showMessageDialog(null,e.getMessage(),"Error",JOptionPane.ERROR_MESSAGE);
         public static void loadAircraft (ArrayList aircraft) {
              try {
                   FileInputStream filein = new FileInputStream(".\\Data\\Aircraft.bin");
                   ObjectInputStream objectin = new ObjectInputStream(filein);
                   Aircraft craft = null;
                   while ((craft=(Aircraft)objectin.readObject())!=null) {
                        aircraft.add(craft);
                   objectin.close();
                   filein.close();
              catch (Exception e) {}
    Thanks for your help...^^

    This class is the initialisation of the Aircraft
    file...this stores the information of a particular
    flight and the number of seats (first class, business
    class, and economy class).
    I want it to store the data as a 2d array that stores
    both string and int...but then i couldnt find a way of
    implementing the code.How about creating another class for this data instead of a two-dimensional array entry? If I understoof you correctly, these are "Flight" objects, with a destination (String) and a number of seats available(int).
    How about simply creating those and adding them to a list?
    You could further enhance that class with a passengers list...

  • F4 help in table control. - Urgent  Please

    Hi all,
    Iam using F4 help in table control. when the user selects the data in F4 values 4 more fields that are displayed in the F4 has to be updated in the table control
    What function modules should I use to capture the f4 values and keep in the current table control record. Please help by sending some code.
    Helpful answers will be rewarded.
    Thankhs
    Aditya

    Hi ,
    Check out the follwing Eg.
    To read the remaining fields in the corresponding row use <b>dynpfld_mapping</b> parameters in Table option of F4 help Function Module.And then use <b>DYNP_VALUES_UPDATE </b> FM to populate into the screen fields.
    MODULE shlpcntno INPUT.
      DATA : BEGIN OF i_cntno OCCURS 0,
              contnum LIKE zmps_veh_entry-contnum,
              contsl LIKE zmps_veh_entry-contsl,
              END OF i_cntno.
      CLEAR: i_cntno,i_cntno[],i_return,i_return[],i_map,i_map[].
      SELECT contnum contsl FROM zmps_veh_entry INTO TABLE i_cntno.
      i_map-fldname = 'F0001'.
      i_map-dyfldname = 'I_CNTNO-CONTNUM'.
      APPEND i_map.
      CLEAR i_map.
      i_map-fldname = 'F0002'.
      i_map-dyfldname = 'I_CNTNO-CONSTL'.
      APPEND i_map.
      CLEAR i_map.
      CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
        EXPORTING
          retfield        = 'CONTNUM'
          dynpprog        = sy-repid
          dynpnr          = sy-dynnr
          dynprofield     = 'W_CONTNUM'
          value_org       = 'S'
        TABLES
          value_tab       = i_cntno
          dynpfld_mapping = i_map
          return_tab      = i_return.
      IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
      LOOP AT i_return.
        IF i_return-fieldname = 'F0001'.
          w_contnum = i_return-fieldval.
        ELSEIF i_return-fieldname = 'F0002' AND flag = 3.
          w_slno = i_return-fieldval.
          CLEAR: i_dynread, i_dynread[].
          i_dynread-fieldname = 'W_SLNO'.
          i_dynread-fieldvalue = w_slno.
          APPEND i_dynread.
          CLEAR i_dynread.
          CALL FUNCTION 'DYNP_VALUES_UPDATE'
            EXPORTING
              dyname                     = sy-repid
              dynumb                     = sy-dynnr
            TABLES
              dynpfields                 = i_dynread
          IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
          ENDIF.
        ENDIF.
      ENDLOOP.
    ENDMODULE.

  • How can i take money out without a bank account

    How can i take money from my paypal balance and add it to my credit card ? my credit card is linked to my paypal and i do not have a bank account. some please help 

    Hi ,
    Welcome to the Community Forums!
    Great question! Here’s how to withdraw money from your PayPal account by check:
    Log in to your PayPal account.
    Click Transfer to your bank under your PayPal balance.
    Click Request a check by mail instead.
    Your check should arrive in 1-2 weeks.
    After you’ve requested a withdrawal, it can’t be canceled.
    The minimum you can withdraw by check is $1.51 USD.
    There’s a $1.50 USD fee for each check withdrawal.
    Withdrawals are converted to U.S. Dollars.
    Before you withdraw money by check, you must confirm an address or become Verified by adding and confirming a bank account. You can confirm your address and request a check immediately by clicking Add an Address.
    Checks can be cashed or deposited. If you don't deposit your check within 180 days of the date of issuance, we'll return the money to your balance (minus a fee).
    I hope this info helps!
    Cute ferret BTW!
    -Ashley

  • Bank accounts list

    Hi All
    I have pulled the list of bank accounts with housebank ID and acct IDs using the SE 16 and  table T012K.
    Can anybody tell me how to see all the active bankaccounts from them? or how to see all the active bank accounts? which T-code and which table should i search for and how to see only active bank accounts?
    Please explain me As soon as possible
    Thanks
    Deepa

    Hi Deepa,
    If you are looking at table T012K, it will give you all the house bank and bank id's configured in SAP. These can be all actively used by your organization or they may not be. Which ones are being used actively, is a question for the business. There is no way you can make it out from SAP straight forward.
    The round about way to make out which banks are actively used, is to query on table REGUH. In this table look at the fields Account ID (HKTID) and House bank (HBKID). From these fields you can make out which house banks and accounts being used for the payment transactions.
    Hope this was of help.
    Vishal.

  • Bank Accounts posted data transfer

    Hi all Experts,
    Thel scenario here is we are having bank accounts under the head of "Secured Loan" and "Liquid Funds".
    under secured loans the Bank GL for loans purpose, in the normal liquid funds having the house banks.
    User was wrongly taken the secured loan bank GL for transactions. Since this year the transactions already posted with customers and vendors and other paybles/receivables.
    I need to change all these data from secured loan bank account to liquid fund bank account.
    Please let me know is there any specific transaction help to transfer the posted data from one bank gl to another bank gl?
    Thanks and Regards,
    Soma

    Hi
    [This thread might help you|Transferring Business transactions from one G L  A/c to another GL;
    [Or This|change GL account;
    Rgds
    Zub

  • Issue with Replication of Bank Account Numbers from ECC to CRM.

    Hi,
    I am trying to transfer business partners from ECC to CRM, I see errors in SMW01, stating that Bank Key is not valid for US, I have then performed the Initial load for DNL_CUST_BNKA to tranfer Bank Master Data, but again getting error but this time on BANK ACCOUNT NUMBER.  How do I transfer the BANK ACCOUNT NUMBER of Business Partners from ECC to CRM. Before starting the initial load for BUPA_MAIN do I need to run any other Initial load to move the BANK ACCOUNT NUMBERS to  CRM?
    I have already moved Bank Master data using DNL_CUST_BNKA, but can't able to replicate BANK ACCOUNT NUMBERS, can someone please provide me some steps which I need to perform to tranfer BANK ACCOUNT NUMBER.
    Now when I ran the initial load for BUPA_MAIN , all Business partners which do not have BANK ACCOUNT NUMBERS are replicated successfully but the one which have Bank Details did not got transferred and gave errors for BANK ACCOUNT NUMBER, Please provide some suggestions.
    Thanks.
    Jennifer

    Willie,
    Thanks for the reply:
    Error: BANK ACCOUNT NUMBER    ******8547 is not valid
    Support pack level:
    SAP_ABA  701  0003
    SAP_BASIS 701 0003
    BBPCRM   700  0002
    Thanks.
    Jennifer

  • Creating new external bank account.

    I wanted to create a new external bank account. Please explain the steps in details.

    Hi Jaya,
    U will have to create posting rules for all the different tranactions that r there in the bank statement.
    For eg if u have created the tcodes that the bank use as the posting rule, then new bank transactions would have new posting rules.
    For all posting rules u will have to assgn ext trans types as per the logic that i have given.
    The basic logic for posting rule is:
    For Credit:
    "C",1,40," ","<incoming account symbol>",," ","<main account symbol>","ZR",5
    For Debit
    "D",1,," ","<outgoing account symbol>",50," ","<main account symbol>","ZR",4
    Regards,
    Kiran

  • Bank Account Number appears as stars in the payment window

    Dear Folks,
    After greetings,
    I have an issue regarding the bank account prefix number, it appears as stars in the payment page while i am trying to pay for any invoice and select the bank accounts to pay from it, all the bank accounts numbers prefix appears as i said as stars, any suggestions ?!
    Thanks in advance,
    Ahmed Fazary

    Hi,
    In R12, the masking and unmasking of external bank account numbers is managed through the system security options.
    Navigation: Payables Manager --> setup --> Payment --> Payment Administrator --> System Security Options
    In the screen, under the heading, Payment Instrument Masking, there are options to setup and control the masking for credit cards and external bank accounts.
    Please note that you have to wait for the concurrent request (which will be launched when you save) to finish, and only then will you see the masked bank account numbers on the Banking Details window of the Supplier master form.
    Regards,
    Raju.

  • Vendor account with two bank accounts -payment

    Hi
    For the vendor account we have two bank accounts .When a invoice is raised through MIRO ,we want the 50% payment to be made through First bank account and the rest payment to the Second bank account.The vendor has two bank accounts and wants 50-50% payment on a single invoice to be paid to two different bak accounts.
    How can this be configured and at the payment time in APP how will the system pay to two different bank accounts.
    Please advice.Please let me know if i need to provide any further details.

    Hello dear,
    The only solution in SAP standard for vendor bank account selection during payment program, when you have created partner bank types.
    Then, if you want to post to a different bank account then you need give the partner bank type in the invoice, then, the different bank account will come ( we can make partner bank type field as mandatory in the field status group).
    For choosing the vendor's bank account, you have to use the field 'Partner bank type' (BVTYP). It is present in vendor's master data (LFBK) as the print. screen shows it above, and in the document line items (bseg-bvtyp).
    Remark: We should use a substitution (with user exit) for filling this field automatically according to your own rule.
    Also, to define that it should be 50% to the first bank and 50% to the second bank, than you need an ABAP'er for this
    I hope that could answer your question.
    Thanks.

  • Living in Japan and I'm an American who just signed up with Soft Bank the phone service here and spent a TON of money on an iPhone. I can't figure out how to connect my bank account at home to my app account so I can Skype my family. Please help!!!!

    Living in Japan and I'm an American who just signed up with Soft Bank the phone service here and spent a TON of money on an iPhone. I can't figure out how to connect my bank account at home to my app account so I can Skype my family. Please help!!!! I don't have a credit card nor do they gove debit cards to foreigners here, or at least it's really hard so I'm using my bank at home and still have a debit there. My phone number is 8 numbers plus the country code which is strange! Another thing is I was given a phone email that I was told to use for texting but I'm not sure how that works!! It's so frustrating too because no one speaks English here and I'm not very tech savvy. God bless you if you can help :)

    whichever app store you are connecting to, hyou need a credit card with an address in that country. Also, itunes gift cards must be in local currency too.
    If you are in japan, you need to use the japan app store

  • Need Help Bank Account balances-Urgent

    Hi Masters,Can anyone help me to identify if we have any concurrent programme availaible (report) to obtain the daily opening and Closing balances for bank accounts for a SPECIFIED PERIOD
    I looked around but no luck..Even though I found a report in Cash management as 'Bank statement Summary Report' but in that the opening and closing balances are just Net Movements or say amont reconcilled and unreconcilled.My requirement is to have the opening and closing balances at a given point of time.
    It had been almost a week researching but no luck please HELP
    Message was edited by:
    A007

    Also I'll apprecaite if you can tell me which table stores the opening or closing balances if in case I need to develop a customised report for my requirement..
    Thanks
    A
    Still waiting as on Jan 16 2008..I blv it is very easy for you guys..pls respond
    Message was edited by:
    A007

  • Please help me  with this prob "Bank Account"

    please help me..... i create a bank account which can be save in sql and can view the list of account num, deposit, withdrawal . i dont know how to insert save buttons code ...i have a code here:
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    class GuiAccTest extends Frame implements ActionListener
    Label lab=new Label(" ");
    Label lab1=new Label(" ");
    TextField t[]=new TextField [4];
    Label l[]=new Label [4];
    Button but=new Button("Create Account");
    Button but1=new Button("Test Account");
    BankAccount b;
    GuiAccTest()
    addWindowListener(new NewWindowAdapter());
    setLayout(new GridLayout(2,0));
    Panel p=new Panel();
    Panel p1=new Panel();
    but.addActionListener(this);
    but1.addActionListener(this);
    p.setLayout(new GridLayout(5,2));
    p1.add(lab1);
    p1.add(lab);
    l[0]=new Label("Account Number");
    l[1]=new Label("Initial Balance");
    l[2]=new Label("Deposit Amount");
    l[3]=new Label("Withdraw Amount");
    for(int i=0;i<4;i++)
    t=new TextField(10);
    p.add(l[i]);
    p.add(t[i]);
    p.add(but);
    p.add(but1);
    but1.setVisible(false);
    l[2].setVisible(false);
    l[3].setVisible(false);
    t[2].setVisible(false);
    t[3].setVisible(false);
    add(p);
    add(p1);
    String testAccount(int d_amt,int w_amt)
    String msg;
    b.deposit(d_amt);
    msg="Transaction Succesful";
    try
    b.withdraw(w_amt);
    }catch(FundsInsufficientException fe)
    fe=new FundsInsufficientException(b.amount,w_amt);
    msg=String.valueOf(fe);
    return msg;
    public void actionPerformed(ActionEvent ae)
    String str=ae.getActionCommand();
    if(str.equals("Create Account"))
    b=new BankAccount(Integer.parseInt(t[0].getText()),Integer.parseInt(t[1].getText()));
    but1.setVisible(true);
    l[2].setVisible(true);
    l[3].setVisible(true);
    t[2].setVisible(true);
    t[3].setVisible(true);
    but.setVisible(false);
    l[0].setVisible(false);
    l[1].setVisible(false);
    t[0].setVisible(false);
    t[1].setVisible(false);
    lab1.setText("Account : "+b.accnum+", Current Balance : "+b.amount);
    return;
    else
    lab.setText(testAccount(Integer.parseInt(t[2].getText()),Integer.parseInt(t[3].getText())));
    lab1.setText("Account : "+b.accnum+", Current Balance : "+b.amount);
    public static void main(String arg[])
    GuiAccTest at=new GuiAccTest();
    at.setTitle("Bank Account Tester");
    at.setSize(600,200);
    at.setVisible(true);
    class NewWindowAdapter extends WindowAdapter
    public void windowClosing(WindowEvent we)
    System.exit(0);
    class BankAccount
    int accnum;
    int amount;
    BankAccount(int num,int amt)
    accnum=num;
    amount=amt;
    public void deposit(int amt)
    amount=amount+amt;
    public void withdraw(int amt) throws FundsInsufficientException
    if(amt>amount)
    throw new FundsInsufficientException(amount,amt);
    else
    amount=amount-amt;
    class FundsInsufficientException extends Exception
    int balance;
    int withdraw_amount;
    FundsInsufficientException(int bal,int w_amt)
    balance=bal;
    withdraw_amount=w_amt;
    public String toString()
    return "Your withdraw amount ("+withdraw_amount+") is less than the balance ("+balance+"). No withdrawal was recorded.";

    It depends on what country you're in and whether or not they're still available in the iTunes Store. Some purchased movies and all rentals won't be available.
    (108225)

  • Hi guys urgent please help me ASAP my ipod touch 4g reboots/restarts over and over again and i cant enter DFU mode cause my home button is stuck/broken please help guys i cant enter itunes too cause it said it needs my passcode

    hi guys urgent please help me ASAP my ipod touch 4g reboots/restarts over and over again and i cant enter DFU mode cause my home button is stuck/broken please help guys i cant enter itunes too cause it said it needs my passcode the problem is i cant even enter my passcode in my ipod touch cause its rebooting over and over again help please guys

    - See if this program will place it in recovery mode since that erases the iPod and bypasses the passocode.
    RecBoot: Easy Way to Put iPhone into Recovery Mode
    - Next try letting the battery fully drain. The try again.

Maybe you are looking for

  • How can I create an element in the model node?

    Hi, Experts, I create a model node that name is containerNode in the contxt. Cadinility is: 1..n I write the code in the method:   private String getDataForOutputTable( IWDNode wageTypePayslip, IWDNode containerNode ){        String betrgSumStr = "";

  • Can't import my video from DVD

    I have a homemade video (no copyright issues) that was made into a DVD, and I want to import it into iMovie, but I can't manage to do so. Any tips? FileVault is not turned on.

  • Importing .doc into RoboHelp 2002

    I am still running RoboHelp 2002 (build .949) and running MS Word 2002/SP-2. I am trying to import a Word doc into RoboHelp and it is failing with no message. question - Should I be able to import a Word 2002 document into RoboHelp 2002? Thanks for a

  • JDEV OA EXTENSION EXCEPTION

    Hi, I installed a 11.5.10 vision demo and tried to setup the JDEV OA extension to create new pages. I followed the "Setting Up your development environment" guide packed with patch p4045639_11i_GENERIC.zip I made it work one time but then for some re

  • Prompt Month sort order

    Hi, I have a prompt which has data values as Mon-YYYY format (example AUG-2010, 'MAY-2010, MAR-2010' etc). Now I would like to sort them in display in prompt when the prompt appears in the report. For example, MAR-2010, MAY-2010, AUG-2010. Currently,