How to input Additive costs

Hello,
   kindly let me know how to we inout additive costs for any materail to show it in the cost estimate, i have acitivate the update additive costs in the costing varaint.
we want to include the freight costs as addtivie costs and add it to the standarad price of that material,
please let me know ,

<b>Step 1</b>
As a first step ensure that in ( OKKN ) valuation variant within the costing variant you are costing has the additive cost check box checked for material valuation. (You need to check against every strategy, if needed). When that priority is picked, where the additive cost is checked, then the additive cost is applied else not.
<b>Step 2</b>
Through CK74N  Maintain the additive cost. Enter the the material, the same costing variant and within that screen you can maintain a  variable item category. You need to populate the Quantity field,Desctiption,  Price-Total, Price Unit, Cost element. (Ensure the cost element in included in the cost component structure under the right head). Save it.
<b>Step 3</b>
Come to CK11N and run the cost estimate for the same material. You can see that besides the value as per strategy, the additive cost is also included.

Similar Messages

  • How to upload additive costs

    Hi
    Please advice on how to upload additive costs from excel sheet.
    Thanks
    Verada

    Hi,
    Please note that a batch input is available via the old transactionCK74.
    It is no longer available via CK74N. Please see notes:
    301112 for CK74
    314528 , 311440 for CK74N.
    br, Guido

  • Inventorising Additional Costs in Import Pricing

    Dear Friends,
    Can any body help me how to inventorise additional costs ( Freight, Insurance, Commission agent Charges etc.) in Import Purchase Pricing. Kindly help me on this regard.
    Regards,
    Ashok

    Hi ,
    while processing MIRO there is an option of adding an addtional cost to the inventory by making the entry in the material code tab. here you can post the cost on material directly .
    In case if you want the same to be routed through Po then you will have to check the condition types and accordingly make the changes in OBYC , so that everytime your inventory is hit .
    hope this helps .
    Regards ,
    Dewang T.

  • Best way for mass upload of CK74N additive costs

    Was wondering if anyone can share their experience with mass loading additive costs using CK74N.
    Is it easier to create a winshuttle script for this or is it easier to write a BDC?

    Hi..
    Refer to below scn site.
    How to upload additive costs
    Issue with CK74n session in background

  • Loading of additional costs on to inventory

    Hi All,
    How do load additional costs (freight, insurance, import taxes etc) on to inventory. The invoices for the above services will be received only in the month end. By this time raw material might have been already received and the basic invoice (commercial invoice) already booked. Additional cost that I book in the month end should pro rata increase the inventory values of the received lots so that my contribution figures are accurate.
    How do I do this? Any document available?
    thanks

    You need the Periodic Costing, this is addressed in the Cost Management User Guide, There is also a Good white paper in Metalink in the Top Tech Doc under Cost Management section. This white paper explains with examples how to use this type of costing and how to integrate all the additional charges into your ost.

  • I purchased an additional audio function for the apps "baby monitor"today, but this function didn't work on my ipad. Grateful if you would let me know how to refund the cost.

    I purchased an additional audio function for the apps "baby monitor"today, but this function didn't work on my ipad. Grateful if you would let me know how to refund the cost.

    Refund
    http://www.apple.com/emea/support/itunes/contact.html

  • Can I buy additional cloud storage and how much does it cost?

    have gone over my 20g allowance for cc so can I buy additional cloud storage and how much does it cost?

    Hi, in my opinion it's best to use that laptop as is and upgrade next year. On top of that the cpu is running at 1.6Ghz which isn't very fast.
    Nonetheless, there are a few 4GB sticks for laptops. Not all laptops dimm slots support 4GB in each but yours does and that's a good thing. Only downside to this ram stick is the price. Very expensive.
    http://www.newegg.com/Product/Product.aspx?Item=N82E16820148288&cm_re=ddr2-_800_4GB-_-20-148-288-_-Product 

  • Additional costs while the product is at your warehouse...how to link?

    Hello experts,
    I was wondering if SAP lets you add costs to lots after they have been recieved to a particular warehouse.
    Example:
    We recieved a shipment containing 2 lot numbers. Once is in our warehouse, we performed an additional lab test to one of the lot numbers. So how do you vinculate this additional costs to the lot? What options do I have to affect the inventory value with the correct information?
    Kind regards

    Hello Gordon,
    I have tested but landed costs is a complex alternative.
    If I want to base the new landed costs on the original Landed Cost Document, there is a problem with the warehouse allocation. At the inital Landed cost document the warehouse was "In transit" but at the 2nd Landed Cost document it will be " General". however, if I copy from initial document I cannot change the warehouse.........
    I tried as weel the inventory revaluation and think it wil probably be the best alternative. Is there any way to include the batch information on this document. Would you suggest a UDF?
    Thanks

  • I want to exchange apple existing to new how much I have to pay additional cost

      I want to exchange IPod with present new model.how much I have additional cost.Advise

    As "Niel" said, you can sell it, which would be my reccomended course of action. Personally I prefer eBay, as you can sell for fair prices to legitamate buyers, and get a decent amount for your iPod. Also, as "Niel" said, you could use Apple's Recycling program, but just like he said, you may want to prepare to pay for most of the new iPod anyways.
    Reccomendation in short:
    Sell it on eBay.
    Thanks!
    ~ Cole

  • How do I download Mountain Lion to the other computers at my home without additional cost? I downloaded 10.8 to my main IMac but have two additional computers in my home.?

    How do I download Mountain Lion to the other computers at my home without additional cost? I downloaded 10.8 to my main IMac but have two additional computers in my home.?

    Install 10.6.8 on the other computers. Sign into the App Store with the same Apple ID used to purchase Mountain Lion. Click on the Purchases icon in the toolbar. Locate your Mountain Lion purchase entry which will show an active Install/Download button to the right of the entry. Click on it to download to the computer. If you don't wish to download Mountain Lion twice, then do this:
    Make Your Own Mountain/Lion Installer
    1. After downloading Mountain/Lion you must first save the Install Mac OS X Mountain/Lion application. After Mountain/Lion downloads DO NOT click on the Install button. Go to your Applications folder and make a copy of the Mountain/Lion installer. Move the copy into your Downloads folder. Now you can click on the Install button. You must do this because the installer deletes itself automatically when it finishes installing.
    2. Get a USB flash drive that is at least 8 GBs. Prep this flash drive as follows:
    Open Disk Utility in your Utilities folder.
    After DU loads select your flash drive (this is the entry with the mfgr.'s ID and size) from the left side list. Click on the Partition tab in the DU main window.
    Under the Volume Scheme heading set the number of partitions from the drop down menu to one. Set the format type to Mac OS Extended (Journaled.) Click on the Options button, set the partition scheme to GUID then click on the OK button. Click on the Partition button and wait until the process has completed.
    Select the volume you just created (this is the sub-entry under the drive entry) from the left side list. Click on the Erase tab in the DU main window.
    Set the format type to Mac OS Extended (Journaled.) Click on the Options button, check the button for Zero Data and click on OK to return to the Erase window.
    Click on the Erase button. The format process can take up to an hour depending upon the flash drive size.
    3. Locate the saved Mountain/Lion installer in your Downloads folder. CTRL- or RIGHT-click on the installer and select Show Package Contents from the contextual menu. Double-click on the Contents folder to open it. Double-click on the SharedSupport folder. In this folder you will see a disc image named InstallESD.dmg.
    4. Plug in your freshly prepared USB flash drive. You are going to clone the content of the InstallESD.dmg disc image to the flash drive as follows:
    Double-click on the InstallESD.dmg file to mount it on your Desktop.
    Open Disk Utility.
    Select the USB flash drive from the left side list.
    Click on the Restore tab in the DU main window.
    Select the USB flash drive volume from the left side list and drag it to the Destination entry field.
    Drag the mounted disc icon from the Desktop into the Source entry field.
    Double-check you got it right, then click on the Restore button.
    When the clone is completed you have a fully bootable installer that you can use without having to re-download Mountain/Lion.
    Note: The term Mountain/Lion used above means Lion or Mountain Lion.
    As an alternative to the above you can try using Lion DiskMaker 2.0 that automates the process.

  • How much does it cost to get an additional user on my CC account?

    I work in a design studio, I have a yearly account & would like to license Adobe CC to another user, how much would this cost? And which plan should I select?

    If you are not under any promotional offer price purchase, then it is 49.99$ per seat per month for an year of contract for Team CC.
    Cloud technology | Adobe Creative Cloud for small & medium business
    If you have Individual Cc then you can not add seat, it can be activated twice with the same ID.
    Regards
    Rajshree

  • HOW do I find out how much using additional Typekit web fonts COSTS?

    It seems very strange to me, but there are NO PRICES listed at typekit.com.
    You can see lots of faces, but there seems to be no way to USE those faces on the web! I excpected there to be SOME information on pricing, but there is NONE.
    One might conclude that they don't want any business ...

    Hi Michael,
    I have just replied to your support email, but will post the same information here for the forum archive:
    I'm sorry for any confusion here.  Your Typekit Portfolio plan is included in your Creative Cloud subscription at no additional cost. 
    This is why you don't see information about pricing when you are signed in to your account: it's part of the Creative Cloud subscription that you already have.  I will let the team know that this was confusing, though, so we can make it more clear in the future.
    # About your Portfolio plan:
    A Portfolio plan gives you access to the full library of Typekit web fonts, as well as the new desktop sync feature. 
    You can read more about the Portfolio plan details–and the pricing on the other Typekit subscription options–on the plan pages:
    https://typekit.com/plans
    Font sync is still being rolled out to users, so will need to request access in order to try it out. Read more about that on our blog: http://blog.typekit.com/2013/08/08/sign-up-for-early-access-to-desktop-font-sync
    or just head over to sign up:
    https://creative.adobe.com/earlyaccess.
    Again, all of this is included as part of your Creative Cloud subscription.  You will not be billed anything additional by Typekit (unless you choose to upgrade your subscription to support more pageviews.)
    I hope that this helps; let me know if you have any other questions.  best,
    -- liz

  • Additive Cost Estimate Report

    Hi Gurus ,
    We need a additive cost estimate Report that would show the Material,Plant, additive cost (in dollars NOT "x" as shown in KEKO or KEPH table).
    for the above I tried a simple Querry with MARC-KEKO-KEPH (didn't conside MBEW-MARA) , in SQ01 But the end resul is same as KEKO table Just Showing the "x" mark,
    Users can not go for individual validation after doing a Mass upload of CK76N using LSMW  so would like to see a detailed report with Dollar amount and comare it with their Books.
    I searched SDN for this kind of report But no useful information,
    Your Help Greately Appreciated,
    Note: please don't say Use, KEKO, KEPH tables,Thank you ,
    Sandhya

    You can look at Functional Modules in SE37. You can as well execute them in test in the tcode to provide the input values, it would show the out put values as well.
    You need to provide your requirements by explaining what you are achieving in CK76n and how they are stored in Tables KEKO, etc... and ask him to build a program using the above functional modules.
    Infact if the above functional modules doesnot work, you can ask the ABAPer to use the same function modules used in CK76n to get the information and make the requirement changes to meet your requirements.
    Edited by: Suraj Ramamurthy on Dec 9, 2008 2:33 PM

  • How to input data into an arraylist from a text file?

    I am trying to take data from a text file and put that data into an arraylist. First here is the text file:
    [item1, 10, 125.0, item2, 10, 12.0, item3, 20, 158.0]
    3
    4530.0
    [item5, 65, 555.5, item4, 29, 689.0]
    2
    56088.5
    [item7, 84, 34.5, item6, 103, 0.5, item8, 85, 1.36]
    3
    3065.1The text between the [ ] is the output from my arraylists. I have three arraylists. The first [ ] belongs to arraylist A, the second to arraylist B, and the third to arraylist C. The format of the arraylists is this:
    <item name>,<# in stock>,<value of one item>
    The first number below the arraylists in the text file represents the number of items in the list. The second number below the arraylists represents the total value of the items in the arraylists.
    Here is the class file I have (yes, it does everything):
    import java.io.*;
    import java.util.Scanner;
    import java.util.ArrayList;
    public class Inventory extends Object
         public int toAdd = 0;
         private boolean done = false;               //Are we done yet?
         public String strItemName;                    //The name of the item type.
         public int intNumInStock;                    //The number in stock of that type.      
         public double dblValueOfOneItem;          //The value of one item.
        public String strNumberInStock;               
        public double dblTotalValueA;               //The total value of warehouse A.
        public double dblTotalValueB;               //The total value of warehouse B.
        public double dblTotalValueC;               //The total value of warehouse C.
        public int intWarehouseAItemCount;          //Counter for items in warehouse A.
        public int intWarehouseBItemCount;          //Counter for items in warehouse B.
        public int intWarehouseCItemCount;          //Counter for items in warehouse C.
         ArrayList warehouseAList = new ArrayList();     //Create the Warehouse A ArrayList.                                   
         ArrayList warehouseBList = new ArrayList(); //Create the Warehouse B arrayList.
         ArrayList warehouseCList = new ArrayList(); //Create the Warehouse C arrayList.
         /** Construct a new Inventory object. */
         public Inventory()
              super();
         /**Add items to the Warehouse A ArrayList.*/
         private void createWareHouseA()
              System.out.println("!" + toAdd + " item types will be added to warehouse A.");
              //Cast
              String strNumInStock = Integer.toString(intNumInStock);
              String strValueOfOneItem = Double.toString(dblValueOfOneItem);
              this.strNumberInStock = strNumInStock;
              System.out.println("!Initial size of warehouseAList :  " +
                                                                warehouseAList.size());
              //Add items to the array List
              warehouseAList.add(this.strItemName);
              warehouseAList.add(this.strNumberInStock);
              warehouseAList.add(this.dblValueOfOneItem);
              System.out.println("!size of arrayList after additions " + warehouseAList.size());
         /**Add items to the Warehouse B ArrayList.*/
         private void createWareHouseB()
              System.out.println("!" + toAdd + " item types will be added to warehouse B.");
              //Cast
              String strNumInStock = Integer.toString(intNumInStock);
              String strValueOfOneItem = Double.toString(dblValueOfOneItem);
              this.strNumberInStock = strNumInStock;
              System.out.println("!Initial size of warehouseBList :  " +
                                                                warehouseBList.size());
              //Add items to the array List
              warehouseBList.add(this.strItemName);
              warehouseBList.add(this.strNumberInStock);
              warehouseBList.add(this.dblValueOfOneItem);
              System.out.println("!size of arrayList after additions " + warehouseBList.size());
         /**Add items to the Warehouse C ArrayList.*/
         private void createWareHouseC()
              System.out.println("!" + toAdd + " item types will be added to warehouse C.");
              //Cast
              String strNumInStock = Integer.toString(intNumInStock);
              String strValueOfOneItem = Double.toString(dblValueOfOneItem);
              this.strNumberInStock = strNumInStock;
              System.out.println("!Initial size of warehouseCList :  " +
                                                                warehouseCList.size());
              //Add items to the array List
              warehouseCList.add(this.strItemName);
              warehouseCList.add(this.strNumberInStock);
              warehouseCList.add(this.dblValueOfOneItem);
              System.out.println("!size of arrayList after additions " + warehouseCList.size());
         /**Interpret the commands entered by the user.*/
         public void cmdInterpreter()
              this.displayHelp();
              Scanner cin = new Scanner(System.in);
              while (!this.done)
                   System.out.print(">");
                   //"line" equals the next line of input.
                   String line = cin.nextLine();
                   this.executeCmd(line);
         /**Execute one line entered by the user.
          * @param cmdLN; The command entered by the user to execute. */
          private void executeCmd(String cmdLN)
               Scanner line = new Scanner(cmdLN);
               if (line.hasNext())
                    String cmd = line.next();
                    //What to do when users enter the various commands below.
                    if (cmd.equals("help"))
                         this.displayHelp();
                    else if (cmd.equals("Q!"))
                         this.done = true;
                    else if (cmd.equals("F") && line.hasNext())
                         this.inputFromFile(line.next());
                    else if (cmd.equals("K") && line.hasNext())
                         int numItemsToAdd = Integer.valueOf( line.next() ).intValue();
                         this.toAdd = numItemsToAdd;
                         this.inputFromKeyboard(numItemsToAdd);
          /**What to do if input comes from a file.
           *     @param inputFile; The name of the input file to process.*/
          private void inputFromFile(String inputFile)
               Scanner cin = new Scanner(System.in);
               System.out.println("!Using input file " + inputFile + ".");
               System.out.print("!Enter the name of the output file: ");
               String outputFile = cin.next();
               System.out.println("!Using output file " + outputFile + ".");
              try
                   BufferedReader in = new BufferedReader(new FileReader(inputFile));
                   //Scanner in = new Scanner(new File(inputFile));
                   //Initialize the String variables.
                   String line1 = null;
                   String line2 = null;
                   String line3 = null;
                   String line4 = null;
                   String line5 = null;
                   String line6 = null;
                   String line7 = null;
                   String line8 = null;
                   String line9 = null;
                   System.out.println(in.equals(",") + " see?");
                   //System.out.println((char)(char)in.read() + " experiment");
                   /**This loop assigns values to the string variables based on the
                    * values on each line in the input file. */
                   while(in.readLine() != null)
                        line1 = in.readLine();
                        line2 = in.readLine();
                        line3 = in.readLine();
                        line4 = in.readLine();
                        line5 = in.readLine();
                        line6 = in.readLine();
                        line7 = in.readLine();
                        line8 = in.readLine();
                        line9 = in.readLine();
                   //Print the contents of each line in the input file.
                   System.out.println("!value of line 1: " + line1);
                   System.out.println("!value of line 2: " + line2);
                   System.out.println("!value of line 3: " + line3);
                   System.out.println("!value of line 4: " + line4);
                   System.out.println("!value of line 5: " + line5);
                   System.out.println("!value of line 6: " + line6);
                   System.out.println("!value of line 7: " + line7);
                   System.out.println("!value of line 8: " + line8);
                   System.out.println("!value of line 9: " + line9);
                /**Add items to the warehouses.*/
                   warehouseAList.add(line1);
                   warehouseBList.add(line4);
                   warehouseCList.add(line7);
                /**Add the item count and total value for warehouse A.*/
                   int intLine2 = Integer.valueOf(line2).intValue();
                   this.intWarehouseAItemCount = intLine2;
                   double dblLine3 = Double.valueOf(line3).doubleValue();
                   this.dblTotalValueA = dblLine3;
                /**Add the item count and total value for warehouse B.*/
                   int intLine5 = Integer.valueOf(line5).intValue();
                   this.intWarehouseBItemCount = intLine5;
                   double dblLine6 = Double.valueOf(line6).doubleValue();
                   this.dblTotalValueB = dblLine6;
                /**Add the item count and total value for warehouse C.*/
                  int intLine8 = Integer.valueOf(line8).intValue();
                  this.intWarehouseCItemCount = intLine8;
                  double dblLine9 = Double.valueOf(line9).doubleValue();
                  this.dblTotalValueC = dblLine9;
                /**Ask the user how many items to add or delete from inventory.*/
                  System.out.print("Enter the number to add to inventory for " +
                                                               warehouseAList.get(0) + ":");
                  String toAddOrDel = cin.next();
                /**Print the contents of all the warehouses. */
                   System.out.println(" ");
                   //Print the contents of warehouse A.
                   System.out.println("!--------------------------------");
                   System.out.println("!----------Warehouse A:----------");
                   System.out.println("!--------------------------------");
                   //Print the item list for warehouse A.
                   System.out.println(warehouseAList);
                   //Print the total amount of items in warehouse A.
                   System.out.println("Total items: " + this.intWarehouseAItemCount);
                   //Print the total value of the items in warehouse A.
                   System.out.println("Total value: " + this.dblTotalValueA);
                   System.out.println("!--------------------------------");
                   System.out.println("!----------Warehouse B:----------");
                   System.out.println("!--------------------------------");
                   //Print the item list for warehouse B.
                   System.out.println("!warehouseB: " + warehouseBList);
                   //Print the total amount of items in warehouse B.
                   System.out.println("Total items: " + this.intWarehouseBItemCount);
                   //Print the total value of the items in warehouse B.
                   System.out.println("Total value: " + this.dblTotalValueB);
                   System.out.println("!--------------------------------");
                   System.out.println("!----------Warehouse C:----------");
                   System.out.println("!--------------------------------");
                   //Print the item list for warehouse C.
                   System.out.println("!warehouseC: " + warehouseCList);
                   //Print the total amount of items in warehouse C.
                   System.out.println("Total items: " + this.intWarehouseCItemCount);
                   //Print the total value of the items in warehouse C.
                   System.out.println("Total value: " + this.dblTotalValueC);
                   in.close();
              catch (FileNotFoundException e)
                   System.out.println("!Error: Unable to open file for reading.");
              catch (EOFException e)
                   System.out.println("!Error: EOF encountered, file may be corrupted.");
              catch (IOException e)
                   System.out.println("!Error: Cannot read from file.");
          /**What to do if input comes from the keyboard.
           *     @param numItems; The total number of items that will be added to the
           *                      Warehouse(s). */
          public void inputFromKeyboard(int numItems)
               System.out.println("!You will be adding " + numItems + " items to " +
                                             "inventory from the keyboard. ");
               this.toAdd = numItems;
               Scanner cin = new Scanner(System.in);
               //Prompt user for name of output file.
               System.out.print("!Enter the name of the output file: ");
               String outputFile = cin.next();
               /**This loop asks the user for information about the item(s) and inputs
                 *them into the appropriate array.*/
               int count = 0;
               while (numItems > count)
                    //Item name.
                    System.out.print("!Item name: ");
                    String addItemName = cin.next();
                    //Number in stock.
                    System.out.print("!Number in stock: ");
                    String addNumInStock = cin.next();
                    //Initial warehouse.
                    System.out.print("!Initial warehouse(A,B,C): ");
                    String addInitWarehouse = cin.next();
                    //Value of one item.
                    System.out.print("!Value of one item: ");
                    String addValueOfOneItem = cin.next();
                    //Add or delete from inventory
                    System.out.print("!Enter amount to add or delete from inventory: ");
                    String strAddOrDelete = cin.next();
                    System.out.println("!Amount to add or delete: " + strAddOrDelete);
                    //Cast
                    int intAddNumInStock = Integer.valueOf(addNumInStock).intValue();
                    double doubleAddValueOfOneItem = Double.valueOf(addValueOfOneItem).doubleValue();
                    int intAddOrDelete = Integer.valueOf(strAddOrDelete).intValue();
                    /**Add intAddNumInStock with intAddOrDelete to determine the amount
                     * to add or delete from inventory (If a user wishes to remove items
                     * from inventory simply add negative values). */
                    intAddNumInStock = intAddNumInStock + intAddOrDelete;
                    System.out.println("!Inventory after modifications: " + strAddOrDelete);
                    this.strItemName = addItemName;
                    this.intNumInStock = intAddNumInStock;
                    this.dblValueOfOneItem = doubleAddValueOfOneItem;
                    //Put items into warehouse A if appropriate.
                    if (intAddNumInStock < 25)
                        //Increment the warehouse A item count.
                        this.intWarehouseAItemCount = this.intWarehouseAItemCount + 1;
                        //Calculate the total value of warehouse A.
                        this.dblTotalValueA = this.dblTotalValueA + intAddNumInStock * doubleAddValueOfOneItem;
                        //Create the warehouse A array list.
                        this.createWareHouseA();
                    //Put items into warehouse B if appropriate.
                    if (intAddNumInStock >= 25)
                        if (intAddNumInStock < 75)
                             //Increment the warehouse B item count.
                             this.intWarehouseBItemCount = this.intWarehouseBItemCount + 1;
                             //Calculate the total value of warehouse B.
                             this.dblTotalValueB = this.dblTotalValueB + intAddNumInStock * doubleAddValueOfOneItem;
                             //Create the warehouse B array list.
                             this.createWareHouseB();
                    //Put items into warehouse C if appropriate.
                    if (intAddNumInStock >= 75)
                        //Increment the warehouse C item count.
                        this.intWarehouseCItemCount = this.intWarehouseCItemCount + 1;
                        //Calculate the total value of warehouse C.
                        this.dblTotalValueC = this.dblTotalValueC + intAddNumInStock * doubleAddValueOfOneItem;
                        //Create the warehouse C array list.
                        this.createWareHouseC();
                     //display helpful information.      
                    System.out.println("!--------------------------------");
                    System.out.println("!" + addItemName + " is the item name.");
                    System.out.println("!" + addNumInStock + " is the number in stock.");
                    System.out.println("!" + addInitWarehouse + " is the initial warehouse.");
                    System.out.println("!" + addValueOfOneItem + " is the value of one item.");
                    System.out.println("!--------------------------------------------------");
                   //Increment the counters.
                    count++;
               /**Create and write to the output file. */
               try
                     //Use the output file specified by the user.
                    PrintWriter out = new PrintWriter(outputFile);
                 /**Write warehouse A details.*/
                      //Blank the first line.
                      out.println(" ");
                    //Write the array list for warehouse A.
                    out.println(warehouseAList);
                    //Write the amount of items in warehouse A.
                    out.println(intWarehouseAItemCount);
                    //Write the total value for warehouse A.
                    out.println(dblTotalValueA);
                 /**Write warehosue B details.*/
                   //Write the array list for warehouse B.
                    out.println(warehouseBList);
                    //Write the amount of items in warehouse B.
                    out.println(intWarehouseBItemCount);
                    //Write the total value for warehouse B.
                    out.println(dblTotalValueB);
                 /**Write warehouse C details.*/
                      //Write the array list for warehouse C.
                    out.println(warehouseCList);
                    //Write the amount of items in warehouse C.
                    out.println(intWarehouseCItemCount);
                    //Write the total value for warehouse C.
                    out.println(dblTotalValueC);
                    //Close the output file.
                    out.close();     
                catch (FileNotFoundException e)
                   System.out.println("Error: Unable to open file for reading.");
               catch (IOException e)
                   System.out.println("Error: Cannot read from file.");
               /**View the contents and the value of each warehouse.*/
               System.out.println("!---------------Inventory Summary------------------");
               System.out.println("!--------------------------------------------------");
               System.out.println("!--------------------LEGEND:-----------------------");
               System.out.println("!<item type>, <amount in stock>,<value of one item>");
               System.out.println("!--------------------------------------------------");
               System.out.println("!------------------Warehouse A:--------------------");
               System.out.println("!--------------------------------------------------");
               //Display Items in warehouse A.
               System.out.println(warehouseAList);
               //Total items in warehouse A.
               System.out.println("Total items: " + intWarehouseAItemCount);
               //Display total value of warehouse A.
               System.out.println("Total value: " + "$" + dblTotalValueA);
               System.out.println("!--------------------------------------------------");
               System.out.println("!------------------Warehouse B:--------------------");
               System.out.println("!--------------------------------------------------");
               //Display Items in warehouse B.
               System.out.println(warehouseBList);
               //Total items in warehouse B.
               System.out.println("Total items: " + intWarehouseBItemCount);
               //Display total value of warehouse B.
               System.out.println("Total value: " + "$" + dblTotalValueB);
               System.out.println("!--------------------------------------------------");
               System.out.println("!------------------Warehouse C:--------------------");
               System.out.println("!--------------------------------------------------");
               //Display Items in warehouse C.
               System.out.println(warehouseCList);
               //Total items in warehouse C.
               System.out.println("Total items: " + intWarehouseCItemCount);
               //Display total value of warehouse C.
               System.out.println("Total value: " + "$" + dblTotalValueC);
         /**Display a help message.*/
         private void displayHelp()
              System.out.println("!--------------------------------");
              System.out.println("! General Help:");
              System.out.println("!--------------------------------");
              System.out.println("! ");
              System.out.println("!'help' display this help message.");
              System.out.println("!'Q!' quit this program.");
              System.out.println("!--------------------------------");
              System.out.println("! Input File Specific Commands:");
              System.out.println("!--------------------------------");
              System.out.println("! ");
              System.out.println("!'F' <name> type F followed by the name of the " +
                                       "file to be used for input.");
              System.out.println("!---------------------------------------");
              System.out.println("! Input From Keyboard Specific Commands:");
              System.out.println("!---------------------------------------");
              System.out.println("! ");
              System.out.println("!'K' <number> type K followed by the number of " +
                                        "items that will be added. ");
              System.out.println("! ");
    }Program file:
    public class InventoryProg
         public static void main(String[] args)
              //Create a new Inventory object.
              Inventory test = new Inventory();
              //Execute the command interpreter.
              test.cmdInterpreter();
    }Right now I am stuck on this and I cannot progress any further until I figure out how to input the data in the text file back into a arraylist.
    Thanks in advance.

    Thanks but I figured it out. Heres a sample of the code i used to solve my problem:
    try
                           //Warehouse A BufferedReader.
                   BufferedReader inA = new BufferedReader(new FileReader(inputFileWarehouseA));
                   //Warehouse B BufferedReader.
                   BufferedReader inB = new BufferedReader(new FileReader(inputFileWarehouseB));
                   //Warehouse C BufferedReader.
                   BufferedReader inC = new BufferedReader(new FileReader(inputFileWarehouseC));
                   //Warehouse details BufferedReader.
                   BufferedReader inDetails = new BufferedReader(new FileReader(inputFileDetails));
                   //Will hold values in warehouse arraylists.
                   String lineA = null;
                   String lineB = null;
                   String lineC = null;
                   //Will hold the details of each warehouse.
                   String line1 = null;
                   String line2 = null;
                   String line3 = null;
                   String line4 = null;
                   String line5 = null;
                   String line6 = null;
                   //Get the item count and total value for each warehouse.
                   while(inDetails.readLine() != null)
                        line1 = inDetails.readLine();
                        line2 = inDetails.readLine();
                        line3 = inDetails.readLine();
                        line4 = inDetails.readLine();
                        line5 = inDetails.readLine();
                        line6 = inDetails.readLine();
               /**Assign the item count and total value to warehouse A.*/
                  //Cast.
                   int intLine1 = Integer.valueOf(line1).intValue();
                   double dblLine2 = Double.valueOf(line2).doubleValue();
                   //Assign the values.
                   this.intWarehouseAItemCount = intLine1;
                   this.dblTotalValueA = dblLine2;
                /**Assign the item count and total value to warehouse B.*/
                     //Cast.
                   int intLine3 = Integer.valueOf(line3).intValue();
                   double dblLine4 = Double.valueOf(line4).doubleValue();
                     //Assign the values.
                   this.intWarehouseBItemCount = intLine3;
                   this.dblTotalValueB = dblLine4;
                /**Assign the item count and total value to warehouse C.*/
                     //Cast.
                     int intLine5 = Integer.valueOf(line5).intValue();
                   double dblLine6 = Double.valueOf(line6).doubleValue();
                   //Assign the values.
                   this.intWarehouseCItemCount = intLine5;
                   this.dblTotalValueC = dblLine6;
                /**Put the items back into the warehouses arraylists. */
                   //Add items to warehouse A.
                   while((lineA = inA.readLine()) != null)
                        warehouseAList.add(lineA);
                   //Add items to warehouse B.
                   while((lineB = inB.readLine()) != null)
                        warehouseBList.add(lineB);
                   //Add items to warehouse C.
                   while((lineC = inC.readLine()) != null)
                        warehouseCList.add(lineC);
                   }(this isn't the whole try statement its pretty long)

  • How to delete the Cost center line item data

    How to delete the cost center line item data of particular cost center and only one cost center is exisiting for that company code.
    Is there any way to delete the line items in that cost center.
    Can data archiving & deleting can help us..........
    does it have any effect over other cost center data....
    any input needed.........
    regards
    rajesh

    Hi,
    i found 2 reports for you:
    1) CO_TOTAL_WRI - Archiving CO Totals Records   
    2) RKCOITW1     - Archiving CO Line Items: Write Program        
    from 2) is a linlk to customize archiv-parameters
    -> start it with transaction se38 / sa38
    A.

Maybe you are looking for

  • Using client_get_file_name

    I'm working on 10gAs, Forms/reports integration, I able to complete most of probs (Thanks to you guys) , Now I have one last(may be) doubt. WebUtil is installed and working properly,When I run reports using forms paramters, Is there any way to redire

  • Does the connector in the Universal dock work with the iPhone?

    My iPhone now has a thick rubber case making it too big for the iPhone dock. I have a old iPod universal dock but am not clear if it work with the iPhone. The connector looks similar except that the ends are not quite flush. Will it work? I don't wan

  • Upgrade SRM from SRM 3.5 to SRM 5.0 - BW Influence

    Hello, We were working with BW above SRM 3.5 and built a lot of Business logic, DSO and Infocubes using the extractors: 0BBP_TD_PO_1, 0BBP_TD_CONF_1. We are now upgrade our SRM system to SRM 5.0 and found out that all the data sources had changed. Is

  • Firefox 25 on Windows 7: Flash 11.9.900.117 freezes Firefox

    I have done the troubleshooting suggested by Mozilla https://support.mozilla.org/en-US/kb/firefox-hangs-or-not-responding Firefox works fine but as soon as any Flash content is started Firefox locks up and I have to close the process in Windows Task

  • Automatic uninstallation of Microsoft Teredo Tunneling Adapter

    Hi, I am attempting to uninstall the Microsoft Teredo Tunneling Adapter by using a script, on a Windows 8 Enterprise x64 OS. The device is installed incorrectly by default: This device cannot start. (Code 10) {Operation Failed} The requested operatio