Creation of Production Order with set Series

Document Series for Production Order (from NNM1):
Series: 27
SeriesName: Primary
Range: 1 - 1000
Next Number: 24
Series: 43
SeriesName: KAP
Range: 1001 - 2000
Next Number: 1001
Considering the above document series, after i run the ff. code
lole_DOCUMENT = sapbobscom.SBOCompany.GetBusinessObject(oProductionOrders)
lole_DOCUMENT.Series = 43
lole_DOCUMENT.ProductionOrderType = "0"
lole_DOCUMENT.ProductionOrderStatus = "0"
lole_DOCUMENT.ItemNo = "ItemA"
lole_DOCUMENT.PlannedQuantity = 5
lole_DOCUMENT.PostingDate = "2009/07/01"
lole_DOCUMENT.DueDate = "2009/07/02"  
ll_return = lole_DOCUMENT.Add
there's a new Production Order added in SBO with the ff. data
Series: KAP
Document Number: 24 (instead of 1001)
please advise on this matter. thanks

as you can see from my previous post, there were two Document Series for the Production Order.
Series: 27
SeriesName: Primary
Range: 1 - 1000
Next Number: 24
Series: 43
SeriesName: KAP
Range: 1001 - 2000
Next Number: 1001
and in line#2 of my code, i set the Document Series to 43 which is the KAP document series, not the Primary document series
lole_DOCUMENT.Series = 43
as i stated in my previous post, after i run my program, a new Production Order was created. Its Document Series was KAP, and its Document Number was 24 instead of 1001
please advise. thanks

Similar Messages

  • Creation of production order with reference to sales order

    dear all guru's,
                       i m having a requirement of creating production order with ref to sales order but without changing my old strategy of make to stock.
    regards
    ujwal

    Hi,
    For the purpose of creation of production order with reference to sales order while maintaing MTS strategy you need to maintain Make to stock strategy 40 in strategy group in MRP-3 View of Material Master.
    This is the only Make-to-Stock Strategy which enables you create Production Order against both Sales order as well as Demand / PIR.
    So if your strategy group is already 40 then you need not change it.
    However if you are using any other Make-to - Stock strategy like 10, 11 etc. then it is not possible to create Production Order against Sales Order since they dont consider Sales Order in planning.So you need to change them and set strategy group as 40.
    Hope this helps.
    Revert if you have any doubt.
    Regards,
    Tejas
    Edited by: Tejas  Pujara on Sep 27, 2008 8:50 AM

  • BAPI for creation of Production Order with Ref to sales order

    Hi all,
    we are using BAPI_PRODORD_CREATE  for creating Production Order with ref to sales order.
    As per the Business Scenario, we are not creating any masters like BOM and Routing, instead
    we are creating Routing directly into the Production Order under operation overview screen.
    during creation of routing system is generating a default operation.
    the following is the error results after running the Bapi.
    "No routing selected"
    Best Regards.
    GTNRNR.

    Hi GTNRNR,
    with out creation of BOM you created routing and in routing for the operations which components did you allocated so that can be used to manufacture the final product. Can you be please specific?
    Regards,
    Madhu.G

  • Error message while creating production order with KMAT material strategy25

    Hi PP Gurus I am running variant configuration cycle...Strategy 25, Custermer Req KEK (KMAT Matrl)
    Sales order & MRP Picked the components correctly as per the dependencies
    written. So Planned order generated against sale order.
    When I tried to convert planned order to Production order...I am getting the
    below error message..
    Error Message:
    You cannot make an assignment to make-to-order stock Message no. CO684
    Diagnosis The component cannot be allocated to an individual stock because
    make-to-order production and engineer-to-order production cannot be executed
    with this order.
    A possible cause is that you are trying to create an order with reference to a
    sales-order/project, where an account assignment to a sales order/project is not
    allowed in the settlement profile that is assigned to the chosen order type.
    This is inconsistant.
    System response The following responses are possible:
    Order processing is cancelled.
    The system resets the special stock indicator back to the original value.
    Procedure Choose another order type.
    I used order type with SD1 as settelement profile.
    OVZG: default 046, settlement profile = SD1
    OPJH: Settlement profile = SD1
    Plz through some light on this if u have worked on Variant Configuration/MTO
    settlements.
    Question:
    1) Is creation of production order with KMAT material supported by SAP?
    2) If yes, why the above error occurs?
    Waiting for Ur reply
    With Best Regards

    Dear R.Brahmankar,
    I have check on the note, but it is not relevant to ecc6. The current system default setting is :
    Standrad setting for reqt class 046
    Special Stock E
    Acct Assgt Cat. M
    Valuation M
    Settlmt Profile SD1
    However if I change the Acct Assgt Cat. from M to E. It resolve the problem. I would like to know is this the right solution?
    Config in Acct Assgt M
    Consumption Posting = E
    Config in Acct Assgt E
    Consumption Posting = '  '
    In F1 key of Consumption Posting field it shown following:
    To flag the sales order item as cost- and revenue-carrying, enter an "E" (settlement via sales order).
    If you do not wish to flag the sales order item as cost- and revenue-carrying, do not enter anything.
    Dependencies
    If you are working with nonvaluated sales order stock, always flag the sales order item as cost- and revenue-carrying.
    If you are working with valuated sales order stock:
      In the case of complex make-to-order production, flag the sales order item as cost- and revenue-carrying
      In the case of sales-order-related mass production, do not flag the sales order item as cost- and revenue-carrying
    Should we change to E?
    Regards,
    Ong

  • BOM Selection Mandatory while creation of Production Order

    Hello Friends,
    I would like to know that is there any option other than production version which makes it mandatory to have valid BOM must for creation of Production order / coversion of planned order to Production order.
    I have tried with Production version option but it doesnt throw any error in case BOM with inactive status has been selected in it & also Production order gets created & released.
    Before going for user exit / enhancement option, I just wanted to ensure that it is not possible with standard SAP.
    Kindly share your views on the same.
    Your urgent replies will be highly appreciated.
    Regards,
    Tejas

    Hello Tejas,
    I think this is standard SAP Behaviour.
    Try with following exits:
    PPCO0018
    PPCO0012
    Also check out the following link:
    [How To Make BOM Mandatory while creating Production Order;
    Regards,
    Vinod

  • Reg:Bapi for mass creation of production order/confirmation

    Dear Experts,
    I wanted to know with the following BAPI is it possible to create Multiple production orders for different semifinshed Materials along with material availability check and other functions similar to CO01 transaction.
    I knew there are standard transactions for mass confirmation for production orders. But i need a confirmation on this BAPI . As i am planning to go-ahed with ,mass creation of production order creation / Order confirmation in single custom transaction.Need back flush activity even supported.
    BAPI_PRODORD_CREATE to create the orders.
    BAPI_PRODORD_RELEASE to release the orders.
    BAPI_PRODORDCONF_GET_TT_PROP to get the default data for the confirmation.
    BAPI_PRODORDCONF_CREATE_TT to ost the confirmation of production order.
    Along with this BAPI do i need to commit any other BAPI to carry out back flush for components.
    Need your suggestions to take it further.
    Regards,
    Daya.

    Dear SAP Daya
    If the issue has been solved, please close this thread.
    You have already mentioned that the issue has been resolved, thefore, you should not ask for help on another thread before closing this one, as it looks like you are trying to force people to answer your threads.
    Users are always trying to answer as many threads as possible on good will we don't need this kind of "incentive".
    Please read carefully the The SCN Rules of Engagement, especially point 8:
    Be responsive. If an SCN member has answered your question, please mark the answer as "helpful” or “correct”. Mark the discussion as “answered,” so that other members can find the answers more easily
    Also, I checked your old threads and I could observe that there is only one closed. Please review your old threads and close those already solved.
    BR
    Caetano

  • Purchase Requisition on creation of Production Order

    Dear Experts,
    Please clarify the following points
    1 In our Business Scenario on creation of Production Order for a Material, Purchase Requisition is being created on creation of Production Order itself for all Dependent Materials where the items are declared as Non Stock items in BOM  and for the stock items only on MRP run the Purchase Requisitions are created. Is this the standard procedure, or can we customize to create the PRs for all the items on creation of Production Orders??
    2 What exactly the processing indicator in MRP list indicate?
    Thank you,
    Regards,
    Ramakrishna

    For Non Stock items it is understandable, that a PR has to be created with production order creation , as they are not in the stock.
    For Stock items, the creation of PR cannot be linked with Production order creation but can be done with MRP run.
    We can make the system create planned orders or Purchase requisitions or PR in opening period during MRP.
    Processing indicator gives you the scope of PLanning.
    PLanning all the materials within the Planning horizon  --NETPL
    Plaqnning all the materials beyond also--NETCH
    Deleting the current plan and recreating the plan.-regenarative PLannng
    regards
    Ratan

  • Problem During Creation of Production Order

    Dear Sirs
    Hope you all are well. I am facing a problem in PPDM during creation of Production Order which is that when I try to release the order System shows me material availability error for BOM items but when I check those material in MMBE(stock overview )all materials are available in UN-restricted use stock. I am facing this problem and not able to resolve it please help me out in it.
    Thanks
    Regards ,
    Haseeb Khan
    Senior Consultant

    Dear
    Did you maintain Work Schedulimng View of the Material ??
    Did you maintain any Production Storage Loaction in MRP2 view and same is appearing in Goods Movement Tab in CO11N screen with Movement Type 101 ??
    Did you maintain the Operation Control Key -pp03  which should have Auto GR check box marked in OP00 ?? Goto Operation Control key -Detail information -Check whther Auto GR is marked or not ??
    If you are using Serrial Number Profile and Serial Number , then Auto GR is not possible .Make sure that you are not haveing functionality because it does not support Auto GR fro serialised material and need to do it through MIGO/MB31/MB1C.
    Make sure that you have used PP03-Control key only at last operation not all the operations.You need to maintain PP03 at Routing level and call the function by Read PP Master data  at production order level   (co02-function read pp master data )
    Regards
    JH
    Edited by: Jiaul Haque on Feb 14, 2011 12:55 PM

  • Automatic Creation of Production order per month

    Hello Gurus,
    Good Day! Is it possible to schedule creation of production order in background for certain material per month basis?
    Thank you,
    raymond

    Hi Raymond,
    If the suggestion of REM does not work for your requirement, then take the help of your ABAPer use one of the below BAPI's & create a Z prog. for creation of order as required.
    1. Prdn order frm plnd order -> BAPI_PRODORD_CREATE_FROM_PLORD
    2. Prdn order -> BAPI_PRODORD_CREATE
    3. Prdn oder with ref -> BAPI_PRODORD_CREATE_FROM_REF
    Alternatively, create one order & keep it open for the entire year, just do monthly wip calc & at the end of financial year settle the order completely.
    If helpful award points
    Regards,
    Vivek

  • EXTERNAL OPERATION in a production order with  different company code plant

    Hi,
    in my case i am having a production order with  4 operations.
      0010 milling
      0020 winding
      0030 cutting
      0040 milling
    among this opearion 0030 i want to do it in a plant which is assigned to different company code than mine.
    in this case whether i should proceed with PP01 Control key  with opearion plant as that plant which is lieing in diffent company code or
    i should specify  PP02 control key saying that plant as an external vendor for me and do PR  and PO for that service .
    which should i follow for my case and how cost gets updated .

    Hi,
          For different company code, u have to specify PP02 in the routing for external vendor. In PP02 control key indicator must be set in external opn.
    Before that create purchase info record.
    Enter subcontract info record in routing.
    after running MRP , convert the PR to PO.
    Send the material by MB1B by 541 mvt
    Receive the material by MIGO  by 101 mvt.
    Regards,
    Raja sd

  • How do we Prevent Creation of Production Orders for Phantom materials.

    Dear Experts;
    We have some materials which are Phantoms.
    We have set "special procurement type" as 50 in MRP2 and "Strategy Group" as 59 in MRP3
    These are non stchable items, but have BOMS.
    We dont create orders for them, however at the mement the system allows order creation. How do we prevent creation of production orders for these items in the system.
    Thanks in Advance
    Richard.

    Dear Richard,
    Check using this BADI - WORKORDER_UPDATE using method IN_UPDATE or Release by including a check if MATNR and for
    WERKS combination if SOBSL = 50 from table MARC,then do not allow to save.
    Check whether this works or else you have to set a plant specific status using OMS4  for not allowing production order
    creation and assign this value in the material master of the phantom assemblies.
    Check and revert
    Regards
    Mangalraj.S

  • Create a production order with variant configurator data

    Hello,
    Can anyone tell me the way to create a production order with variant configurator data. Is there a BAPI ? an IDOC ?
    Is there several steps ?
    I have to create an interface which creates automatically PP orders. The data input is a file.
    Thanks for your help

    Hi,
    There are fews BAPI's available for creation of Production Order. They are:
    BAPI_PRODORD_CREATE
    This bapi will suit to your requirement, as input will be provided from file.
    Others are
    BAPI_PRODORD_CREATE_FROM_PLORD " this converts planned order to production order
    BAPI_PRODORD_CREATE_FROM_REF      " this creats production order considering other production order as reference.
    Hope your query is answered.
    Regards,
    Brajvir

  • Transacciu00F3n MFN1 - Error KA465: Production order with an actual activity up

    Hi Exerts,
    I am executing transaction MFN1 with "Update of Activity Consumption in the Quantity Structure" = 2 and the following error ocurrs: "KA465 Production order with an actual activity update.".
    I changed the customizing "Update of Activity Consumption in the Quantity Structure" to "Activity update not relevant to price determination", after this I exectuted transaction MFN1 again and the error didn't occur.
    I need to understand what is the impact of changing this customizing, and if I set the "Update of Activity Consumption..." equal 2, the activity actual values are revaluated in the CKM3N? If the answer is yes, in what point of the CKMLCP this value is revaluated?.
    Regards

    Hi,
    please check CKM9 for the relevant plant how you define the Activity update. Please note KA465 is justified to avoid posting the credits and debits twice if the indicator is '2'.
    If you are using activity update '2', the differences between planned and actual activity prices are not distributed to the orders but via multilevel price determination directly to the materials.
    The system determines the actual prices by means of the multi-level price determination in the actual calculation.
    In the actual calculation, the system also already debits the materials and credits the cost centers or vice versa.
    In this case, the revaluation must not be executed because otherwise the system posts the debits and credits twice. In this case, the system ought to display error message KA465.
    Note 686588 explains under what circumstances error KA465 may be raised, that is, if you have activated Material Ledger/Actual Costing with Activity Consumption '2'. Please check your Material Ledger settings in relation to note 686588.
    If you use activity update '1' then revaluation is done via the orders and no longer via Material Ledger.
    regards
    Waman

  • Change production order with deletion indicator

    Hello
    We have some production order with deletion indicator, status 'DLT'. We want to reative them and do GR. How can we do, can we remove the status 'DLT'
    Thanks
    Hailiang

    Hailiang,
    Its not possible to revoke the deletion flag.
    so you need to create new orders, and thats why its being suggested that think twice before setting deletion flag.
    if you are not sure with the orders you can set TECO , and it can ve easily revokeas and when required.
    Regards
    Ritesh

  • Creating Production Order with wrong production version

    Hello Expert,
    please provide me answer and solution to resolve our problem regarding creation of production order (CO01 and CO41), because SAP provide and propose production version which have alternative BOM which is status 02 (inactive) already it is not picking the production version which has active alternative bom for our finished material. it is allowing the production to be created even the bom was inactive.
    please help us to this it still bugging our system
    tenx

    Hi Ryan,
    Production version will be selected based on the field Selection Method field in Material Matser MRP 4 view.
    1  Selection by explosion date
    2  Selection by production version
    3  Selection only by production version
    If the selected field value is 1 , then system selects the version based on the validity dates i.e whichever production version is active on that day that will be considered in MRP.
    If the selected field value is 2 by production version. Then system will select the First Prodution version mentioned in the Material Master MRP 4 View (production version Tab).
    If the selected field value is 3 always only by production version. Then system will select the First Prodution version mentioned in the Material Master MRP 4 View (production version Tab).
    So to address you query I suggest you to delete the production version PV1 with BOM 01 and Make production version PV2 will be available and active in seen as the first production version in teh screen.
    Then for your inof purpose you want have the PV1 then re-create it as second version in the Version tab screen.
    Regards
    radhak mk

Maybe you are looking for

  • "Material is configurable" indicator in material master record

    Hallo, SAP gurus! I have a problem: in my SAP system there is a material whose indicator "material is configurable" is set. Due to this I cannot hold calculations of this material on. How can I clear this indicator(it's grayed and I can't modify it)?

  • Elements 10 "editor"

    Question please. Is the Photoshop elements 10 EDITOR the normal elements? The word editor is throwing me. I have 9 but it doesn't say "editor". I am interested in downloading the elements 10 editor from the apple APP store.

  • FaceTime issues on MacBook

    When my friend tries to call me on Facetime from his laptop, the call goes to my phone, regardless of whether he calls my phone number or my e-mail address. Similarly, if I try to call him from my laptop (using phone number or e-mail address), the ca

  • How to know and remove unused applications via pacman?[SOLVED]

    Hello, I would like to know how to remove them...I mean those packages included [unused anymore] during installation of a specific app...I'm saving space for I only have an 8gb SSD on my Acer Aspire One...My cache are already empty [pkg]...:) Thanks

  • Why rmic command in Linux gives NullPointerException

    Hiii I have a problem in RMI on Linux I whenever i am trying to create Stubs on Linux using rmic it's giving NULLPOINTEREXCEPTION.. so please can anybody tell me why it's happeneing.. my command was rmic ChatterImpl