Production order creation , release and confirmation cycle

Hi All SAP Gurus,
I am trying to set Production order creation , release and confirmation cycle integrated  to  xMII.
I am sure there must be many among you who worked on this before.
So can you please share your experience.
Thanks in advance
Regards
Ritesh

Hi Ritesh,
I'll give you what I have been using:
- Transferring orders to MII
  You can trigger the orders by tcode POIT or an equivalent BAPI (BAPI CLOI_DOWNLOAD_TRIGGER_TRANS) or have the iDOC being sent automatically whenever someone creates a new production order in R/3 (using change pointers). In both cases you will receive an iDOC in XML format from SAP with the production order information on it. After receiving this file a BLS transaction will be required to read the XML file and store it in your local DB.
- Releasing orders from MII
  You can release the orders from MII using the BAPI BAPI_PRODORD_RELEASE (it will update the order status in R/3 to REL). After that you might want to update the production order status in MII local DB as well. Usually I have the bapi BAPI_PRODORD_GET_DETAIL in place in order to read the production order details whenver I need.
- Doing confirmations from MII
  After the PO was released, you can do confirmations against each operation using the BAPI BAPI_PRODORDCONF_CREATE_TT. You can send up to SAP good quantity, scrap quantity, labor/machine time, etc. It's a pretty intuitive BAPI.
If your system is not ready to do goods movement automatically you will need to use BAPI_GOODSMVT_CREATE.
This is basically what I use in this kind of project. If you have any questions please let me know.
Regards
Ricardo

Similar Messages

  • Batch Numbering vs. Production Order Creation

    Hello
    I am in a Pharma environment and have the following question / issue:
    Batches are auto created at Production Order creation/release. In several cases the batches are not numbering chronologically?
    A few givens / assumptions:
    No deletions
    No transfers
    No combinations
    This is affecting the sample assignments / sample sizes, as well the Dyn. Mod. functionality,but I pose the question straighforward as I've posted above.
    Thanks for any thoughts..
    V.

    Please search:
    Batch Numbers Skipping in Internal Number range Assignment
    Anytime numbers are skipped it is usually due to buffering of numbers which is a BASIS function and is done to optimize system performance.
    Please have BASIS look into this for the objects mentioned in the above link. Your  BASIS people should be well-acquainted with the process of number buffering across servers.
    I am howevr curious as to how not having consecutive batch numbers affect the items you mentioned like sample sizes and DMR's.  Can you elaborate on that?  I can only imagine this is due to some customization or development you have done.
    Craig

  • 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

  • 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

  • Batch no assigning during production order creation

    Sir,
    We are manitaining the batch management for inut raw materials. During production order creation it is mandatory to assign the batch no for raw materials then only production order releasing is possible.In our case due to batch assignement to production order while order creation,we are facing the lot of problems like batch no not assign for full req qty and also if unavailabilty of stock for particular batch no it will come to COGI.hereby i need experts help for,
    1.I want to determine the batch no during confirmation instead of order creation and also allow to release the production order even batch should be in blank.
    Kindly help
    Regards,
    PS

    Hi
    For Rawmaterials why cant'n you assign Batch nos buring GR of purchase order.
    Then you can do automatic batch determination during confirmation of order for mvrmt type ;261...
    This is  easy  to handle.
    Please check and come back
    Regards,
    srihari

  • Manual production order creation in MTO

    Dear collegues,
    I am stuck in a scenario:
    I have a finished item A. strategy 20 is used.I created sales order for A in plant 1000. MRP run in plant 1000 happens. Through special procurement key 40, system generates planned order in plant 2000. Planned order is converted to production order. I can see in assignment tab of production order,  Production plant is 2000 and planning plant is also 2000. Till here it is ok. I will do GR against production order in plant 2000 and through SD route I will send it to Plant 1000.
    But when I create manually production order in CO08, always system sets in assignment tab of Production order , production plant as plant 2000 and planning plant as 1000. How to avoid this? Why manual production order is not like MRP generated planned u2013production order?
    Kindly help.
    Regards.

    Give below a try in sandbox (Not from experience, so not sure if it works):
    At the time of production order creation, maintain the production plant in Sales Order & ensure the demand flow to MRP is switched off at schedule line (If you're not sure, take help of your SD person).
    The order created in CO08 should now have production & planing plant as same. Once that is done, switch back the plant in Sales Order & release the demand to MRP. (I hope the cut over plan has addressed the sales & MRP flows, so no inputs from my end)
    If the above does not work, then revert with details.

  • Automatic Locking of Production Order on release

    Dear Experts,
    When the production order is released, the order should be "Locked" automatically. When changes are required, the production order is unlocked manually and changes are done. This is our requirement.
    Is it possible to lock the order on release.
    If yes what are the settings?
    Regards,
    Jejesh

    Hi,
    Go to T.code BS02.
    - Create new Status Profile , if required do it by copy any standard one.
    - Then go to Detail screen.
    - Assign order status.For your reference I have used 2 order status.
    - CRTD - Created.Set this one as Initial one.
    - LOCK - Release and Locked.
    - Now assign Object type to this status Profile.You have to select PP/PM Order Header.
    - Now double click on Status CRTD and press New Entry tab to find and set allowed Transection.Here you have to select and restrict transaction types this status.
    - Now go to Status LOCK and double click.Then press New Entry tab.You will find the list of transactions.
    First select Transaction Release and make it as allowed and also activate radio button for Set.It will activate the status LOCK automatically after release of order.
    - Now make forbidden of all other transactions like change of order,Confirmations etc. as per your suitability.
    - You can assign any other user status also for further transaction control.
    - Then save your status profile.
    - Now assign this Status Profile to Order type using T.code OPJH.
    Regards,
    Dhaval

  • Which field gives whether production order is released or not ?

    Hi ,
                 i want to know how can we get whether a production order is released or not for co01 .
    In which table and what field needs tobe checked for aufnr  ?

    Hi Ujjwal,
    Go to CAUFV Table pass this AUFNR and get the OBJNR value.
    now call the FM STATUS_TEXT_EDIT
    call function 'STATUS_TEXT_EDIT'
            exporting
              flg_user_stat    = 'I'
              objnr            = caufv-objnr " Pass OBJNR here
              only_active      = 'X'
              spras            = 'E'
            importing
              line             = s_status " if this contains REL then it is released,
    "it can contain LCKD(Locked) TECO(Technically Completed
    DEL (Deleted ) etc
    or PCNF(Partially Confirmed for other list contact your PP Consultant )
            exceptions
              object_not_found = 1
              others           = 2.
    Cheerz
    Ram

  • Production Order creation Despite Delivery Block on Sales Order

    Hi All
    I have created a Z1-Delivery Block and assigned the block to a Sales order type.
    Now during the creation of the Sales order the Delivery block is assigned immediately the system creates  a planned order but no production order.However the business would still like the production order to be created.
    Is there a SAP standard way to allow this to happen or would I need to enhance via a USER EXIT.
    Thanks in Advance for your assistance.
    KA

    I'm not an expert, but I don't think delivery block actually has any influence on the production order. We have tried on purpose to use a delivery block to prevent the PO creation/release and had to develop a user exit for this purpose. The way it works in our system - planned order has a conversion indicator. Some standard program runs in background and converts the planned orders with this indicator into the production orders. If indicator is not set then PO is not created.
    Delivery block just prevents delivery from PGI, I don't think it even prevents the delivery creation (much to my surprise).

  • Every time system create new production order after releasing sales order c

    Hi Guru,
    FG material strategy: 82 (sales order creates production order).
    After creating the sales order it goes in to credit block. Whenever we release sales order from credit block through VKM1, system has created production order. We confirmed this production order and delivered.
    But after this sales person change the sales order value, because of which again sales order goes into the credit block and after releasing sales order from credit block system create new production order even if one production order already confirmed and delivered against the same sales order.
    *Every time system create new production order after releasing sales order credit block.
    Thanx & regards
    pnu

    PNU,
    So, to restate:
    In MD04, you have Unrestricted Sales order Stock ('E' Stock) on hand.
    In the same MRP segment, and against the same Storage Location as the stock, you have a Sales Order requirement that was recently blocked and unblocked.
    During the unblocking event, the system produced a new production order.
    This is not normal.  If the above accurately depicts your situation, I would look for an altered Strategy 82, or a userexit.  SAP ATP (the beginning event of the Strat 82 process) will normally first check for the availability of stock.  Only if the stock is not available, then it will create the new production order.
    Best Regards,
    DB49

  • 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

  • APO: RRP3 automate Production order creation from planned order ?

    Hi everyone ,
    I have got a business requirement in APO where in Open sale orders uploaded in R/3, needs to be converted to Planned order and subsequently to Production order in APO-PPDS tcode RRP3 at all stages. They want to automate this process rather than doing it
    manually.
    Can anyone tell how is this possible . Any BAPI or function module available to do this . Please help.
    Regards,
    Syed

    Hi,
    1.You need to run the heuristics Planning of standard lots SAP_PP_002  in /SAPAPO/CDPSB0 by specifying the time profile
       and  strategy profile, planning version and propagation range, product and location.
    2. Convert PPDS Planned Orders created to process orders thru /SAPAPO/RRP7 by specifying the product location start date of the order for production order creation.
    Out put of step 1- For sales order requirement, PPDS Planned orders gets created.
    Out put of step 2- PPDS Planned orders are converted to production orders.
    Thanks,
    nandha

  • IDOC/BAPI for Production order creation from Legacy system

    Hi all
    We are using an interface to create Production orders from legacy to SAP. Would you recommend an IDOC or a BAPI to create Production orders. If IDOC or BAPI then could you please mention which one?
    thanks a bunch

    Hi John,
    For your purposes, please use BAPI for production order creation from legacy system. There is no standard inbound IDoc available to use. SAP has an IDoc for outbound interface only (message type LOIPRO).
    If there is an inbound IDoc available, I would recommend to use an IDoc.
    IDoc technology has excellent error handling and will allow you to reprocess an error (if any).
    BAPI is also good approach to use and fast in term of  processing.
    For BAPI approach, you can use BAPI BAPI_PRODORD_CREATE.
    Hope this will help.
    Regards,
    Ferry Lianto

  • Notify of Production Order Creation service

    The SDN WIKI for Integration of Manufacturing Execution Systems states that...
    "Now, as of Enhancement Package 4, each time a production order is created in SAP ERP, that action automatically invokes the Notify of Production Order Creation service operation, which informs the MES system of all the details of the new production order. "
    I am not able to locate any further documentation and definition of the Notify of Production Order Creation service.   Please provide assistance on where to find documentation of this service.

    Look at these links , may get some help ....
    https://www.sdn.sap.com/irj/scn/wiki?path=/display/espackages/create%252bproduction%252bplanning%252border
    https://www.sdn.sap.com/irj/scn/wiki?path=/display/espackages/find%252bproduction%252border%252bby%252belements
    https://www.sdn.sap.com/irj/scn/wiki?path=/display/espackages/change%252bproduction%252border
    https://www.sdn.sap.com/irj/scn/wiki?path=/display/espackages/find%252bproduction%252bplanning%252border%252bfor%252bapproval%252bby%252belements%252b(SCM)
    Regards
    Abhishek

  • Blocking of production order creation

    Hi All,
    I need a help on blocking of production order creation.
    I have few materials for which deletion has been activated in material master. But for these materials, while creating production order it is allowing to create by showing some warning message. But I want to totally block creation of production order.
    Regards,
    Vijay

    Dear,
    Youneed to define for block for productio.OMS4 --> create new one material status (08) for "Blocked for Prod Order" and set the prodution.
    If u want plant specific block then do not use this indicator in basic data 1 view ,use it in purchasing alse and MRP view.
    Please check with Message No M7-127 at OMCQ. Here u can set error message
    IMG>MATERIAL MANAGEMENT>INVEN>DEFINE ATTRIBUTES FOR SYSTEM MESSAGES. message no M7127
    Change the warning message to error. Then create the production order and check.
    Or Archieve material by SARA
    Regards,
    R.Brahmankar

Maybe you are looking for

  • Can I insert file pathname in Pages 5?

    Hi, In previous versions of Pages I could put the file location in as a footer.  I can't find it on the latest version (5).  Has this feature been trimmed off or am I just not seeing it for looking? Thanks, Francis.

  • Error for decode function

    I am getting ORA-00904: "ITEM_NUMBER": invalid identifier. thanks for the help SELECT (SUBSTR (item, 1, 4) || '.' || SUBSTR (item, 5)) item_number,        idescr short_description, idescrl long_description, iunits unit_name,        ispecyr spec_year,

  • Portlet.xml

    Is there a way to update the portlet.xml dynamically? That is, add an instance of the portlet using <portlet> tag at runtime to the portlet.xml. Does the portlet container need to be bounced back so that the updates are picked up? Got to know that th

  • Import project from other drive

    Hi, I have upgraded my MacBook with an 256 GB SSD in the former combo drive place which now contains the OS, Apps and system files. The "old" 1TB HD is still there where it was but only contains media files (Music, Images and Video). I have managed t

  • Behringer UCA 202 USB connector source of static in recording Kaossilator

    Recording the Kaossilator into GB was producing intermittent static; things would begin keenly but a few bars into the tune - randomly - the static arrived. After checking myriad items such as power supply and cables I got rid of the Behringer UCA 20