Change component quantity in planned order

Hi,
Is there any FM or BAPI for changing component quantity in planned order?
Regards,
Archna
Edited by: Archna Raja on Sep 22, 2010 12:17 PM

Hi Srinivas,
I assume, you try to change Manfacturing Order ( Like Process Order, Planned Order etc). If so, the mentioned bapis will work perfectly. However, you have to send right data to bapi BAPI_MOSRVAPS_SAVEMULTI3. Send to bapi,only what is needed, because if there is any mis-match,system will not update the order.
Few insights from my side are,
1) Check "ORDER_TYPE" Input Parameter.
               -     5 Planned Order
               -     6 Production Order
2) Fill Only ORDID, ORDER_NUMBER and MASTER_ORDER_QUANTITY in the structure  ORDER_HEAD.
3) Also, fill the same in the structure ORDER_HEAD_X. Put 'X' only for MASTER_ORDER_QUANTITY.
Hope this will help you.
Thank you,
Santosh KB.

Similar Messages

  • Change Receipt Quantity for Planned Order in LiveCache

    Hi Experts,
    I am very new to SAP APO and I am an ABAPer. We have got a requirement to update receipt quantity in /SAPAPO/PPT1 transaction based on some conditions. I have looked into FM BAPI_MOSRVAPS_GETLIST2 to fetch receipt data under OUTPUT_NODES, but FM BAPI_MOSRVAPS_SAVEMULTI3 is not helping me with receipt data update. I have even checked several other options, but in vain. I have tried implementing several BAdIs also, still no luck.
    Can anybody suggest if we have any way to do this? Your help is highly appreciated.

    Hi Srinivas,
    I assume, you try to change Manfacturing Order ( Like Process Order, Planned Order etc). If so, the mentioned bapis will work perfectly. However, you have to send right data to bapi BAPI_MOSRVAPS_SAVEMULTI3. Send to bapi,only what is needed, because if there is any mis-match,system will not update the order.
    Few insights from my side are,
    1) Check "ORDER_TYPE" Input Parameter.
                   -     5 Planned Order
                   -     6 Production Order
    2) Fill Only ORDID, ORDER_NUMBER and MASTER_ORDER_QUANTITY in the structure  ORDER_HEAD.
    3) Also, fill the same in the structure ORDER_HEAD_X. Put 'X' only for MASTER_ORDER_QUANTITY.
    Hope this will help you.
    Thank you,
    Santosh KB.

  • Reg. Component list of planned order

    Hi All,
    My requirement is i need a simple components list of planned order similar to COOIS - Component list, but not with all information.
    Only I need the list of components planned order wise with component number, quantity, Sloc, Header material number, Production line and Production start and end dates.
    To achieve this I am going for Z report development, I found the BAPI-BAPI_PLANNEDORDER_GET_DETAIL has all information what I need.My question is does this BAPI is fetching the values of component from the reservation table against that planned order number.Meaning does this BAPI output of Components and RESB output for that planned order will be same?
    Regards,
    MBN.

    Hi
    Yes both results are the same if you check the RESB table with reference to the planned order number for which you have fetched data from BAPI BAPI_PLANNEDORDER_GET_DETAIL, both are the quantities are same, Also you can see the same in MD12/MD13, but when you check the RESB table only input as one of the component assigned in Planned order , then the quantities will differ,
    The result will be the same only in case when you execute the data from table RESB with respect to the planned order number( given input in BAPI).
    Regards,
    Anupam Sharma

  • Increase quantity of Planned Orders upon creation by MRP

    Hello gurus.
    We want to add a certain percentage to the quantity in Planned Orders when they are created by MRP. So that we can have a "cushion" for whatever waste we may have in Production.
    We explored the "Assembly Scrap" field in the Material Master, but the problem is that this is added to the costing of the product. And we don't want to alter the standard price of the material.
    What we are looking for is way that when MRP runs, and it creates Planned Orders for Production, it can automatically add certain percent (that we can maintain in a custom table).
    They want this on the Planned Order so that this also drives component procurement.
    Is there a way to this standard? Or perhaps a User Exit I could use so this is included when MRP creates these planned orders?

    Fernando,
    You are assuming that you need 'a little bit extra' for every planned order.  Most people think that this approach is unnecessary and leads to creation of non-productive stock/wip.
    Assume one part number, with 10 weekly requirements, each for 100 pc, lot for lot, Make to stock, and you decide to implement a method that increases all of these planned orders by 10%.  In your model, you will create 10 planned orders for 110 pcs each, or 1100 pcs; against your 10 requirements of 100pc (1000pc requirements total).
    I don't know how variable your production yields are, but let's assume normal (six-sigma) variation is between 90% and 110% of the target quantity (which is why you have inflated the output by 10%).  Let's also assume normal distribution; that half of your execution orders will output bwtween 90% and 100%, and half will output between 100% and 110%.  To cover the absolute shortages for each individual requirement, you don't really need 100 extra pieces in stock, you only need 10 extra piece in stock (and, of course, you must have planned this similarly in all of the dependent materials).  Once the 10 'extra' pieces are in the planning supply chain, you will have covered all of your 'normal' shortages.
    In essence, you don't need to increase EACH order by 10%, you only need to cover some multiple of the standard deviation of the yield ONE TIME.  This is the concept of safety stock.  SAP, as you note, allows you to increase supply over demand by a fixed quantity (static safety stock), allows you to actively calculate the quantity of safety stock by using a moving time-based formula (so-called 'dynamic safety stock'), and also allows you to alter the supply so that it comes in earlier than you need it (safety lead time).  These techniques are pretty much standard on any ERP system, not just SAP.  They exist because people have tried lots of other methods to increase service level, and these standard methods work best, which means they give a known way to optimize the balance between cost and service.  In addition, when you use these methods, you don't have to worry about the fact that SAP will not support your 'special' programs, both for today and also into the future when you do system upgrades.
    I WILL say that if the cost of the planned material is low, and the costs of the lower level materials are also low, and the service level required is high, then your non-standard method offers one advantage, that it is relatively easy for the users to understand.  Just realize that you will be creating some stock down through your supply chain that will not add to your service level.  In many companies, this is a good way for a planning manager to lose his job.
    Finally, regarding your proposal for a batch job that will inflate the qtys of the planned orders.  If you are going to write a program that will do this, you can also write it to 'unfirm' the orders prior to saving.  You should also not forget to consider your lot sizing techniques, should you decide to take this path.
    Regards,
    DB49

  • Pegging relation for stock got lost once we do changes to the SNP planned order.

    Hello Experts,
    Pegging relation for stock got lost once we do changes to the SNP planned order.
    We are using a BAPI  "BAPI_MOSRVAPS_CREATESNPORDER" to make changes to the planned order as per our business requirement.
    However after changes the pegging relation got lost.
    Please help, why and how to solve this.

    Dear Krish,
    While creating orders using BAPI pegging relationship will be lost.
    Could you be more clear which orders you are creating?
    Some times dynamic pegging is possible.
    Regarding pegging relationship please check the link, it may help you.
    Pegging - SAP Library

  • Component allocation in planned order and production order

    Hi all,
    I want  table  or Function module for component allocation in production order and planned order.If component changes done in
    planned order or production order.
    In Table PLMZ and STPO I am getting component which are allocated in routing MASTER DATA.But if after generation of
    production order or planned order and I had changed one component in production order then it will not show in PLMZ and STPO
    table.
    Please reply.
    Regards,
    Vidyasagar

    Dear
    Please check the following table :
    AFKO         Order Header
    AFPO          Order Item Detail -Compoenets
    AFVC          Order Operations Detail
    AUFG         Allocation Table Sub-Item, Store Group
    AUFI           Allocation Table, Document Sub-item, Store
    AUFK          Order master data
    RESB
    FM: CO_BC_INSERT_CMP_OF_ORDERS . BAPI : BAPI_PRODORDCONF_GETDETAIL.
    Refer : Change components and Routing of production order
    Edited by: Jiaul Haque on Dec 13, 2010 7:54 PM

  • How to block changes in system generated Plan orders

    Hi,
    As after MRP RUN we get Planned order generated by the system,  with type LP  , I have a requirement that system generated plan order quanity cannot be cnhage by the user if plan order is generated for quanity 85  user should not make it 100 no quality chnages,  also the manual plan order type LP cannot be create manully it should be creat by system only,  and for manul other type of plan order type should be use,
    How to do this.
    regards,
    zafar

    Hi
    Firming can be used when you don't want certain planned orders to change during subsequent MRP runs.
    Say today you have created certain palnned orders.
    In a normal scenario, when you do the MRP run again, the planned order may get changed if the requirements have changed.
    However as a normal business practice, it is not desired to change the production plans everytime there is a change in the requirement...especially in the immediate future (maybe a week or so).
    We set this as the planning time fence depending on the MRP type settimg in the material master, you may have firm orders.
    MRP will also generate firm planned orders for materials with MRP type P1 to P4.
    In addition to the above, any planned order that is manually changed is also firmed.
    Hope this may help
    Regards
    BRSR

  • BAPI to change components data of planned orders?

    Hi,
    Currently we are using BDC to change components at planned orders.
    Due to big data volume, we have performance issue now. Just checked
    if there is any BAPI to replace BDC. But can't find proper one. Anyone has
    any expeerience about changing components at planned order?
    Thanks.
    B. Regards,
    Nancy

    Hi,
    It's planned order due to biz requirement.
    B. Regards,
    Nancy

  • Component quantity in production order

    Hi,
    For my finished product component quantity in BOM is 1.386 for the base quantity 100.When am creating the production order for 100 in my component overview of  production order screen it is showing component quanitity as 2 instead of 1.386.
    Since am not using any rounding value,rounding profile and scrap nad upto 3 decimals allowed in CUNI for particular UOM.
    Thanks
    P.Srinivasan
    Edited by: srinivasan ponnurangam on Dec 23, 2011 12:33 AM
    Edited by: srinivasan ponnurangam on Dec 23, 2011 12:35 AM

    As I understand even if production order screen it is showing component quanitity as 2 instead of 1.386 ,Internally it is stored as 1.386 only.
    So as per knowledge it should not affect anything.
    Refer Note 931971 - Decimal places in stocks and stock postings
    Also refer
    Problem with item/component quantity in BOM

  • Subcontracting GR creation without changing component quantity

    We are using subcontracting process in SAP. When GR document is created the user sometime by mistake changes the quantity of component that is going to be consumed through material movement 543. Is there any setting through which we can restrict user from changing quantity of the component

    Hi
    Why user will change the quantity for BOM component?
    If you are using BOM for sub contract process, I hope you can't change the BOM items.
    Otherwise check function module EXIT_SAPLMBMB_001 with the help of developer.
    regards
    Srinivas

  • Change available quantity for Sales Order line during ATP control

    Hello,
    When sales order is created and item line is entered I need change available quantity for material. I mean not ATP quantity but available quantity (MCHB-CLABS for material/plant - I need remove some batches from logic)
    Could you tell me when I could add my enhancement for above purpose?
    Thanks in advance,
    E

    Did you try the assignment (Enhancement) ATP00001?

  • Changing MRP controller for planned order

    Hello experts,
    Is there any way the planner could change the MRP controller of a planned order within MD12 ? We are using ver 4.7 and this field is not enabled. Currently the planners are creating prod orders much in advance and are looking to move to a process where they firm planned order. We are using project stock planning structure so more that one planner may create orders for the same material. So when one planner review the material planning for one project he would firm the planned order and assign it to him for leater conversion.
    Note: I the config I didn't saw any field selection control for planned orders.
    Thank you in advance for sharing your wisdom.
    Francois Paquet BPA
    aeronautive industrie

    Francois,
    Very interesting question. However I never had to change those fields in either planned or prodcution orders.
    Both orders master data fileds are disabled.
    However since your are working with project orders ( or netwrok orders ) system would be giving you specific planner order hard tied to the project order ( similar to Made to order scenario).
    Planner could use MD51 ( project planning ) & MD4C ( option for Netwrok or WBS element ) for monitoring progress of his /her order.
    This way planners do not have to go by MRP controller data.
    Hope this provides some new thoughts.
    Thanks,
    Ram

  • Track changes to Quantity in Production Order

    Question.
    Is there a way to track changes made to the quantity field in the Production Order. I can only find changes the order status, not to the order, or any other field for that matter.
    I also checked tables CDHDR/CDPOS but no change is recorded there either.
    Is this a missing feature?

    Fernando Garcia ,
    Try using ORDer chnage management for your production orders. I am not sure if order qty change is tracked there.
    Thanks,
    Ram

  • Planned Order for a Product not being shown

    Hi Experts!!
    I am an ABAPer and I am new to SAP APO. We are now working on /SAPAPO/PPT1. When clicked on some quantity, all the planned orders existing for that product are being shown with respective quantities. Now, I am trying to create a new planned order for a product through FM BAPI_MOSRVAPS_SAVEMULTI3 by splitting the quantity among the receipts. I have gone through several posts and have written the logic. But the newly created planned order is not being shown in /SAPAPO/PPT1. I can't find it anywhere. Am I doing something wrong here?
    Here I explain it with an example. I have an aggregated entry for the month of June with quantity 3000, which is already split under receipts 1234 and 1235 as 1000 and 2000 EA respectively. Now, I need to split it as 1000 EA for each planned order and hence am creating a new plord. I am using same FM for changing plords as well with quantities as 1000. So, now both the receipts are being shown with quantity 1000 and the aggregated value as 2000... and the newly created one is missing. But I need the new one to be displayed and the aggregated should be 3000. Why is this happening? Am I missing something?
    I already have posted a query that is related to this total requirement. Change Receipt Quantity for Planned Order in LiveCache . This has the first part of the total requirement. Just provided for extra info, but not related to this issue however.
    Please help me out. Your help is highly appreciated. Thanks a lot!!

    Hi Srinivas,
    With prior experience, i am sure that the BAPI SAVEMULTI3 can be used for Creation & Change.
    I dont think,the FM's which you are using, are recommended by SAP. So , try to use BAPI most of the time,as it ensure data consistency.
    As you told, order is not flown to ECC, but visible in APO, i would suggest you to check the importing parameters of the bapi, like EVENT CONTROL ( should be '1' ).
    and COMMIT_CONTROL(should be 'E').
    Also, check your queues after execution of bapi. you should find your change pointer in the inbound queue of R/3 System. Do let me know if you still stuck.
    Thanks,
    Santosh KB.

  • Change Planned order components

    When we change a component in a planned order that is different from the manufacturing BOM, is there a way to distinguish what component was changed.

    Hi Ramesh,
    There is no transaction available to compare Production Order component list to BOM Component list. You need to create a Z report for yourself.
    If it is just comparing 2 BOM's then you can use transaction CS14.
    Hope this helps...
    Regards,
    Prasobh

Maybe you are looking for

  • How can I get a CD Rom to open on my Mac?

    I have a CD Rom on which is sign language lessons, but everytime I put it in my Mac it will open so that I can see the various files on the disc, but when I click install it opens a new window and it says "requires Microsoft Windows to install this p

  • DMS:Document details in production order

    Hi guys, The material master of the finished product has some documents which includes drawings & some instructions under respective document types Now if i create a production order for that material if I see the in the document overview screen lam

  • Space appearing in name of just one font family member

    Hi, I have a problem with InDesign CS4 adding a space in the name of just one particular style of a font family. This is happening with a company's custom-produced corporate typeface. It has a Font Suitcase file (named "XY Com") and four correspondin

  • TECO in IW32 t-code

    hi,all, I m creating maintenance order directly by t-code IW31 without creating notification, when I am doing TECO by t-code IW32,system is giving one pop-up message ,reference date ,time and also complete notification with check box?can anybody plea

  • Why get error msg, "failed to register," when downloading Flash Player

    turned off all firewalls, virus protection and popup blockers downloaded flash player uninstall and install ran both and still got subject error msg