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

Similar Messages

  • 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 , 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

  • 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

  • Set Production Order to Release status

    Hi,
    I’m trying to add a new production order through the DI API.  I’m using SAP 2005A SP01 PL 07.  I’m creating it from a sales order.  But if I try to set the status of the Production Order to Release I get a -5002 error.  If I set the status as Planned it works fine.  I’ve also tried creating it, and setting to released after the Production order has been added, which doesn’t work either.  Is there a rule for changing a Production order to Release that I’m missing?  Here is my code:
    ProdOrder.ItemNo = ItemCode
    ProdOrder.CustomerCode = oSaleOrder.CardCode
    ProdOrder.DueDate = oSaleOrder.DocDueDate
    ProdOrder.PlannedQuantity = ItemQuantity
    ProdOrder.ProductionOrderOriginEntry = oSaleOrder.DocEntry
    ProdOrder.ProductionOrderOrigin = BoProductionOrderOriginEnum.bopooSalesOrder
    ProdOrder.ProductionOrderStatus = BoProductionOrderStatusEnum.boposReleased
    ProdOrder.ProductionOrderType = BoProductionOrderTypeEnum.bopotStandard
    ProdOrder.PostingDate = Date.Now

    Tested and working code:
    ProdOrder.ItemNo = "A00009";
                ProdOrder.CustomerCode = "C0001";
                ProdOrder.DueDate = DateTime.Now.AddDays(1);
                ProdOrder.PlannedQuantity = 1;
                ProdOrder.ProductionOrderOrigin = BoProductionOrderOriginEnum.bopooSalesOrder;
                ProdOrder.ProductionOrderStatus = BoProductionOrderStatusEnum.boposPlanned;
                ProdOrder.ProductionOrderType = BoProductionOrderTypeEnum.bopotStandard;
                ProdOrder.PostingDate = DateTime.Now;
                int result = ProdOrder.Add();
                if (result != 0)
                    //Error
                    string error = SBO.DI.Connection.SboCompany.GetLastErrorDescription();
                else {
                    string lastKey = SBO.DI.Connection.SboCompany.GetNewObjectKey();
                    ProdOrder.GetByKey(Convert.ToInt32(lastKey));
                    ProdOrder.ProductionOrderStatus = BoProductionOrderStatusEnum.boposReleased;
                    int result2 = ProdOrder.Update();
                    if (result2 != 0)
                        //Error
                        string error = SBO.DI.Connection.SboCompany.GetLastErrorDescription();
                    else {
                        //OK
    The reason you attempt did not work could be if you did not do the GetByKey. This is needed since an Add just add the data to the database, but does not ready the just added object for continued work (does not provide the docEntry and other autofilled data)
    Message was edited by: Rasmus Jensen

  • Import Production orders with released status

    We are using DTW to import production orders. It allows to import as "planned" status only and not as as "released status". We have hundreds of production orders per day and its a pain to update each production order to "released" status so that it can be available for reciepts from production and thereafter after recieving the items, changing each and every production order to "closed". Please advice

    Hi Mohamed,
    please use the following for the production order status in the template.                                                                               
    (1)Planned   :-> boposPlanned                                              
    (2)Released  :-> boposReleased                                             
    (3)Closed    :-> boposClosed                                               
    (4)Cancelled :-> boposCancelled                                                                               
    Please refer to the SDK DI help file for the details information.          
    hope it helps,
    Regards,
    Ladislav
    SAP Business One Forum Team

  • Lock the production order creating without material for order type zp01

    Hi all,
    Good morning.My client wants to lock the production order creating without material for order type zp01.He does not want to create production order without material.Its very urgent.Please guide me the settings if any.
    Thanks and Regards
    Sukumar

    Hi Sukumar,
    You can do by applying user exit.
    Use PPCO0007 - Exit when saving production order.
    Function module - EXIT_SAPLCOZV_001.
    Include Program - ZXCO1U06
    Write your Code:
    *&  Include           ZXCO1U06
    Regards,
    Sankaran

  • Restricting a production order from releasing

    Hi,
    How can i restrict a production order from releasing if material is not available?
    Regards,
    samir
    Edited by: wadajkar on Jun 2, 2010 2:51 PM
    Edited by: wadajkar on Jun 2, 2010 2:51 PM

    Hi,
    In t code OPJK at material avialibility check section maintain '3' i.e. do not release if components are not avialable.
    Regards,
    Vishal

  • 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

  • Automatic creation of Production order when credit limit lock got released

    It seems that production order will be created only when the sales order is created without credit lock error from the first.
    Once credit lock happened, even if user release the lock, production order will not be created automatically anymore.
    Is there a way to change the setting so that production order will be created automatically after credit unlock?
    don't want to create production order manually every time when credit lock happens

    Hello Manish
    If you have used Standard Requirement 102 in Config T code OVB5 (Maintain Requirements For Transfer Of Requirements) , then it should behave as you wish, that is once you release the credit block,  system should create Purchase Reqs/ Planned/production orders in the background. Check what you have there and/or choose appropriately here. While here, check out OVB8 (Maintain Requirements For Purchase And Assembly Orders)  if anything needs to be done there.
    Also ensure that there are no required fields ( for production order) missing, i.e.,  required entry fields that cannot be supplied automatically for this process.
    For conceptual clarity, check out OSS note 396791 - Credit release of sales orders with third-party items which deals with 3rd party transactions but draws a parallel and mentions 'Production orders' also.

  • Batch for production order when released

    Hello Guru,
    I have a question, we on created production order, when change (CO02) to be released (green flag) new batch will be created upon saving this change for the order Change Batch display will prompt, displaying the batch number for the FG material on the order, with its Production Date (set as the date of start of order) and the Shelf Life expiration (depend on the SLED date in master data for material) this to date was automatically proposed by SAP. We would like this two date of the batch of the production order to be blocked on all modification possible, is there any set-up way we can do in order to block those date for future modifcation by some user? please help and guide us to do this.
    Thanks

    Hello R>brahmankar,
    AM interested on this An OPKP there is setting for create batch while releasing assign this profile to material master -
    i already check OPKP for our plant, in the batch management portion BATCH CLASSIFICATION was set to 1 (classification was carried out in background-all batches) and the AUTOMATIC BATCH CREATION IN THE ORDER was set to 2 (auto batch creation at order release). EXTENDED CLASSIFICATION and ALWAYS BATCH SPLIT was not tick, please how can we do this in OPKP and assign for the material master profile? please guide.
    Any help
    Edited by: Ryan on Mar 12, 2009 6:35 AM

  • Automatic creation of Production order when PP/DS planned order is CIFed.

    Hi PP Gurus,
    The requirement is when PP/DS Planned order is created and CIFed to ECC R/3, Automatically system should create Production order for that planned order. In this case, is Trigger points will serve the purpose or need to adopt for some other way? I think since APO PP/DS is in sync with ECC R/3, something SAP might have given in this regard?
    Thanks & Regards,
    Abu Arbab

    Dear Abu,
    In SPRO PPDS global parameters and defaults, you can set "create transfer events from conversion indicator".
    After this the planned order is transferred to R/3 only when a conversion indicator is set against planned order.The conversion indicator can be set through RRP3 or RRP4.  You can put mass conversion indicator.
    When such planned order is transferred, it will automatically create production order.
    Regards,
    Nitin Thatte
    Edited by: Nitin Thatte on Apr 20, 2009 4:59 PM

  • Automatic creation of production order form demand

    Dear Gurus,
    In my cycle,
    I want to copy monthly plan from EXCEL sheet through BDC to SAP System.please tell me on which screen it will upload(in md61 or some other).
    After uploading is there any option according to date wise production order should create automatically for each date separate wise.
    Thanks
    Alok

    It will come day wise only if you [split the demand|Re: Automatic splitting of MRP requirements for components] or give the demand in days. Or else while creating the Z program for upload write program in such a way that it will
    1. take the monthly requirement divide the value with no. of working days.
    2. The value got after dividing will be enter evenly for all working days.
    Regards
    Abhijit Gautam

  • Automatic creation of production order

    Hi,
    My clinte wants Auotomatically create production order whenever crate the sales order, or Auotomatically create planened  order whenever crate the sales order,
    please sugest reqire IMG Settings
    thanks in Advance
    Sriram

    Hi sriram,
    Please do the changes in SPRO.
    Material master 40 strategy is required.in MRP view.
    Path - SD > Basic function > Define requied class > (For 40 strategy - 50 is the req. class) tcode - OVZG.
      Changes - Assy type -3, Tick on automatic planning & define order type.
    Please check,Hope this will help you.
    hemant

  • Automatic creation of Production order through Project

    Hi all,
    Could you pls  explain how we can create production orders automatically through a project

    Dear Mr Smith / Rama Shanker
    I have read the reply posted by you and is very usefull . Can you please tell us the Tcode to be used for the mentioned steps in your reply .
    Also kindly help me on the following requirement .
    In our business scenario we have to define seperate budget for Material procurement and seperate budget for Manufacturing expenses .  To achieve this , one posiible option can be that Purchase Requisition (for Procurement) are generated in reference of one WBS element and PR for production order are generated in reference of another WBS element . But as FERT (material with BOM) is assigned to aan activity in one WBS element then during MRP run all requirement  (PR plus Production Order) will be in reference of the same WBS . So how can we distinguish between them .
    Or there may me some other alternate option which we are aware off .
    Kindly help us . We assure to award full points for the suggested solution pl .
    Rgds
    B Mittal

Maybe you are looking for

  • IPhoto "Last 12 months" only shows 1 month from March-April

    On August 24th I imported some film into my iPhoto. Well I finally have a chance to go edit it and it is not there. After searching for it on iPhoto and my computer and an external hard drive- all just in case- I discovered that my iPhoto will only o

  • How to use EEWB to add fields in business partner page

    Hello All I am working on CRM 5.0 EEWB I am trying to add new field in the business partner page I followed the steps for creating the project and the extension but I faced some problems 1-I chose the package BBP_BUPA_MAIN    BBP Business Partner Gen

  • 3D Shockwave Collision

    Hi guys, I have a small problem, i need to add collision to some road barriers in a driving game i am making, but i have looked on the net for some tutorials or info about it, and i can't find anything! I'm finding it pretty difficult as i may need t

  • Youtube mobile site difficulties.

    Attempting to open ANY video on youtube's mobile site brings up "this link needs to be opened with an application" with no way I can see of actually playing the content. This is true even for videos which I can play fine on the desktop site (still ac

  • Connecting to SQL Server2000 from WSAD for Web project

    I have WSAD 5.1 installed and i have to create a web project which uses sql server 2000 as data base how do i do that / can any one help me with this or atleast sent me some links from which i can get useful information