HashMap is reorder automatically

HashMap map = new HashMap();
map.put("1^1","xxxx2");
map.put("1^2","xxxx2");
map.put("2^1","xxxx1");
Iterator iter = map.entrySet().iterator();
while (iter.hasNext()) {
Map.Entry entry = (Map.Entry) iter.next();
System.out.println("xxx"+ entry.getKey()+" "+
entry.getValue());
its result is as following:
xxx2^1 xxxx1
xxx1^1 xxxx2
xxx1^2 xxxx2
but i hope i can get the data as the order when i setting and also is map type, who can suggest how i can do.
Thanks in advance
Susan

A HashMap os not an ordered collection, so you won't be able to do this.

Similar Messages

  • Automatic creation of PR - at reorder point

    Hi all,
    My requirement is to create an automatic PR when the reorder point is reached.
    could nay one pls advise me how to go about it.
    Thanks N Regards
    Aruna...

    Hi,
    System can not create automatic PR even though you have defined reorder point planning.
    When you run  MD01 for your plant, which are all materials stock below reorder point system will create PR.
    Regards,
    Dharma

  • Automatic reorder planning

    Dear Peers,
    1. Please let me know if it is sufficient to switch on fields 'calculate safety stock' and 'calculate reorder level' in the configuration screen of MRP Types to switch over to Automatic Reorder planning from Manual reorder planning.
    2. I also want to ask a flip question, do I need to maintain forecast for material / plant level in order to run automatic reorder planning.
    3. Is there any other configuration besides manual reorder planning that should be taken into consideration to switch to Automatic reorder planning.
    Much appreicate.
    Syed

    Dear Syed
    In automatic reorder point planning, both the reorder level and the safety stock level are determined by the integrated forecasting program.
    The system uses past consumption data (historical data) to forecast future requirements. The system then uses these forecast values to calculate the reorder level and the safety stock level, taking the service level, which is specified by the MRP controller, and the material's replenishment lead time into account, and transfers them to the material master.
    Since this is one type of consumption based planning You have to maintain consumtion values in the forecast view of the material master to start with, Later the regualr consumption value will get update.

  • Automatic Reorder based Planning

    SAPers...
    I am trying to update re-order point automatically but with the following calculation:
    The Calculation is:  (Usage x Lead time / 7) + minimum stock
    Is there any way to build these custom calculations into re-order points to populate/update on an adhoc basis
    If not then......
    Can anyone give me some suggestions of how to map this best in SAP?

    Normally reorder point is calculated as below
    X = average consumption per day*Lead time in days+safety stock.
    Hence if your per day consumption is 10 and lead time is 100 days, safety stock is 500, then
    Reorder point is 100*10+500 = 1500. Hence if stock comes below this point, then system should create a PR with specified lead time and qty as per lotsize.
    pl come back if required.

  • Automatic reorder point planning

    Hi Gurus,
    Cud somebody guide me on the Basic settings required for AUTOMATIC REORDER POINT PLANNING'VM',Including SPRO settings.I cudnt find an answer for this from previous FORUMs.
      Kindly give me u r suggestions or aslo suggest some good links for PP documents or links concerning with Automatic reorder point planning and its settings.
    THNX in ADVANCE
    HKR

    hi HKR
    In automatic reorder point planning, both the reorder level and the safety stock level are determined by the integrated forecasting program.
    The system uses past consumption data (historical data) to forecast future requirements. The system then uses these forecast values to calculate the reorder level and the safety stock level, taking the service level, which is specified by the MRP controller, and the material's replenishment lead time into account, and transfers them to the material master.
    Since the forecast is carried out at regular intervals, the reorder level and the safety stock level are continually adapted to the current consumption and delivery situation. This means that a contribution is made towards keeping stock levels low.
    http://help.sap.com/saphelp_47x200/helpdata/en/f4/7d256344af11d182b40000e829fbfe/frameset.htm
    regards
    sachin

  • Automatic reorder point planning -forecast view

    Hi
    Our client want to implement automatic reorder point Planning.
    Reorder point quantity was maitained from last 3 years  but MRP type is 'ND' as they are not using MRP.
    Now i am changing MRP type to:VM  and in forecastting view: i maintained model as:D constant model period indicator:M
    His periods:60 , forecast periods:12 initialization:X tracking limit:4000 selection procedure:2 reset automatically
    Is it ok ? than can i run MP30.  and  the client wants to run for many materils(2000).
    How can be run for many materials.?
    Regards,
    srihari.M

    Dear,
    In automatic re-order oint planning , system uses past consumption data (historical data) to forecast future requirements. The system then uses these forecast values to calculate the reorder level and the safety stock level, taking the service level, which is specified in MRP2 view, and the material's replenishment lead time into account, and transfers them to the material master.
    Since the forecast is carried out at regular intervals, the reorder level and the safety stock level are continually adapted to the current consumption and delivery situation. This means that a contribution is made towards keeping stock levels low.
    From MP30 you have to executed forecast and system has generated forecast values and updated safety stock and reorder point also. Only thing to remember is you have to maintain service level in MRP 2 view of material master when you use VM- MRP type to calculate safety stock and reorder point
    Find bleow the set up following set up for automatic re-order point planning :
    1.Material Master Set up : Maintain all the relevent parameters from MRP1 to MRP4 view , Forecasting View
    1.MRP Type -VM , Lot Size -EX
    2.Procurement Type -E for FG and F for ROH
    3.Planning Startegy -10 or 40 in FG/SFG and 20 for componenet
    4.Planned Delivery Time in MRP2 VIEW
    5.Indiviaul/Collective Indicator - 1/2 based on your requirement in MRP4 View
    6.BOM Explosion -Keep it blank
    7.Service level percentage -MRP2 view
    8.Maintain Forecastin view data like model selection , Histry period , period indicator , Forecast control pramaters ,
    10.Make sure that you have min 12-8 monhts total consumption update in Forecasting view .
    Configuration : InSPRO -MRP -Check MRP Type -VM-check the details like Re-Orde point .Safety Stock both the automatic calcvualtion box are marked .
    Finally as a sample test , select any material -mm02-execute forecast in mm02-forecasting view -exectute forecast -then save .Run MRP in MD03-1,1,3,3,1.NETCH indicator and check the result in MD04
    HOPE IT WILL HELP. PLEASE REVERT BACK.
    Regards,
    Alok Tiwari

  • Automatic reorder point calculation

    I would like to confirm the formula for calculating a reorder point in SAP.
    As I understand it, the simple formula is safety stock + average requirements * lead time.
    I have the following settings for a material:
    MRP Type - V2
    Lot size - HB
    Maximum stock level - 500
    Total lead days (including GR processing) - 30
    Service Level - 98%
    Procurement type - F
    Historical periods - 2
    Forecast periods - 2
    Period Indicator - M
    Forecast Model - G (Moving average)
    Consumption values - 12/2010 - 160
    11/2010 - 190
    When I execute the forecast run, the get the following result:
    Basic Value - 175
    MAD - 15
    Safety Stock - 39
    Reorder point - 219
    If the formula for calculating reorder point is - 39 (safety stock) + 175 (average requirement) * (30(lead time)/30(forecast period in days), then the reorder point should be 214. Why does the system output 219?
    I read somewhere that a SAP note exists for correcting the calculation, can anyone confirm?
    Many thanks.

    Dear
    Automatic calculation of reorder point RP : The reorder point will be calculated with following formula :
    RP = average consumption during LT + SS
    SS = R x Sq root ( ( LT(d) x 7 ) / FCperiod(d) x 5 ) x MAD
    In your case , ROP will be calulated as per your consumption  for   November  with 20  days having consumption of 190/m  and December for 10 days having consumption of 160 /month
    So Reorder Qty  = 190(20/30)+160(10/30)+39 =219
    Refer our earlier posting on the same : Detail the safety stock calculation
    Regards
    JH

  • Automatic Purchase Requisition using Reorder Point without MRP Run

    Dear Freinds,
    My client wants Purchase Requisition should be automatically created as soon as the stock falls below reorder level without MRP run.
    Is this possible? if possible then what are the settings required.
    Thanks
    Prashant Atri

    Dear,
    It is not possible in standard SAP.
    What is the problem to take MRP run?
    You can take the MRP run in background through MDBT so system will create automatic Purchase Requisition using Reorder Point.
    Hope clear to you.
    Regards,
    R.Brahmankar

  • Re: Automatic Reorder point Planning for Finished Goods

    Hi All,
    I have some doubts regrading the Automatic Reorder point Planning for Finished Goods.
    For testing purpose I have entered the consumption values for two month.
    Say :
    Nov-08=13
    Dec-08=20
    ROL level=5
    Safety stock =4
    Model =constant
    Now when I execute the forecasting,The system gives me the forcast for the next two month jan & Feb.
    But when I run the MRP I see planned order for 5.So how to fulfill my forecast for jan?
    Please Advice.
    Regards,
    Vivek

    Hi Brahamakar,
    Can you please help me.
    Regards
    Vivek

  • Automatic reorder - forecast

    Hi Experts
                  Iam new to the Automatic reorder point process, it says that the reorder point and safety stock is calculated based on integrated forecast program, can anyone tell me how its calculating in forecast, can u give me a example.
    Thanks in advance.
    Regards
    Rajaram

    Hi,
    pls find the definition for Automatic ROP from SAP help.
    Automatic Reorder Point Planning
    In automatic reorder point planning, both the reorder level and the safety stock level are determined by the integrated forecasting program.
    The system uses past consumption data (historical data) to forecast future requirements. The system then uses these forecast values to calculate the reorder level and the safety stock level, taking the service level, which is specified by the MRP controller, and the material's replenishment lead time into account, and transfers them to the material master.
    Since the forecast is carried out at regular intervals, the reorder level and the safety stock level are continually adapted to the
    Regarding the inputs - Consumption Values (hist data) shd be there , MM02-Forecasting view shd be defined .
    While executing the Forecast, system updates the ROP and safety stock.
    Regards,
    Sheik

  • Difference :Automatic Reorder Point Planning and Forecast based palning ?

    Dear MM Guru's,
    As we See in throtical Concepts that
    Automatic Reorder point planning and Forcast Based Planning Used the prevuious Historical Data.
    Please explain what is difference Between them.
    regards,
    A. S.

    Hi,
    Reorder Point Planning: -
    Use: -
    In reorder point planning, procurement is triggered when the sum of plant stock and firmed receipts falls below the reorder point.
    Features: -
    The reorder point should cover the average material requirements expected during the replenishment lead time.
    The safety stock exists to cover both excess material consumption within the replenishment lead time and any additional requirements that may occur due to delivery delays. Therefore, the safety stock is included in the reorder level.
    The following values are important for defining the reorder point:
    - Safety stock
    - Average consumption
    - Replenishment lead time
    The following values are important for defining the safety stock:
    - Past consumption values (historical data) or future requirements
    - Vendor/production delivery timelines
    - Service level to be achieved
    - Forecast error, that is, the deviation from the expected requirements
    Manual Reorder Point Planning
    In manual reorder point planning, you define both the reorder level and the safety stock level manually in the appropriate material master.
    Automatic Reorder Point Planning
    In automatic reorder point planning, both the reorder level and the safety stock level are determined by the integrated forecasting program.
    The system uses past consumption data (historical data) to forecast future requirements. The system then uses these forecast values to calculate the reorder level and the safety stock level, taking the service level, which is specified by the MRP controller, and the material's replenishment lead time into account, and transfers them to the material master.
    Since the forecast is carried out at regular intervals, the reorder level and the safety stock level are continually adapted to the current consumption and delivery situation. This means that a contribution is made towards keeping stock levels low.
    Forecast-Based Planning: -
    Use: -
    Forecast-based planning is also based on material consumption. Like reorder point planning, forecast-based planning operates using historical values and forecast values and future requirements are determined via the integrated forecasting program. However, in contrast to reorder point planning, these values then form the basis of the planning run. The forecast values therefore have a direct effect in MRP as forecast requirements.
    Features: -
    The forecast, which calculates future requirements using historical data, is carried out at regular intervals. This offers the advantage that requirements, which are automatically determined, are continually adapted to suit current consumption needs. The forecast requirement is reduced by the material withdrawal so that the forecast requirement quantity that has already been produced is not included in the planning run again.
    Reducing Forecast Requirements
    - Reducing forecast requirements by consumption
    If consumption is higher than the forecast requirements in the current month, then the system also reduces future forecast requirements.
    - Reducing current forecast requirements by consumption
    If consumption is higher than the forecast requirements in the current month, then the system does not reduce future forecast requirements.
    - Average reduction of the forecast requirements
    The reduction of the forecast requirements is based on average daily consumption. Actual consumption data is not relevant.
    The system calculates the average daily requirement first using the formula forecast requirement/number of workdays in the forecast period.
    The forecast requirements are then reduced by the quantity resulting from the following formula: number of workdays worked x average daily requirements.
    Period Pattern and Forecast Periods
    You can specify the period pattern for the forecast (daily, weekly, monthly or per accounting period) and the number of periods to be included in the forecast individually for each material. It is possible, however, that the forecast period pattern is not specific enough for planning purposes. In this case, you can define per material that the forecast requirements should be divided according to a finer period pattern for planning. You can also define how many forecast periods are to be taken into account during requirements planning. The splitting indicator is defined in Customizing for MRP per plant and per period unit and is assigned to the material in the material master.
    Example: -
    For a monthly forecast, the requirements date would be set on the first workday of the month because, for planning, it is assumed that the total requirement must be available at the beginning of the period. You can then divide this monthly requirement into either daily or weekly requirements.

  • Automatic reorder level change when executing it twice

    Hi,
    When I create forecasting view I only fill the forecast model “automatic” and selection procedure “2”, after the first run some additional settings are fill by the system (model selection, optimization level, alpha factor, delta factor)  and if I run forecast again the values (reorder level) change from the first forecast value. Regading to this when executing in mass mode should i do it twice in order to get a more accurate forecast value or should I fulfill more values in forecast view and obtain the same reorder level even if a excute it twice.
    Thanks
    Jorge G

    Dear,,
    Below link will help you to find the solutions.
    http://help.sap.com/saphelp_me52/helpdata/EN/f4/7d257044af11d182b40000e829fbfe/content.htm
    http://help.sap.com/ERP2005_EHP_02/helpdata/EN/f4/7d256344af11d182b40000e829fbfe/content.htm
    http://help.sap.com/saphelp_erp60/helpdata/EN/56/4ff5cd40e211d3b49b006094b9c9be/content.htm
    Regards
    Aamir

  • Automatic reorder point

    Hi
    I have following setting in material.
    Mrp type -VM
    service level -- 80 %
    planned delivery time -- 2
    But system is not creating any proposals.

    Dear ,
    Both ROP-Automatic and Manual as well as FBP , system uses the Past Consumption (Movement Type 601, 261, etc -Consumption against Sales , projects , free issue of material through Movement Type -OMJJ-Material Master Update as Planned or Unplanned Total Conmtion in MMR-Forecasting View ) of certain period and Create Demand through Forecasting .
    Now this demand-Forecasted Demand or Re-Order Point (which also a demand qty ) will teated through MRP to have Procurement Element based on planning situation after Net Requirement Calcualation  and also Safety Stock..
    So basically , what you have to do as a test trial is as follows :
    1.Maintain Forceasting View of the Material master with Model Selection , Period Forecast , Persion per session , Initialisation Indicator , Paramter Optimisation , Histty periods min 6-12 motnhs .
    2.Goto Total Consumption tab , maitain total consumption ( planned or unplanned ) -Thi is basically happnes best on the Busness txn and OMJJ updates as explained above.Now hit Excetute Forceast -it will pop up with window with model as selected ( let say Moving average -G) , continue and then you will find basica valuses , MAD , Forceasted Demand ,ROP Qty  all are in date wise .Save this and now run MRP you will find result in MD04.Bsically there are two parts one is executing forcast to calcualte ROP automatically based on MRP type -VM and Forecasting view and then Run MRP-MD03
    Hope this is clear
    Regards
    JH

  • Automatic reorder point and safety stock caluclation- MRP type:V2

    Hi,
    I want the system to calculate reorder point and safety stock. To simulate this i created one material with
    MRP type:V2, service level as 97%, Forecast model:D,Hist. period:12,Forecast periods:12, and I entered
    the historical value for past 12 months as 100 nos in material master.
    04.2009     100
    03.2009     100
    02.2009     100
    01.2009     100
    12.2008     100
    11.2008     100
    10.2008     100
    09.2008     100
    08.2008     100
    07.2008     100
    06.2008     100                 
    05.2008      100                
    Then I went to MP30 and executed the forcase.When I checkd the material master the system has calculated the reorder point as 14 nos. But there is no value updated in safety stock field.
    Now I have two questions.
    1) How the system has arrived the reorder point value as 14 nos.
    2) Why there is no safety stock updated in material master.
    Could u please clarify this.
    Thanks and Regards
    Purushothaman

    Hi,
    This is further to my preivous mail. I have changed the consumption values and now i am getting the safety stock.
    MRP type:V2, service level as 97%, Forecast model:D,Hist. period:12,Forecast periods:12, and I entered
    the historical value for past 12 months as.
    04.2009     100
    03.2009     80
    02.2009     110
    01.2009     85
    12.2008     90
    11.2008     95
    10.2008     125
    09.2008     90
    08.2008     90
    07.2008     92
    06.2008     101
    05.2008     100
    After executing the forecase the sytem has calculated the below parameter.
    Basic value:95.759
    MAD:11.448
    Safety stock:10.252
    Reorder point:23.658.
    Can anyone explain me how these calculation arrived.
    Thanks and regards
    Purushothaman

  • InDesign CS6: Is it possible to automatically reorder the paragraphs in a document

    I have a thesaurus with 1,000 entries.
    Each entry looks like this:
    also
    He likes bananas and also strawberries.
    as well as, in addition to, besides,
    too, plus
    I want to change the document, so that in each instance, the example sentence "(He likes bananas...) comes after the list of synonyms (as well as, in addition to...). The formatting is different for each (one is 100% black and the other is 70%).
    I would like to know if there's a way to do this automatically.
    Many thanks.

    Susan,
    If you have 4 para styles, try this very clever tool written by Ariel Walden:  Change Consecutive Paragraphs | FreelanceBookDesign.com
    If you do want to save $25 and make 5 clicks free* (although time is still money):
    * Only 1 click if you use Multi-Find/Change! 

Maybe you are looking for