To restrict Issue for production than planned qty in production order

Hi Experts,
In my scenario, the production staff will prepare production order and right click in production order document and select "Issue Components" option to Issue raw materials for production floor. After issuing the raw materials to production floor closes the "Issue for Production" document and now we have "Production Order" document open in screen. When he again select "Issue Components" option and issues the raw materials once again. Materials are issued once again wrongly. This happens since the production order document is not getting refresh after "Issue for Production" document is done.
Is there any way to restrict issue of raw materials than the planned qty.?
I have tried lot of ways to restrict this through SP. Please revert me an solution to this issue.
The procedure should trigger immediately when the "Issue Components" option is selected second time (If the raw materials are issued in full in first time itself). And it should allow only the qty which is to issued to production order qty (if they issue part issue to production order)
Thanks in advance
Raja.S

Hi Neetu,
Thanks for your quick response. I have tried this query. But it is not blocking the issue for production document even the raw materials are issued already for the production order.
I'll explain my work flow again. The Production staff will prepare production order and then release the same and update the production order after changing  the status for "Release". Then he will right click the Mouse button and select "Issue Components" option and perform the Issue for Production process. He will issue the required raw material completely in one shot and add the Issue for Production document.
After adding the Issue for Production document he will close that document and now we will be in Production order document. Now our production order document will not get refreshed. Now the Production staff go for "Issue components" option, then it should not allow him to issue the components once again. But it is allowing him to issue components any number of times. there is no control.
If we browse the production order document to previous record and browse back to the same record then my Production order document get refreshed and now we can control the issue. But what should i do to control in the earlier case. Since they want to perfrom lot of production order, there is a chance to issue components for same production order more than one time before the production order document get refreshed.
Please provide me the SP to control this scenario.
Thanks in advance.
Raja.S

Similar Messages

  • GR Qty more than Delivery Qty in Production Order

    Hi
    there are a amazing Production order that GR Qty more than Delivery Qty of finished goods in this production order.
    there are some data in this production order as below:
    Order Qty = 2680
    Delivery Qty = 2680
    Tolerance = 0
    However, to my surprise, Material documents list there are 3500 Qty has been received related this production order. I have check all material documents related this production order. the total GR Qty is 3500 more than 2680.
    I know when I do GR for this production order if Total GR Qty exceed Order Qty, So, SAP will not allow me to do. because the Tolerance = 0.
    Anybody can tell me, how to deal with this error?
    Thanks
    Henry

    Hi Henry,
    If you do not want to restrict the quantities while confirmation, make the changes as required.
    Related to Material master, work scheduling view the under/over delivery tolerance should be zero and unlimited delivery tick should not be active
    While creation of production order (if manually created) under delivery or over delivery tolerance should be zero and unlimited delivery tick should not be active.
    regarding configuration, in OPK4 for plant and order type the following confirmation parameters are to be maintained
    Hope this will solve yours, come back if required.
    with regards
    Ram Kumar

  • Itunes store does not open in my computer. I need help...I have worked on this issue for more than 10 hours. I am about to return my new ipod touch.

    I do not have access to itunes store. I tunes store was working well with my old ipod with 30GB wich i had for about 6 years. I went to the store to have the battery replaced. However, I was told that my ipod was ready to be recycle. I received 10% discount to buy an ipod touch with 60GB +. When I connected the ipod touch to my computer, i did not have access to itunes store. Also, none of my music was synced. In addition, the icon for my ipod showed that the battery was not charged even though I charged the ipod touch for more than 8 hours prior to conneting it to the computer.
    I have installed the latest version for itunes 10.6.1. Still I do not have access to itunes store. I have put more than 10 hours trying to solve this issue. I have become frustrated and ready to return my purchase.
    Please help

    Here is what worked for me:
      My usb hub, being usb2, was too fast. I moved the wire to a usb port directory on my pc. That is a usb1 port which is slow enough to run your snyc.

  • Capacity requirement for long term planning and make to order planning

    hello,
    anybody please guide me.
    my client using make to order scenarion and we are doing regulaly MRP run is MD50 with refernce to sales order.
    sales orders planning will follow for 2 to 3 months.
    at the same time my client wants to do long term planning also. to analize the capacity.
    for that he is creatind planning scenario and multi level planning with MS02 also.
    But the problem is when they are checking capacity requirement in cm38 it is showing only planning scenario load only. my client wants existing load and longterm planning load also. so they can plan the planning is sutibale in existing plan.
    so how can i get both plan in CM 38or is there any other T.code to get that data.
    please suggest me
    Thanks & Regards
    Bhakta

    Hi Pierre and Rajesh,
    When we create the simulation version, you have the possibility to choose the short-term planning. My point of view is, you can use the LTP fonction to do your scheduling for ex the next 3 months.
    I think it's what Pierre did. Am I right ?
    between to scheduling scenario to deliver my customer. With the simulation mode I can do my scheduling + use the MRP simulation to check if the raw material are available or not. Then use the MD04 to do the comparaison (or MS04 to compare between 2 scenario).
    But I found 2 problems :
    First : I don't find the parameters to show in the graphic MFS0, the planed fix order (I can only see the process order)
    Second : When my scheduling is finished, I want to update my operational planning with the simulation version. But I don't want to do article by article : when you have 400 references (raw mat, packaging, finish goods)  it's impossible (same issue like Pierre)
    Have you found a solution for this 2 points ?

  • BAPI or FM for changing billing plans of a sales order

    Hi guys,
    I tried the FMs BILLING_SCHEDULE_SAVE and BILLING_SCHEDULE_MAINTAIN for updating the billing plan of an SO but it doesn't work. Tried adding coomit work after calling the FMs but didn't affect the results.
    Can anyone provide me with a BAPI or FM for updating the billing plan?

    Below is a sample code.
    I am able to delete the details....
    Take a look...:)...imp to add wait for few seconds
    REPORT z.
    PARAMETER: vbeln TYPE vbak-vbeln.
    PARAMETERS: fplnr TYPE fplnr.
    DATA: t_zfpla TYPE STANDARD TABLE OF fplavb WITH HEADER LINE.
    DATA: t_zfplt TYPE STANDARD TABLE OF fpltvb WITH HEADER LINE.
    DATA: t_fpla_new TYPE STANDARD TABLE OF fplavb WITH HEADER LINE.
    DATA: t_fpla_old TYPE STANDARD TABLE OF fplavb WITH HEADER LINE.
    DATA: t_fplt_new TYPE STANDARD TABLE OF fpltvb WITH HEADER LINE.
    DATA: t_fplt_old TYPE STANDARD TABLE OF fpltvb WITH HEADER LINE.
    *DATA fplnr TYPE fplnr.
    IF NOT vbeln IS INITIAL.
      SELECT SINGLE rplnr INTO fplnr FROM vbak WHERE vbeln = vbeln.
    ENDIF.
    CALL FUNCTION 'BILLING_SCHEDULE_READ'
      EXPORTING
        fplnr = fplnr
      TABLES
        zfpla = t_zfpla
        zfplt = t_zfplt.
    LOOP AT t_zfpla.
      MOVE-CORRESPONDING t_zfpla TO t_fpla_old.
      t_fpla_old-updkz = 'D'.
      APPEND t_fpla_old.
    ENDLOOP.
    LOOP AT t_zfplt.
      MOVE-CORRESPONDING t_zfplt TO t_fplt_old.
      t_fplt_old-updkz = 'D'.
      APPEND t_fplt_old.
    ENDLOOP.
    BREAK-POINT.
    *CALL FUNCTION 'BILLING_SCHEDULE_SAVE'
    TABLES
       fpla_new = t_fpla_new
       fpla_old = t_fpla_old
       fplt_new = t_fplt_new
       fplt_old = t_fplt_old.
    DATA fpltr TYPE fpltr.
    CALL FUNCTION 'BILLING_SCHEDULE_MAINTAIN'
      EXPORTING
      I_FPLA           =
      I_FPLT           =
       i_upd_fpla       = 'X'
       i_upd_fplt       = 'X'
        i_fplnr          = fplnr
    IMPORTING
      E_DATALOSS       =
      E_UPD_FPLA       =
      E_UPD_FPLT       =
       e_fplnr          = fplnr
       e_fpltr          = fpltr
    TABLES
        fpla_new = t_fpla_new
        fpla_old = t_fpla_old
        fplt_new = t_fplt_new
        fplt_old = t_fplt_old.
    WAIT UP TO 2 SECONDS.

  • Restrict Goods Issue for Reserved Stock

    Hi Experts,
    My requirement is to restrict goods issue of stock qty which is reserved.
    For that i have created checking rule and assigned to MIGO_GI because we need to consider only reservation .
    Now when i create manual reservation system gives msg as per config.
    e.g current unristricted stock is 100 qty
    manual  reservation  created for  10 qty
    System gives msg if i issue material more than 90 qty. It is working properly
    Now pb is system is not considering reservation created by  process order confimation.
    I already assing checking rule with Checking grp for availability check and also set properties.
    in include dependant reservation i set - x - Include all reservations.
    I need to restrict goods issue for reserved stock for reservation created by process order.
    Thanks in Advance
    Janak

    Hi Janak,
    When a reservation is created automatically or manual, it will depicts the requirement of the material for the specific department/process. BUt it doesnot restrict or label the material as reserved. This is because the acutal requirement/consumption may vary from the reserved quantity. Also the stock still remains in the un-restricted stock and hence its open to be issued.
    Now if you want restrict the stock for automatic reservation, then you can make an enhancement wherein the stock is moved to required stock type. But this will block the stock for the order even if it is not required.
    Regards

  • Want to Prevent Inventory Transfer More than Planned Quantity

    Dear Experts,
    I want to Prevent Inventory Transfer More than Planned Quantity. so that No one can Post any Issue for Production More than Planned Quantity has Assigned that Production Order. Using SAP Business One B1 .
    Please Advice ......
    Thanks In Advance ,
    Ajibul Hakim

    Hello Gordon,
    Thanks for your Reply . I want to Prevent Inventory transfer , which will Exceed the Planned Limit. but yesterday I Have Tried Myself again and I have succeed ! so thanks you again ,
    Also thanks to Nagarajan for your kind reply and i wanted to do like that but I want to restrict Inventory transfer...
    I have Done Like this....
    IF @object_type='67' 
      BEGIN
      IF @transaction_type='A' OR @transaction_type='U'-----Add
          BEGIN
            IF exists(SELECT * FROM  WTR1 T0
          LEFT JOIN OWTR T1 ON T1.DocEntry=T0.DocEntry
            WHERE  (T0.U_PlanQTY<(T0.Quantity+T0.U_TotalIssue)) AND T1.U_OrderType='100'
                         AND T0.DocEntry=@list_of_cols_val_tab_del)
            BEGIN
             SET @ERROR=1
             SELECT @ERROR_message = N'Issued Quantity Can not More than Planned Qty ,Check again and reconfirm please '
            END
          END   
       END
    Thanks,
    Ajibul Hakim
    Message was edited by: Ajibul Hakim

  • No Recieving more than planned Quantity

    Hi All,
    My client want that no user can recieve FG more than planned Quantity in Production Order. I Put a query in SP_Transaction Notification but its not working.
    IF (@object_type = '59' AND @transaction_type= 'A')
    BEGIN
    If exists
    (Select p.Type
    From OIGN b
      inner join IGN1 bs
         On b.DocEntry=bs.DocEntry and bs.LineNum=0
      inner join OWOR p On p.DocEntry=bs.BaseEntry
    Where b.DocEntry = @list_of_cols_val_tab_del
       and p.Type= 'S'
       and bs.BaseType=202
       and p.PlannedQty< p.CmpltQty )
    Begin
    set @error =1
    set @error_message = 'You can not Complete more then planned !'
    End
    Regards
    Piyush

    Hi Piyush,
    Try this:
    If (@object_type = '59' and @transaction_type = 'A')
    Begin
       If (Select CurSource From OIGN Where DocEntry = @list_of_cols_val_tab_del) = 'L'
       Begin
          If((Select Sum(Z.Quantity) From IGN1 Z Where Z.DocEntry = @list_of_cols_val_tab_del) > (Select PlannedQty From OWOR Where DocNum = (Select A.BaseRef From IGN1 A Where A.DocEntry = @list_of_cols_val_tab_del)))
           Begin
                  Select @error = 1
                  Select @error_message = 'Quantity Exceeds Planned Quantity!!'
          End
       End
    End
    Thanks,
    Neetu

  • Restrict issue of non valuated materials

    dear experts,
                             Is there any way to restrict issue of non valuated materials against a production order.
    Regards,
    krishna mohan

    sir ,
         After discussing with u about the issue again i discussed with my pm and got the exact requirement,
    what exactly he want is the price of the material is 0 zero , it should not be allowed to be issued against a production order.
    please tell me if we can do with configuration  which is the best way or else we have to use  any exit.
    if we use exit  we will check in MBEW table and field verpr, if the verpr field value is  0 zero then we will not allow else we allow the material to be issued.
    regards
    krishna mohan

  • Issue more than Planned in Production Order

    Hi All,
    I have a problem with 2007B SP00 PL11 for Issue for Production.
    In 2005B, I can issue the BOM Components more than planned. But in 2007B version, I am unable to issue more than planned. When I right-click at Production Order to Issue Component or at Issue for Production and copy from Production order. no items are displayed.
    I have already issued in full at the 1st issue. Then subsequently, i need to issue some more qty for certain components. But i am unable to do that.
    Has this feature of issue more been changed in 2007B?
    What other method can be adopted without changing the planned qty?
    Please advise.
    Regards
    Jessie

    Hi guys,
    Thanks for the fast response.
    Duplicate the previous issue to create the over-issue is not a good solution. It is very troublesome. itis not a good procedure to ask customers to do this step.
    Changing of the planned qty will mean that i am not able to trace my initial plan and have to go back to the BOM. again, this is not logical. especially when the queries are using figures directly from production order tables.
    Since it can be done in 2005 version, why is SAP taking it out this feature in 2007?

  • Restriction for Miro qty excess than PO Qty ( Import Po )

    Hi ,
    We have new requirement for import PO
    While doing advance Miro against import PO ,system should not allow miro more than PO qty or PO value .
    Please let me know , if any badi or user exit can be used in this...!
    Thanks ,
    Pradeep

    Hi,
    Go to OMRM and set the message 087 (Invoice quantity greater than PO quantity) (item without GR) as an error.
    also you can set message 504 (Quantity invoiced greater than goods receipt quantity) as error message
    Regards,
    Manish Jain

  • WS Error - Planned Qty should be greater than Completed + Rejected Qty

    Hi All,
    We've tried to close a Production Order using the ProductionOrdersService Web Service.  We're doing this by setting the Production Order Status flag to closed (boposClosed).  The call also requires us to re-set the due date so we do that to the same value.
    When we perform the call we receive the following exception:
    "Planned Qty should be greater than Completed + Rejected Qty  [OWOR.PlannedQty]"
    It's interesting to note that we've tried to close the production order with different items and everything seems to point towards an issue with the items, however, we're not really sure what is triggering the error.  We're also not sure what the error really implies as the Planned Qty is greater than the Completed + the Rejected Qty on the database.
    We're working with SAP 8.8.1.
    The code is as follows:
            // Get the current session ID first
            // Create message header object with value..
            SAPProductionOrdersService::MsgHeader^ localMsgHeader = gcnew SAPProductionOrdersService::MsgHeader();
            localMsgHeader->SessionID = sessionId;
            localMsgHeader->ServiceName = SAPProductionOrdersService::MsgHeaderServiceName::ProductionOrdersService;
            localMsgHeader->ServiceNameSpecified = true;
            SAPProductionOrdersService::ProductionOrdersService ^iprodWs = gcnew SAPProductionOrdersService::ProductionOrdersService();
            iprodWs->MsgHeaderValue = localMsgHeader;
            // Set the item params object
            SAPProductionOrdersService::ProductionOrderParams^ localProductionOrderParams = gcnew SAPProductionOrdersService::ProductionOrderParams();
            localProductionOrderParams->AbsoluteEntry = ProductionOrderNum;
            localProductionOrderParams->AbsoluteEntrySpecified = true;
            // Perform the Item fetch with that information
            SAPProductionOrdersService::ProductionOrder^ localProductionOrder = iprodWs->GetByParams(localProductionOrderParams);
            // Construct a new Production Order Data structure
            SAPProductionOrdersService::ProductionOrder^ newProd = gcnew SAPProductionOrdersService::ProductionOrder();
            // Absolute Entry
            newProd->AbsoluteEntry = ProductionOrderNum;
            newProd->AbsoluteEntrySpecified = true;
            // Production Order Status
            newProd->ProductionOrderStatus = SAPProductionOrdersService::ProductionOrderProductionOrderStatus::boposClosed;
            newProd->ProductionOrderStatusSpecified = true;
            newProd->DueDate = localProductionOrder->DueDate;//     {6/9/2011 0:0:0 System.DateTime}     System::DateTime
            newProd->DueDateSpecified     = localProductionOrder->DueDateSpecified;//     bool
            // Setting lines array back
            newProd->ProductionOrderLines = localProductionOrder->ProductionOrderLines;
            // Item Code
            newProd->ItemNo = ItemNum;
            // Perform the Update of the Production Order with that information
            iprodWs->Update(newProd);
            // Since there is no return type telling us of the recent update, unless we get an exception, assume it worked
            String^ recMsg = "Close Production Order Attempt Successful.  Parameters are: \r\n" +
                             "Production Order Num: " + ProductionOrderNum;
            Log::LogInformation(recMsg);
            retVal = true;
    Hector

    Dear Gordon,
    Yes, I have checked the data in the database.  I've checked tables OWOR fields PlannedQty, CompletedQty and RjctQty and everything seems  to be in order.  I also checked table WOR1 for the production order lines.  There are two lines, one Labor and one Raw Material (regular item).  I've checked BaseQty, PlannedQty and IssuedQty but everything seems in order there as well.
    Do you know if there is a way to find out what internal piece of code throws that exception message?
    Hector

  • DTW--  How to Import  Issue for Production

    Hi ,
             How do i import Issue for Production Through DTW.
    Thanks & Regards
    somi mishra

    hello,
    why do you want to use DTW to issue for production ? You could use backflush as issue method so that you can skip issue for production job. If you have issue for production batch job which it means you want to add all the qty of RM issued to production one times and all at onces for more than 10 PO, I think it is better to use addon. You create an excel template and export the data to be txt file, the txt file imported to the issue for production form using the addon. I just compare this situation with the client request in long time ago. they request fast and not manual sales order creation from quotation. just to compare it to your situation but need your detail explanation.
    Rgds,

  • Production Order Planned Qty

    For all items in Production Order, Base Qty column multiply by Planned Quantity field at top (a constant field) equal to Planned Qty column. However, certain items in one production order shows different Planned Qty, the numbers don't add up. I looked in the PLD template and it is pulling planned qty information straight from WOR1 - PlannedQty. I am curious, where does the calculation occur? Is it better to apply calculation instead of using the WOR1 field?

    In my case, some items in a particular production order shows the wrong quantity in Planned Qty. Can I assume it's a bug in SAP 8.8? I can only found one order with this problem. The rest seem fine.

  • How to execute 261 goods issue for REM order items other than with MFBF?

    Our users are looking for an easy way to post a 261 goods issue for a single component of a repetitive manufacturing order without using the MFBF transaction where they have to deselect all other components of the order.
    The ideal situation would be to use a transaction similar to MB1C or MB11 to simply enter the planned REM order, component material id, and its respective quantitiy and then post. 
    Any information you can provide will be helpful.

    Strat,
    Thank you for your response but LT01 does not seem to provide the functionality that I am looking for.
    To clarify, our users would like to complete a 261 movement for a single component within a particular repetitive manufacturing, without going into the MFBF transaction and having to deselect all of the unnecessary components just to single out one. 
    So ideally we would like to use the MB1C transaction for a 261 movement. Enter in a REM order, the material id, and the quantity to be issued and simply post a single material.  Currently when we attempt to do this with MB1C we receive the error M7162 that our order, which is a product cost collector, cannot be processed with this transaction.
    Hope this helps clear it up and thanks again for your response.
    - Nick

Maybe you are looking for