Modification BOM Quantity during the Production order creation

Hi ,
I am using the next BAPI: BAPI_PRODORD_CREATE however I would like to modify the Quantity of the components during the creation.
Does anyone know how I can do that? Because this BAPI has not the parameters to modify the quantity components.
Regards,
Isaias

Dear ,
You need to use BDC tool for modification of BOM qty .BDC ( Batch Data Communication )  is basically a tool to upload or modify  mass data from Legacy  to SAP in batch programming   ( for any Master Data like Material Master , BOM , Work centre ) .
To know more about BDC , please refer the step by stepo procedure :
http://www.sap-img.com/abap/learning-bdc-programming.htm
http://wiki.sdn.sap.com/wiki/display/ABAP/DataTransfers-BAPI%2CBDC%2CALE%2CLSMW%2C+DX-WB
http://wiki.sdn.sap.com/wiki/display/ABAP/BDCSession-AutomaticExecution
Regards
JH

Similar Messages

  • Block the production order creation till approval of sales order

    Dear
    We are using MTO process. Client is asking to avoid the creation of production order still the sales order is approved. In sales order one user status is defined as approved. By default when sales order is created the status will be in not approved and once the accounts clears, they manually change the status to approved. Is it possible to put system check  to avoid the production order creation till sales order status is changed to approved?? Any idea??.
    Thanks in advance.

    Dear Usmani,
    I'm facing the same problem as you. Do you already have the solution for this?
    As of now, the only solution to stop the transfer of requirement to MRP is to set the delivery block at the header level and also flag on the "Fixed Date & Qty" in each schedule line item. The problem is now to deflag the "Fixed Date & Qty" in each schedule line item when the Sales Order is confirmed.
    Please share should you have any other solutions.
    Thank you.
    Regards,
    Jieyi

  • BOM Explosion based on Production Order Creation

    Hi PP Guru,
    My client wants the BOM Explosion date to be based on Production Order creation date. Could you help to advise how to set-up this requirement?
    I have showed them these possible System Configuration in BOM explosion, but none of these options are applicable to their current business practice.
    <OPPQ> BOM Explosion:
         BOM explosion number/order start date
    1     Order start date
    2     Order finish date
    3     BOM explosion number/order start date
    4     BOM explosion number/order finish date
    Looking forward to you reply.
    thanks,
    John

    Hi Sundaresan,
    Thanks for your reply.  So do you think there's any other way to fulfill the client's requirement?  I was thinking to do the "PP Master Data" instead, in order to choose the date of explosion.
    Actually the scenario is this:
    Initially the Material XXXXXX has a valid BOM on 03.01.2011 to 12.31.9999, but then, some changes has been made, maybe the user has changed the component or added new component using 04.01.2011 to 12.31.9999 as validity date.
    For example, the user created the Production Order (manually in CO01 or from Planned Order conversion) on 03.20.2011 and the Order Star date is 04.01.2011, so the system will copy the updated BOM which is valid on 04.01.2011 to 12.31.9999 (based on Order Start date).
    However, the client wants to explode the previous BOM instead (03.01.2011 to 12.31.9999).
    Please advise.
    Thanks,
    John

  • One time Discount Coupon to be used during the Sales Order Creation

    I need help to configure a one time coupon to be used during a Sales Order creation. During 2009 our customers that have purchased more than certain amount we are going to give them a discount Coupon with a code that they can use just one time during his next purchase. I need help to configure this request.
    Thanks

    Hi Gilberto
    Go VK11.
    After maintaining the material & price, please go to -->Additional data.
    You will be displayed with Validity, Assignments, Assignments for retail promotion, Limits for Pricing, Payments.
    In the 'Limits for Pricing' you have three options - Max. condition value, Max number of orders & Max condition base value.
    In the Max number of Orders - enter 1 to avail this special price only for first order.
    Importent Note: to activate the ' Limit of Pricing' -- you need to tick 'Condition update' for the particular contion type, in condition type customising.
    FOr eg. condition type - ZR00 - you need to have special price for this condition type & want to limit only for first order order.
    In the customising for ZR00 - 'condition update' need to be ticked, then only you can get the above option.
    i hope it is clear to you
    thank you
    Anirudh

  • How the availiblity check is carried out during the sales order creation

    Hi All,
    I have maintained planned delivery time, GRProcesing time and replenishment lead time in days in material master. I am not understand ing how the system is calculating the availability date of the material during sales order creation.
    Please do needful regarding this.
    Regards
    Phani

    Hi,
    Using the Scheduling data from Delivery & Transportation Scheduling, the system does the backward calculation from the Requested Delivery Date. This is used to arrive at Material Availability Date.
    On the Material Availability Date, system checks the Available Qty, as seen in CO09 in column ***. ATP Qty. If the Available Qty is > than Required Qty, Requested Delivery Date is confirmed. Otherwise,
    System moves into the future till it finds the required Available Qty. The new date is then the new Material Availability Date.
    On getting the confirmed Material Availability Date, system does the Forward Scheduling to arrive at a Confirmed Delivery date.
    Regards

  • MIGO Proposes Quantities even when the Production Order has DLV status

    Hi,
    In ECC 6.0 after my last operation has been confirmed with AUTO GR. MIGO proposes the planned Scrap quantity against the Production Order for Goods Receipt. Is there a way to stop this.
    Here is the scenario that I am facing this issue.
    I have a production order with Qty 103 with 3 QTY as planned Assembly scrap.
    At the last operation I do 98 yield, 2 rework and 3 scrap. My Rework Reason Code inserts a rework operation using trigger point in the production order. Now after I confirm Rework Operation when I got MIGO for Goods Receipt it proposes me 5 (i.e. 3 Planned Scrap plus 2 rework).
    Is there a way this behavior be stopped.

    Hi Aravind,
    I have a suggestion. Instead of having assembled scrap if you follow below way you can overcome from this issue.
    To produce 100 quantity, goods should be issued for 103 quantities. You should maintain this in BOM. So during production confirmation, if your yield is 98 then GR will happen only for 98 and you can enter 2 piece as scrap quantity. GR will not happen for scrap quantity. When you confirm the rework operation, system will propose only 2.
    Currently we are following this way. Try it out and see.
    If you need more information, do reply.
    Regards / US

  • FM for creation of production order creation

    Hi All,
    Can anyone tell me the BAPI for the production order creation.
    BAPI for creation of production order through CO01 transaction code.
    Thanks in advance
    Ramesh.

    Hi,
    Please check this FM CO_ZF_PRODUCTIONORDER_CREATE.
    Regards,
    Ferry Lianto

  • GR quantity check against Production Order in MB31

    Hi Experts,
    How to check GR quantity against Production Order (101) can not be greater than Confirmation quantity for the Production Order in MB31.
    Regards,
    Praful Mankar

    Hi Praful,
    Use user exit MBCF0002, here put condation that check AFEU table (confirmation table) and allow
    that quantity only to do GR
    and it will triger at the time of MB31
    Regards
    Girish

  • GR quantity more than production order quantity triggering cost difference

    Hi Gurus,
    We have observed a scenario where the cost(price) dfference account getting hit whenever the GR quantity is greater than the production order total quantity. The dollars posted to this acount are directly propotional to the difference between the GR quantity and the production order quantity.
    The total quantity specified in production order is 1 M2U and GR quantity is 1,000 M2U.Material price is $195.65.
    Accounting Document;
    Inventory account           - 195.65
    Offset account                - 200.00
    Cost difference account  -    4.35
    If we do GR for less than or same quantity as in the production order, this account is not getting triggered.
    Any idea what is causing this scenario? I really appreciate if you can share with any SAP note related to this.
    Thanks,
    Mano.

    Hello Gurus,
    One  more observation is,
    The palnned costs and actual costs are always different when dealing huge quantities. But the cost difference account is only getting triggered if the actual quantity is  more than the palnned quantity.
    And,
    when the difference between atual quantity and palnned quantity is huge then
    Planned costs are booked to the inventory account
    Actual costs are booked to the prodcution cost account.
    Significant cost variance is booked to the cost variance account.
    When the difference between actual quantity is less than/equal to planned quantity is not so huge then
    Actual costs are booked to the inventory account
    Actual costs are booked to the prodcution cost account.
    Is this a standard behaviour?
    Thanks,
    Mano.

  • Block Production Order Creation for Particular Order Type

    Hi Experts,
    I want to disable the production order creation for a particular order type XX01 however there are some existing orders for this order type which should be processed further.
    In other words my objective is to -
    1. Block new Production order XX01 creation -
    2. Processing of order type XX01 should be possible.
    Is there standard setting available to achieve this or user exist is the only option..
    Regards,

    Hi
    You can use the user exit PPCO0006 and its function mdoule EXIT_SAPLCOZF_003 to archive that. That function module is called when the user click enter after inputting the material/plant/order type in CO01 then you just need to check the imported value CAUFVD_IMP-AUART which contains the inputted order type then rasise an error message to tell user that the order type cannot be used due to certain reason. The source code need to be written there is very simple.
    Regards.
    Leon.

  • Selection Of BOM & Routing at the time of production order creation

    Hi guys,
    Please clarify how i can go about for the following mentioned scenario
    I have one Master BOM(Finished Product Level) & alternative BOMs for that,similarly i have one Master Routing & alternate routings for the same finished product
    At the time of production order creation is it possible for me to choose one of the BOMs & One of the routings of that particular finished product without creating a production version?
    Awaiting for a quick response
    Vijai

    Hi vijai prasad shanmugam ,
                                              In the material master MRP-4 view under the BOM selection you can maintain on what fatcors you want the BOM to be selected  Viz. Selection by order quant.,Selection by explosion date.Selection by production version etc.
    As far as the master recipe is concerned ........ I guess that if there are more than one valid master recipe maintained then SAP will prompt to select the one manually.........
    But it the standard practice to maintain the production version ....... for the similar situation to the one that you have mentioned.
    Please Let me know if I can help you in any way regarding this........
    Please reward the points......... in you find the ans helpful.....
    Thanks
    Kaushik

  • Validation of material BOM quantity at the time of production order confirm

    Hi,
    I want validation on material BOM ,when i confirm production order.
    Actually when i am going to confirm my production order by tcode CO11, In this screen,i click on "Goods Movement" button. According to confirmed quantity , consumed materials will display. Here i can change material quantities. And here i want some validation. I there any user exit for this screen.

    Hi,
             Exit Name Description
    PCSD0001 Applications development R/3 BOMS
    PCSD0002 BOMs: Customer fields in item
    PCSD0003 BOMs: Customer fields in header
    PCSD0004 BOM comparison
    PCSD0005 BOMs: component check for material items
    PCSD0006 Mass changes user exit
    PCSD0007 Check changes in STKO
    PCSD0008 WBS BOM: Customer-specific explosion for creating
    PCSD0009 Order/WBS BOM, determine URL page
    PCSD0010 Order/WBS BOM, determine explosion date
    PCSD0011 Knowledge-based order BOM, parallel update
    PCSD0012 Customer - Mat. number/mat. number during material exchange
    PCSD0013 Customer-specific processing of an explosion for BOM browser
    PCSD0014 Knowledge-Based Order BOM: Status
    BADI's are
    WORKORDER_CONFIRM
    WORKORDER_UPDATE
    WORKORDER_GOODSMVT
    <b>Reward points</b>
    Regards

  • Production order creation control in the case of jumping quty in routing

    Hi,
      i have a routing in which first operation i make one quantity . in the second operation it becomes 12 quantity.and third operation also it becomes 12 quantity.
    for
    operation  1      quantity 1
    operation 2        quantity 12
    operation 3       quantity 12
    it means in operation 2 the quantity 1 is made in to 12 pieces.
    so my final material is 12 quantity.
    in this situation i want the production order to be created for this material in the multiples of 12 only.because system is not restriction the creation of production order for 1 quantity in this case. but it only stops during confirmation of first operation.
    pls sugest any where i can control the creation of production order which is not meeting the multiples of that operation quantity.
    rgs
    madan

    Hi Madan,
    I am not sure about direct control for your requirement, so try below work around solution.
    System should only allow to create prod order if the order qty is in multiple (12,24,48 ...), other wise it should not allow .
    I hope u have defined bom as (12  Nos/pcs header material = 1 Nos/pcs raw material )
    For multiple order qty, the components requirement qty should not be in decimal, it should in integer.  If u create the order with qty not multiples (say 13 ,14..) , the component requirement qty comes in decimal.
    I am not sure, Find the user exit and set Error message (with Abap`rs), once components requirement qty comes in decimal.  I have never tried this, I just give my idea.
    Regards
    Pradeep

  • How to ignore Assembly Scrap of MRP during Production order Creation

    Hi All,
    We want to ignore the Assembly Scrap maintained in MRP View during production order creation.
    We are maintaining assembly Scrap for planning so we do not want to remove that.
    Please let us know if any User exit is there during Production Order Creation.
    Thanks,
    Amit

    Dear Amit,
    Assume in CO01,once after entering the total order quantity the system proposes the scrap quantity field separately,now
    remove this quantity for scrap field and press enter and once again adjust the total quantity and check for what quantity the
    system is proposing the BOM components.
    check whether this works for your requirement.
    Regards
    Mangalraj.S

  • Alternative item quantity greyed out on Production order creation

    I'm creating a production order. One of the materials in the BOM uses an alternative, the discontinuation indicator = 1 on material MRP4 view.
    The production order is using the alternative which is ideal, but the quantity for the alternative is greyed out so the quantity cannot be changed? Ordinarily the quantity for a component in a production order can be changed.  Can the quantity field be configured so it changeable for alternatives? Where is the discontinuation indicator configured please?
    Thanks in advance.

    In the production order both the original and the alternative material are listed.  The original item has a blank qty in the field and the alternative has the required qty (greyed out though), say qty 10. 
    If I want to issue say just 8 of the alternative and 0 of the original , why would I enter a qty for the original material?  The shop floor found 2 hanging around so I want to change the alternative qty to 8 if possible, and thats all I wish to issue against this production order.
    Thanks for your help

Maybe you are looking for