Error while mass conversion of Planned order to production order

Hi All,
Thanks in Advance for help. We are facing one issue since Oct-2011.
We have set up batch jobs for early morning to convert planned orders in to production orders. This is set up for transaction COHV.
We have both MTO and MTS scenario.
But problem occurs in Make to Order (MTO) scenario.
Error comes in ST22 as   " SAPSQL_ARRAY_INSERT_DUPREC"
*..Reservierungsköpfe inserten
  IF NOT rkpf_i[] IS INITIAL.
    INSERT rkpf FROM TABLE rkpf_i.
  ENDIF.
Note : This error is not coming on consistent basis, it comes randomly. Secondly we are not aware of the reason/root cause of this error, hence not able to replicate error at all on Quality server.(Quality is backup of production till nov-2011)
Writing to SAP, they debugged and provided note 504255. A part of that note says "Remember that this note describes a MODIFICATION which differs from
the standard behavior of the system. Therefore, the customer assumes
the responsibility for the implementation of this source code
change. Due to this reason, SAP AG does not provide any support or
maintenance for the changed source code."
Hence client is reluctant to implement that note.
Can any one help us out on
1) What can be the cause of error as mentioned above?
2) Resolution apart from SAP note?
Best regards,
Ravi Davda

Hi Ravi,
I am also facing same kind of issues from past couple of months.
Sometimes this issue come up as sales order credit ststus is not approved and some times it happens due the following error INSERT rkpf FROM TABLE rkpf_i..
I am also looking for some permanent solution.And today I have also faced same error and will be converting it manually.
And can you tell for which client you are working?And if you find any solution for this please update me
Regards
Punjabi

Similar Messages

  • Budget error while issuing stock to the project based production order

    Ours is project based Engineering company, we mfg euipments for the client which is part of the project.
    We define separate WBS element for equipment to be manufacture & create reservation under this WBS element.
    Secondly we follow production process through PP & define BOM for equipment which contains component rquired to mfg the equipment. To control cost(budget) component group wise we create separate sub WBS element for each component group(plates, motors etc) under above equipment WBS element
    Kindly refer e.g.below
    1.  Equipment (Finished code) to be manufacture is attached on WBS MYC-210952-06-03
    2.  Production order(1003780) created with reference to above WBS element
    3   Material procured under WBS MYC-210952-06-03-001
    4.  Stock available under WBS MYC-210952-06-03-001
    We would like to issue material available under MYC-210952-06-03-001 to production order which is attached to WBS MYC-210952-06-03. (Tcode MB1A)
    System allows to issue stock, but gives budget error.
    Is it possible to transfer budget auto in the transaction MB1A itself from MYC-210952-06-03-001 to MYC-210952-06-03 or what is the best solution available for above situation.
    Kindly confirm.
    Thanks & regards
    Sanjay Karnekar

    Hi Sanjay,
    You have consumed a budget at lower level WBS for material procurement. And at upper level you want to do stock transfer.
    But while doing budget allocation you have distributed the budget from Upper level to lower level so there is no distributable value is avaialble at upper level for the amount of the materail stock you want to transfer.
    In this either you have to keep your all budget values at upper level where your doing equipment aeembly and not distribute the budget further at lower level.
    Now you alredy this so you cant do anything.
    Now you have following option available with you. You have perform following activity by the given sequence.
    Deactivate the Budget check by CJBW
    Do your stock transfer
    Do budget return by CJ38 from level WBS to upper level WBS
    Now Activate the budget check by CJBV.
    regards,
    Pradeep

  • Error while converting planned order to production order for config materia

    Hi experts,
    While converting a planned order to production order for a configurable material.I am getting the following error meassage. Message No.CO684,
    "You cannot make an assignment to make-to-order stock"
    ( DiagnosisThe 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 ResponseThe 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 have checked some of the threads related to this error. But no where there is any solution.Please tell me if there is any settings to make so as to work on this scenario.
    Thanks,
    Sham

    Hi,
    This will be a MTO scenario. Please check your requirement type,Requirement class and strategy type config along with your Item category and schedule line category from SD.
    Also check your Production order type config and settlement profiles.
    I mean to say that you need new production order type to be configured for specific above mentioned combination.
    Are you working on a production system..?? is it the first time you are creating the order for this config material..??
    Regards,

  • Error in Conversion of Planned order to Production Order

    Hi,
    I am getting error while converting the planned order to Production order.
    Error is " Scheduling parameters not defined for the production orders"
    I have maintained the parameters in Prod-> Shop Floor Control -> Operations -> Scheduling....but after that also the same error is coming.
    And also I have maintained in the Capacity Req Planning
    Kindly assist me where I can define the scheduling parameters for the production orders in MTO cycle.
    Regards
    Toshi

    Hi ,
    My production order has been created ....but now m getting error while releasing it.
    Its saying that "No checking rule maintained for operation"
    I have maintained the checking rule in OPJK. But still m getting the same error.
    Kindly assist me for the above error.
    Regards
    Toshi

  • Conversion of planned order to production order resulting into Runtime error

    Hello Gurus
         I am trying to convert Planned order into production order in MD04,  but I am getting ABAP Runtime error; for details please see image here posted.
    Please help me to resolve the issue.
    Thanks in advance!
    # If anybody wants remote access of my system through Team viewer I am ready to share my desktop for same.
    Regards!
    AKSHAY

    Hi Akshay,
    Overflow during arithmetical operation type P COMPUTE_BCD_OVERFLOW comes when the maximum of the internal ABAP field that is 99,999,999,999.99 many be quantity, cost value UoM conversion etc.
    Please check how this UOM (unit of measure) is defined in transaction CUNI. In this transaction, you may have set the Value-based commitment indicator. This indicator controls whether commitments for the chosen unit of measure are recorded on a quantity basis or a value basis.
    Please search OSS note for this dump and also raise this to OSS.
    Regards,
    R.Brahmankar

  • BUG in  Conversion of Planned order to Production Order.

    Dear all,
    I got an error while conversion of planned order to production order are as follows,
    No Default values maintained for op.generation for order type ZFT1(matlPILSF002).
    Can anyone please guide me to proceed further.
    Kumar.

    Hi,
    Root cause behind this problem is, no Routing found.
    First complete below settings.
    - Go to OPJG And create defult Operation creation in case of no Routing found.This setting will generate the default Operation incase of no routing found during Order creation.
    - In T.code OPJF Create automatic selection parameters (Selection ID) for Routing.
    - In T.Code OPL8 Maintain Selection ID for Routing and also maintain type of Routing selection (3 - Automatic Routing selection)
    Regards,
    Dhaval

  • Conversion of planned orders to production orders

    Hi,
    we are doing mass conversion of planned orders to production orders and performing capacity availability check, how system will give log information based on these two things,
    when i perform availability check at time of order creation and will not allow to create if anything is missing (i selected user decides option in configuration), does it show any error log report and where can i see.
    When i perform availability check at time of release, if anything missing it will not allow to release and give a choice for a user to release in normal production order creation process, how it will work in mass conversion. is there any standard report to look at missing planned orders so that users will come to know and then decides whether to convert to production order or not.
    thanks in advance.

    Dear ,
    In SM38-Enter PPBICO40 -Execute -Here you need to Mark the Output log option with Erros only or Error Folder for each MRP controller  .Frist you do it in test mode and then remove test mode , mark the Output log option as per requured field and check the result .
    refer this useful thread : Program PPBICO40 for conversion of planned orders to production order
    Regards
    JH

  • Bug in Conversion 4m Planned Order to Production Order.

    Hi guys,
    While conversion of Planned order to Production Order i got the below error,
    "YOU CANNOT MAKE AN ASSIGNMENT TO MAKE-TO-ORDER STOCK"
    Message # CO684
    Settings i ve done,
    MRP3 View for this particular Material i have selected Stratergy as 20.
    Please help me to resolve this issue,and what are the settings i need to do.
    Awaiting a positive reply.
    Regards,
    Kumar.S

    Resolved Sucessfully
    Kumar.S

  • Program PPBICO40 for conversion of planned orders to production order

    Hi,
    The program PPBICO40 is for conversion of planned orders to production orders in the background job.But while set up of variant it is asking me for peson who created error folder and recipient.I want to know the significance of these two fields and how these are useful.
    Please throw some light on this.
    Thanks in advance,
    Ravi

    Dear,
    PPBICO40 the non-convertible planned orders are put together in one batch input session and can be postprocessed with batch input tools. It is possible to create a separate error session for each MRP controller.
    Error folder for each MRP controller: creates a separate error folder for each MRP controller.
    Receive folder according to view: If the indicator is set, the error folder is not deleted after processing in batch input.
    Creator of the error folder: User who is entered as creator in the error folder .
    Send mail: Sends a mail to the respective MRP controllers during the creation of a batch input session. If the indicator 'Error folder per MRP controller' is not set, the mail is sent to 'Recipient (alternative)'.
    Express document: sends mail as an express document.
    Recipient (alternative): Recipient of the mail, if no recipient is specified in the material requirements planning master record of the MRP controller responsible .
    Hope clear to you.
    Regards,
    R.Brahmankar

  • Configurable material - Error converting plan order to production order CO6

    While I am coverting planned order to production order with configurable material, I am getting the follwoing error:
    You cannot make an assignment to make-to-order stock
    Message no. CO684
    As read in previous forum messages I am check settlement profile assigned for  new order type (ZSD01) with standard sett profile (SD1) at OKO7 and set "Valid receivers" with value "1" in Order, Material, Profit.segment, Sales order and Order item.
    Configurable material have item category group "0002", MRP type "PD", Lot size "EX", Strategy group "25" and "Individual requirements".
    Sales order with configurable materiale have item category "TAC".
    Where is the problem?
    Thank you in advance
    Oscar

    Hi,
    There are some OSS Notes to address this problem..(OSS Note: 311651, 432109 etc..)
    But all ae for older versions of SAP.
    Regards,
    Siva

  • Planned order to production order conversion in APO

    Hi Gurus,
    Can you please tell me how i can convert planned order into production order in APO? How that production order will be transfer to ECC?
    Regards
    Rajib Pathak

    Hello Rajib,
    The following are required -->
    1. Active Intergration Model for production orders in R/3 .
    2. Distribution definition  (T.Code /sapapo/cp1) in APO.
    3. Retransfer settings (optional, read the F1 help here,before setting one) (T.code /sapapo/cp3)
    Also make right setting for transfer for inhouse production in /sapapo/rrpcust1 in APO.
    Then create a planned order and check the "Conversion indicator" in the product view (/sapapo/rrp3). or use transaction /sapapo/rrp7 to convert orders in mass.
    Thanks,
    Mahesh

  • Capacity check during Planned order to production order conversion

    Hello Gurus,
    I have a strange situation during capacity check.
    While Converting the planned order to Production order, I release the order and I don't get any warning. All work centers are available
    But for the same material/quantity/dates, if I create the Production order manually, release it, system check the capacity and I got the message the Capacity Over loaded (which is correct also as there are overload on the work centers).
    My question is why I am not getting this message while converting the planned order to production order.
    There are overload on the work centers and manual creation of Production order is working fine, but problem is during planned order to production order conversion.
    For information, I have maintained Finite scheduling indicator in OPKP, capacity availability indicator "NO CHECK" is also blank in OPJK.
    It will be grateful if you can please help me here.
    Thanks in advance,
    Sandeep Kumar

    Hi KK,
    Thanks for your feedback.
    I have checked all these settings but still no success.
    I am surprised but it is not a customizing issue I believe, because capacity is checked in Dev client while converting planned order to production order. I am facing this issue only in Staging client.
    Master Data is same. In CM01, in Quality(Staging) client, it is showing overload. while creating production order, it shows overload but only when convert from planned order to production order, it does not show overload .
    Please suggest what else I need to check.
    thanks in advance.
    Br,
    Sandeep Kumar

  • Planned order to production order conversion problem

    Hai All,
    I am converting a planned order to production order during which following error is coming and system is not creating production order.
    You can not make an assignment to make to order stock.
    How to solve the issue.

    hai sundaresan
    Thanks for your reply. As you mentioned i am using strategy 25 for this Material. I have tried all the settings and changes mentioned by you. But not able to convert the planned order to production order. But when I changed the strategy to 20 and created a new sale order then did MRP run and then tried to convert the planned order to production order and it worked. Now my question is when it is working with 20 why it is giving problem with 20. Actually I am doing VC for material and while creating sale order selecting the values from characetristics. Can you help out why it is not working with strategy group 25.

  • Conversion planned order to production order without BOM - no message

    Hello
    Problem: during conversion planned order to production order system does not inform (warning or error) that BOM is not exist. Is it possible  to force system to any reaction by standard configuration ?
    Everything is ok if production order is created by CO01, but during conversion there is no any reaction - production order is created, released etc. I only see by system status that something is wrong (NMAT - No material components). Probably we will have to do it by User Exit but I want to know that all standard configs are exhausted.
    Thx in advance. Reg.
    Joanna

    Hello
    The BOM is not read again when a planned order is converted to production order on the standard system.
    You may implement the modification from note 391846 to force master data to be read again, therefore, an error message will be triggered during the conversion when the BOM is invalid.
    BR Caetano

  • Partial conversion of Planned orders to Production orders

    Hi all
    I wan tot partially convert planned order to production order. I am able to do this with MD04. Is there a tcode for mass partial conversion. CO41 does not allow a partial conversion. Is there a way I can collectively do a partial conversion.
    thanks

    Hi John,
    To the best of my knowledge there is no t-code to do a mass partial conversion of planned orders.
    You can try with a lsmw recording of t-code co48 & then input your planned order numbers with the qty to be partially converted or alternatively use co41, change the qty & convert the planned orders, but with this you will need to re-run MRP to create another planned order for the balance qty.
    Hope the above helps.
    Regards,
    Vivek

Maybe you are looking for