Idoc creation on production order create and save

I need to know if there is a way to create an idoc on the change and save of a production order.  We will need to base this on plants (not all plants get an idoc).  Is there any "safe" way to do this automatically?  We previous had a system in place that used the user exit of a production order save but it no longer works. 
Regards,
Davis

It's not an error as such.  The program is doing exactly what it has been told to do.
If you go to SE38, and look at ZXCO1U06, you'll find that there is a statement "BREAK-POINT".  This is hard-coded way of opening the debugger.
Your best approach is to find the developer responsible for doing this, and ask them to change it.  If this is happening outside of development system - perhaps in test or production, then perhaps
a) The programmer needs to be disciplined shot
b) The development team need to introduce some review procedure of ALL coding, before transport.
Regards
matt

Similar Messages

  • IDOC TO FILE ( PRODUCTION ORDER CREATED IN R/3 (LOIPRO01 Idoc) IS SENT 2 XI

    PLS...I NEED SOLUTION AS SOON AS POSSIBLE
    When a production order is created and is  released in R/3,the idoc
    (LOIPRO01 Idoc) should be passed (sent) to xi system and mapped into a file using FILEADAPTER.
         Source :   SAP ERP ( LOIPRO01 Idoc)
         Target  :    file.
    <b>MY Question is How to Capture that Idoc,..i mean how to push that Idoc(LOIPRO01 Idoc) from R/3 System to Our XI System ? .</b>
    TCODE for Production Order Creation :- co01

    Hi All,
    For this requirement IDOC's are not used.Bapi is used.
    The BAPI ‘BAPI_DELIVERYPROCESSING_EXEC’ will be enhanced to add the new fields into the BAPI structure.
    The BADI ‘/SPE/BAPI_DLVEXEC_EX’ and the user exit ‘EXIT_SAPLV50R_CREA_001’ will be used to populate the data into the new fields created in the BAPI structure and the new fields added into the tables LIKP and LIPS.
    Regards
    Shafath

  • IDoc Configuration for Production Order Creation and Change

    Hi All,
    Please Help me out for IDoc Configuration for Production Order Creation and Change
    I have found the IDoc for Production Order
    Messgae Type : LOIPRO and IDoc type : LOIPRO01
    Actually my requirment is to send the (LOIPRO01 )IDoc from SAP R/3 to XI system ,when ever the Production Order Created and Changed,
    I have done following Configurations:
    1. RFC Destination created for XI system
    2. PORT was created for XI
    3. Partner profile created WE20 and LOIPRO01 IDoc is added in OutBound Perameter.
    I need to know how to do the followning.
    1. How do i configure the outbound Production order idocs when Production Order is created or changed.
    2. in NACE (Output control) which is the Application for Production Order.
    3. How can I set IDoc as output Type for Production Order Creation.
    Thanks in advance
    Dhanabal T

    Hi Michal,
    I know that it is the old thread but still want to get clarified from you out of curiosity.
    Unlike other IDOC, i actiavated change pointers for LOIPRO
    1.message and idoc type is linked
    2.function module , message type , idoc type is linked
    function module used is CLOI_MASTERIDOC_CREATE_LOIPRO
    3.BD64, distribution model is created and distributed
    4. port and partner profile is in place.
    5. IDOC is not getting generated after creating the process order.
    do we need to activate the change documents for the message type in BD52,
    if yes can you please provide the object types for the same.
    or i am missing something else. please guide me in this regards.
    Thanks in advance for your time.
    S.Janagar

  • Production order creating without BOM and Routing

    create the production orders without bom and routing
    they confirm the order
    they want to stop confirmation if production without bom and routing
    is it possible to set error or warning message
    my first doubt is how can we confirm the order without bom and routing
    i think it can be solved by production order type
    please reply

    Hi,
    You can make it mandatory by following ways :
    Go to OPPQ -> Select your plant-> Go to BOM / Routing Selection in that you need to maintain BOM Sel ID & Routing Sel ID which is having selection ID with usage 1 Production which will make it mandatory to create BOM & ROuting with usage 1 & need to be selected while creation & saving Production ORder.
    Also, you can maintain another config. for making routing mandatory at Order type level :
    Go to OPL8 -> Select Plant & Order type-> Routing Selection
    Maintain 5     Routing/ref. op. set mandatory (manual selection)
    or          6     Routing mandatory (automatic selection)
    This setting will ensure without routing your order will not be saved.
    Hope this helps.
    Regards,
    Tejas

  • Production Order Number and Batch Number same during order creation

    Hi All,
    I wanted to keep the Production Order number and Batch Number same during creation.
    How I can do that during creation of order only. So during creation same number to be get assigned automatically in the background.
    One thing I can maintain ; the same number range for both.
    But how to activate other functionality.
    Regards,
    Amit

    Hi SAP2511,
    For Production order-
    1.You can define a Order type  and  Mantain the number range same as batch number range (in  OPJH transction)
    For Batch
    1.Activate Automatic internal batch assignment - (OMCZ)
    2.Number range for batch - for object - BATCH_CLT - (OMAD)
    For batch creation at time of Order creation -
    You can create Automatic batch at the time of order creation or order release
    1 Create Production scheduler Profile(OPKP) and assign in Work scheduling view of material master for which you want to create batch at the time of order creation or release.(Select automatic batch creation at the time of release or creation in OPKP)
    Things to be taken care -
    1 . What if you set deleation flag for order?
    Regards
    Girish
    Edited by: girish khobare on Aug 20, 2010 9:31 AM

  • 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

  • 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

  • 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

  • Block Creation of Production order Unless released in Order.

    Hi Experts.
    we have a requirement where we want to block the creation of production order inless it is confirmed. Is there any User exit / or anyother indicator where i can define or configure so that the MRP run and also the Creation of the production order can be block for a sales order.
    Plz advice.
    Thanks in Advance
    Rishi

    Hi
    But Manually it does allow the user to create Production order .
    I want unless, Say the delivey block at item level is removed , User should not be allowed to create the production order for the relevant line item of the sales order.
    Any more suggestion
    Thanks
    Rishi

  • Exit/Badi in the transaction of production order create or change (CO02)

    hi all,
    I need an exit/Badi in the transaction of production order create or change (preferably during SAVE).
    I want to change structure AFVGD-usr02,AFVGD-usr03 .
    <b>PPCO0007 Exit when saving production order</b>
    the exit is not applicable EXIT_SAPLCOZV_001 .

    Hi
    we around 200 exit for this tcode i found only three badi for this tcode.
    AFABD_CHANGE          Change Relationship
    CAUFVD_CHANGE        BAdI: Overall Network Scheduling with Selection Option
    SIDAT_UPDATE            Change date of price simulation.
    check with this goto se18 and F4 thn give the Package as CO.enter u get this three.
    reward pointd if use full

  • Automatic creation of production orders via planned orders

    Hello experts!
    is there a way via customizing to trigger an automatic creation of production order from a planned order when the planned order finished date is within the next week?
    thanks

    David,
    Not in customizing.
    Most people create a job step after the RMMRP000 program step in their MRP job, using program PPBICO40.  Dynamic date range is available as a selection criteria against the opening date, which is the standard criteria for selecting and converting planned orders (not finish date).
    Best Regards,
    DB49

  • Regarding production order closing and demand closing

    Hi Gurus,
    I am new to pp module..
    I have the requirement on production order closing and demand order closing.
    The requirement needs plant,reuirement plan no ,basic finish date and percentage in selection screen.
    In the output display plant,requirement plan no,PIR No,order,order finish dat ,***.order qty,***.delivered qty,qty difference,percentage%,order status as in alv grid display.
    And in the output it has 2 buttons named technically complete and demend close .whener user click on first button system should take all the orders which r selected to the program with the same reuirement plan as for the selected order and then technically close all the orders with the same reuirement plan number.
    when user clicks on demand close button,system should take the respetcive requirement plan number,order finish date and material and it has to take the pir no which match the above and deactivate the pir and save.
    I need the help about this.
    Thankx in advance.

    Dear Chandu,
    First settle the production order using the T Code CO88,and then close the production order.
    Prerequisites
    Prerequisites for setting the CLSD status are:
    The order must have the status Released (REL) or Technically completed (TECO)
    The order balance must be 0
    There can be no open purchase requisitions, purchase orders or commitments
    There can be no future change records from confirmation processes
    Regards
    Mangalraj.S

  • 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

  • Header Material Repeated during creation of production order

    Sir,
    I have defined bom as one component and 3 co product.
    During creation of production order in operation overview i found header material is repeated in components.
    Pl. suggest me where i have made mistake.
    Regards,
    Vivek

    Hi
    Check whether BOM is recursive or not? also check the movement type against the header material.
    Also check in CO03>Goto> Material list
    Regards
    Anupam Sharma
    Edited by: anupam sharma on Jan 30, 2012 12:17 PM

Maybe you are looking for