Sequencing of orders after PPDS optimization run

Dear PPDS experts,
Lets say,after optimization run,we have the following planned orders in the following sequence:
SIZE   GRADE
  28        B
  28        A
  28        C
  30        C
  30        B
  30        A
PROBLEM STATEMENT :
Gradewise sequencing of orders within the same size to be done with priority as A=>B=>C.
REQUIRED RESULT :
SIZE   GRADE
  28        A
  28        B
  28        C
  30        A
  30        B
  30        C
How do we go about this ?

Hi,
If you are using CDP(charcteristic dependent planning in APO) with class 400 then you can use following badi
/SAPAPO/CDPS_ORDDATA metod GET_ORDDATA.
You need fill the structure CI_ORDCUS e with charcteristic grade and size and use above badi to write logic to read these details from the order.
above process will make charcteristic available as sequencing parameter in scheduling strategy and schedule sequence heuristic. So there you can choose required order ascending /descending as required.
I am not sure whether method also works if you use VC in APO side also. You can give a try.
Second option to use genrati and on of set up matrix based on charcteristics.  Here you can have set up group and setup matrix based on charcteristic values.
Regards,
Santosh

Similar Messages

  • Consolidation of Planned orders after CTM planning run

    Hi everyone,
    We use CTM planning engine and create planned orders for the unfulfilled demand. Since Demand is coming from various locations multiple planned orders are created at the supply location. But the requirement is that all these planned orders need to be consolidated to 1 planned order.
    How can we acheive this without disturbing the existing pegging relationships?
    For example:
    Current scenario:
    3 planned orders at location X based on the demand from locations A, B and C. Then a pegging relationship exists (Purchase Requistions) between A and X; B and X; C and X.
    Requirement:
    Above 3 planned orders need to be consolidated to 1 Planned order and still the pegging relationship to supply the demand locations should exist.
    Please let me know if anyone has similar business scenario and has working solution approach
    Thanks

    Hi,
    You can increase the lot size to club your demand requirements.  You can also try using period type lotsize to club daily, weekly, monthly requirements.
    Regards
    R. Senthil Mareeswaran.

  • Optimizer run did not delete Deployment: Release for stk transf. req

    Hi Gurus,
    I would like to know if the "Deployment: Release for stk transf. req" is also the result of the SNP optimizer run? If not, should this be expected to disappear in the system once the optimizer run is finished because this "Deployment: Release for stk transf. req" still exist in the system even after the optimizer run. Is it normal to have this in the system? If not, what are the factors why this still exist in the system? What are the process on how to delete this?
    Your expertise will be very much appreciated.
    Thanks

    Hi Ann,
                  "Deployment: Release for stk transf. req(category EG/EF)" is a deployment order generated by a deployment run and has nothing to SNP optimizer run. SNP optimizer creates planned/purchaser requsitions but does not create/delete deployment orders.
    You need to run deployment with a "delete" option to delete and make the system delete the existing deployments and recreate new ones.
    Here is the flow.
    Lets say you have 1 DC being sourced from 1Plant.
    You have a demand of 100PCs.
    1. When you run the SNP optimizer, the system looks at the transportation lane, costs etc. Since this is 1 DC 1 Plant, the system just creates a stock transfer order at the plant for 100 PCs.
    2. Then you run SNP/PPDS planning run at the plant depending on the SNP planning horizon. Assuming the SNP planning horizon is 0 days (no PPDS run here), the system creates a planned order for the 100PCs (this can be more depending on the lot size).
    3. Then you run deployment. The deployment looks at the plant and DC, there is a requirement of 100 PCs and a receipt of 100PCs at the plant.
    The system deletes the stock transfer of 100 PCs at the plant and creates a deployment order of 100 PCs at the plant.
    A deployment run replaces a stock transfer. But a SNP optimizer run simply creates a planned order at the plant but does not ever change the deployment order.
    Hope this answers your question.

  • Optimizer run error - COM error 2 1 when deleting transportation orders

    Hi Experts,
    Optimizer run job (program /SAPAPO/RMSNPOPT) gets failed with following error: -
    COM error 2 1 when deleting transportation orders
    Can anybody let us know why this error occurs and how to resolve it. Thanks a lot.
    Regards,
    Chandan

    Hi Chandan,
    Could you check SAP note 1232670 whether applicable
    for you
    Regards
    R. Senthil Mareeswaran.

  • Creation of Manual Orders in PPDS in /sapapo/rrp4

    Hi All,
    We are using PPDS for production planning. In the process of generating a plan in short term horizon, after executing the scheduling heuristic, user wants flexibility of manually creating some orders.
    We are using /sapapo/rrp4, where user can create manually orders in PPDS.
    Last week, during some reading , came to know that , manual order creation in /sapapo/rrp4, only creates orders in Live Cache, it does not save orders in APO data base.
    So, if i understand , live cache goes down, then all my order information will be lost. I long run , is it going to create a problem.
    Has anyone worked in same kind of requirement.
    thanks,
    Rao

    Hi
    Most of transaction data in APO is stored in live cache whether created by heuristic or manually.
    Of course if live cache goes down there will be problems but it will be no better if orders are created by heuristic..
    Regards,
    Nitin

  • Sequences in order - 10g r2 RAC

    Hello, we have a j2ee application against Oracle 10g r.2, which uses sequences (over ten approximately). These sequences are used to assign automatically value to the primary key of registers of several tables.
    In production environment, we have RAC with 4 instances. We would be interesting in maintaining the order of the values in this fields. We've defined these sequences as ORDER and CACHE=20, but after reading in forums and Oracle documentation, we've seen that the best practice is to define them (in RAC) as NO ORDER.
    My question is, could we have problems derived from this type of definition (ORDER - CACHE) ? Our main thought is that is very important that the primary key are not repeated, and also maintaining the order. On the other hand, could we have performance problems with this mechanism ?
    Thanks in advance.

    with the ORDER parameter, what I'm trying to obtain is that the number given by the sequence will be 1,2,3,4,5, ....49,50,51,52,... regardless of the instance that provides it.Why? The only requirement for a surrogate key is to be unique! Where in relational design is it recommended/suggested that surrogate keys be numbers in a gap free ascending sequence?
    This so-called "+requirement+" from developers for gap free surrogate key sequences are based on ignorance of relational design fundamentals.
    Also, you are not even considering the impact on the RDBMS for wanting it's sequences to behave this way.
    Think of a 100+ users, using a a 4 node RAC. All of them running typical OLTP apps that are inserted rows. All of which requires a sequence. For this to be ascending and gap free there can only be a single sequence generator on all 4 RAC nodes. As only a single generator can ensure gap free ascending numbers. This means that all 100+ users have to queue for access to this single generator to get a surrogate key value.
    What does this introduce? Serialisation. What not only kills performance, but utterly destroys it on a server platform? Serialisation.
    It is even worse on a RAC as instead of introducing serialisation on a single database instance, it will introduce serialisation on all cluster instances. Effectively rendering the whole RAC concept of scalability and performance totally useless.

  • PPDS Optimizer does it use strategy settings at all

    Hi. Does the PPDS optimizer use the strategy settings at all? in foreground DS planning board or background?
    I am thinking not as changing any of the settings does not seem to make any difference.
    eg block use or block ignore, it still puts orders into block.
    Thanks
    j

    ron_bigman wrote:
    Hi Sven,
    Thank you for your answer.
    The logic behind using bitmap index in the dimension table is the ability to use several indexes together.This is also possible with normal indexes. in fact the CBO might decide to change aon or more normal b*tree indexes into a bitmap index on the fly and combine both, if this is a sensible/fast way.
    >
    So if I run such a query
    select *
    from dim_tab1 d1 on d1.id1 = fd.id1
    where d1.dim_col1='value1'
    and d1.dim_col2='value2'
    It will use both indexes, the one on dim_col1 and the one on dim_col2.
    I noticed now that this query doesn't work as expected as well, which confirm my belief that the problem is not in the query it self but in the DB configuration.
    Thanks
    RonI doubt that it is a configuration issue. But possible is everything.
    The problem is often that it is very difficult to predict how many values are returned for two different filter criteria. And especially not if these filter criteria are on another (dimension) table. Also for your tests it might be important whether the query gets the 'value1' literally as it is written or as a bind parameter ( dim_col1 = :1).

  • Open orders in PPDS

    Hi Gurus,
                  We are using PPDS in that DS had created 1000kg of materail A and released to PP (ECC) , actually produced is 800kg and my question is
    1. Where can i see my open orders in PPDS?
    2. Can i move the open orders for next day or next week?
    3. Can i close my open orders automatically? is there any standard program or ABAP programe?
    4. Can i close my open orders in ECC?
    Please let me know. Thanks in advance.
    Regards,
    Kumar

    Hi Kumar,
    1) I hope you are using production orders during production.  As and
    when a production order is released(1000 Kg) and if only 800 Kg is
    confirmed in ECC system, during next planning run, the balance 200 Kg
    will show as fresh order.  These orders can be downloaded using
    transaction /sapapo/rrp4 transaction
    2) You can reschedule the open orders as per your required date
    in ECC system.
    3) You can also techo the open orders in ECC system
    4) Answer to question 3 is same
    Hope you are clear now.  Please confirm
    Regards
    R. Senthil Mareeswaran.

  • Schedule line date changes after each MRP run

    Dear Experts,
    Clarification needed on how the system plans the MM schedule lines.
    Setting: Start in the past not allowed.
                  3 days for processing of order
    The issue is after each MRP run the system is moving the schedule line to the current date + 3 days for processing + the planned delivery time.
    If the schedule line is not firmed, after each MRP run ( which happens everyday) the system is moving the schedule line and then giving an alert saying the " order has to be rescheduled to the previous day"
    on the second day after the mrp run the system moves the schedule line again by one more day and gives the rescheduling date as " -2 days from today"
    this change is happening every day after the planning run. - because of this there are really no backorders ( schedule line in the past ) in the system. we were not able to know if the vendor is actually delayed in this case.
    can you kindly suggest what went wrong here ??
    we are using strategy 10 for the planning of procured parts. Let me know if more info is needed.
    Note: we are also using stock transfer process for some procured parts. there too the PR date gets changed after each MRP run. There there is no lead time in this case. the order is placed on the same day as the requirement as both plants are nearby. There the PR date is changing everyday to the current date.
    your advice would be of great help
    thanks
    Nagendra Kumar

    Hi Caetano,
    thanks for your suggestion
    Yes, we use firm zone for few of the vendors. there the system don't change the schedule lines.
    Also for the stock transfer PR's there is no firm zone and the lead time is one day. in this case it changes everyday after the MRP run.
    the stock transfer PR's leads to the creation of Schedule lines from the source plant. Since this PR gets changed everyday. the alerts coming out of MD07 gets changed and we really did not know if this order is delayed or not.  In the source plant we use the firm zone to avoid moving the schedule line. But then the alerts are always not correct.
    is there any setting which helps in not moving the PR everyday without using " start in the past"
    thanks
    Nagendra Kumar

  • Auto release of Blocked Sales orders after pmnt or Increase of Credit limit

    Hi
    Does anyone know if there is a transaction or something in one of the blocked Order transactions that can be used to auto release orders after either 1 - Monies have been recieved      or   2 - Credit limit has been increased
    Scenario we have is several orders have been on block due to credit being over credit limit,
    The credit limit has been increased
    However these orders are still on the blocked orders report, even tho they are now under the credit threshold
    Is there a re-org program to use ?
    Is there a setting on the VKm1 transaction to refresh or re-read the credit master FD33 , - as now monies have been received or Credit threshhold has been increased
    Thank you for any information
    Tony

    Hello,
    This is not possible because when you created the sales order it has checked the credit limit for that credit limit and if you increase also now that block cant go automatically.
    Go to VA02 i.e change mode of sales order and change something and enter may be if you created a order for 2 quantity then go to VA02 and remove the quantity 2 and again type 2 then system will again check for credit and now that is increased so the order will not block..
    If this is for many order then you can run changes sales order  BAPI for mass update. Take help from ABAP guys.
    Cheers
    Say

  • Optimization Run without sucess deleting all old planning data

    Hi all,
    I am facing a problem regarding the optimizer run, I had an unsuccessful run that deleted all data that were already planned for the same selection.
    Is this the standard behavior? If I use the flag "do not delete any orders" what would happen:
    - The old plan would not be deleted with or without success of the new run
    - The old plan will be replaced only if the new run succeed.
    I want to find out if there is a way to avoid the old plan being deleted, I wan t to replace it only if the new run succeed.
    Thanks a lot and regards,
    Luiz

    Hi Luiz
    Yes the Optimiser will delete all orders at the beginning of the new planning run (once all Master Data has been read in), so as has been said before you need to check the box "Do not delete orders" if you wish to keep the existing orders and only let the Optimiser plan the Deltas.
    Regards
    Ian

  • I want to save an image of the front panel, (with data), after every VI run

    When I try to copy the front panel (using a select all), and paist to paint, all the data in the graphs show up as they did after the last run, but the data in the charts dissapear. The chart itself is copied but the data is not. Any ideas on how to solve this?
    Thanks,
    Brian
    Attachments:
    Brians_graph_compilation2.vi ‏1363 KB

    This Knowledgebase also has some information on programatically saving VI images
    http://digital.ni.com/public.nsf/websearch/942DAA35C7B35616862565FE005F713F?OpenDocument
    (KB 197BB7VJ if the link doesn't work).
    Note that you don't have to put the code in the VI you are running in order to save it to a file, so you don't actually have to modify your VI. You can just run a seperate VI that uses the VI name from the first one (I've attached a VI which could either be run standalone or used as a SubVI, as well as an example of using it as a SubVI).
    If you don't want to do it programatically you could just hit the print screen button on your keyboard and then paste it into paint and crop off the extra windows stuff.
    Attachments:
    CreateVIJPEG.vi ‏34 KB
    ImageExample.vi ‏24 KB

  • Can I transfer my hand made album sequence (sort order) defined in element when I turn a local album into a mobile album used with IPAD. Or do I have to change the dates artificially?

    Can I transfer my hand made album sequence (sort order) defined in elemenst when I turn a local album into a mobile album used with IPAD. Or do I have to change the dates artificially?

    Andrew, I know I am extremely late to the party but I too use Grid View.  I had the same problem that you had but have found this to work for me.  I used it and it is still holding as my default sorting even after switching between the Artist page and Grid View.
    Once you are inside of the Artist page continue to click on the Album column until it shows Album by Artist/Year.
    That will give you each album sorted by the year instead of it randomly sorting it for you each time you leave an Artist's page and then back again.
    Hope this helps.

  • SQL index of facttable disappears after full optimize + compress db

    Hello all,
    I have a customer that is using Outlooksoft 4.2sp3 for more then a year now. Every weekend a full optimize + compress database is running.
    Since 4 weeks, the SQL index of the fact table is disappeared after a full optimize+compress. They use a custom index and have about 95.000.000 records in the facttable.
    Does anyone have a clue why this index is deleted and perhaps a solution?
    Kind Regards,
    Alwin Berkhout
    Edited by: Alwin Berkhout on Apr 20, 2008 9:50 PM

    Joost, Sorin,
    I have created server extensions for the database that has these problems. Now for the first time since 5 weeks, after the optimize, the indexes are still there (or automatically recreated).
    Thanks for the tips.
    Strange thing though: why didn't I had this problem before?
    Alwin

  • How to archives sales orders after a certain frame-say 1 week

    Basically We want the facility where the system automatically archives sls orders after a certain timeframe - ie one week.
    Sls order is raised for the customer, if during 7 days it is not processed through the SD cycle the system automatically archives based on the set date range of 7 days.
    It wil help us manage outstanding sls orders. Can SAP do this?
    Regards
    TS

    Hi Taufique,
    The standard SAP solution allows archiving of documents which have attained a certain status. The status here means that the document should be completed in all respect, that is, no further processing is pending for the document. For this to work you have to define an archiving object for VBAK and VBAP table in BASIS.
    Just another suggestion to your issue, if the Memory capacity for transactional data at your firm is not a issue, then you can run a  batch job every weekend, which basically puts a "Reason for Rejection" in all the Sales orders selected. This will be much easier and also resolve you problem..
    Regards,
    Shashi

Maybe you are looking for

  • Determining data type of existing column in table

    Hi I've done some googling on this, and I know I've done it before, but i cant find/remember how to determine the data type of a column in an existing table..... i tried select dump(column_name) from table but it didnt work. any suggestions? Thanks i

  • Elements Organizer does not save contacts entered in Contact Book

    When I try to save contacts in either Elements Organizer 10 or 11 in the Contact Book, it saves nothing.  After I click the save button and reopen the contact book, anything I entered is gone. I've tried entering names as I'm preparing to send e-mail

  • Hooking up and removing external devices?

    I am curious if there is a proper way to hook up my keyboard, bluetooth mighty mouse and external monitor AND remove them properly? I seem to have trouble with the monitor upon removal... the screen on the laptop will blank blue then come back up, bu

  • Problems with my new Z10

    Hello, I have been a curve user for years and got back with Blackbery with the z10. I am having trouble transferring my contacts, data, messages and pictures from my old smart phone a non-blackberrry device to the Z10. As well for some reason I can n

  • SAP report question

    Hi! all.. Let me know what you guys think about this.. There's this transaction SDO1(O and not zero). It lists the sales docs. within a time frame. If I wanna add a new field to the report, let's say, shipping conditions field can I do that? It's an