Planned qty Not Editable

Hi,
I am making production order for 120 qty . Here there are three status is Planned, Released, Closed. Once i release the status nobody not able to change the planned qty . Already i tried FMS method . For Example create header level UDT field then put FMS on this. but it is not useful for me . So any other method is there .. Can we possible to block through Store procedure?? Please find my attachment

Hi,
1. Create header level UDF for production order.
2. Assign below FMS query to this UDF.
a) SELECT T0.[PlannedQty] FROM OWOR T0 WHERE t0.docentry  = $[OWOR.docentry]
b)  set it auto refresh when production status changed
3. Add below stored procedure to block change of planned quantity
IF @transaction_type in ('U') AND (@OBJECT_TYPE='202')
BEGIN
If exists (SELECT t0.docentry FROM OWOR T0 WHERE T0.[PlannedQty] <> T0.[U_test] and  T0.[Status]  = 'R' and T0.DocEntry =  @list_of_cols_val_tab_del )
Begin
SET @error = 10
SET @error_message = 'Not allowed to change planned qty in released status'
End
End
Hope helpful.
Thanks & Regards,
Nagarajan

Similar Messages

  • Planned Qty not updaed in KKAQ

    Hi,
        We have created a production order and entered the qty as 10. After that partial confirmation is done and WIP calculated. Now during month end when we ran the report KKAQ, it is reflecting both Planned qty and GR qty as ZERO.
    Can anybody let me know how system updated the Plan qty and GR qty in KKAQ reprot. is there any OSS note which provide the more details on KKAQ report or is it link with confirmation/system status.....
    Does the plan Qty in KKAQ will update immediately after the Prodcution order creation......
    Please suggest......
    Regards,
    Sree......

    Can anyone pls suggest on this.....

  • Sales order item Qty check with sale plan qty

    Dear all
    How its poosible  - While creating sales orer system should  check sales order item qty, delivery date    with sales plan qty  for that period. If total sales order requirement qty greater than sales plan qty then system should give error msg.  System not consider stock & inward / outward mvt . only check plan qty.
    in details
    1>  Create Weekly sales plan   -  w.r.t  Material & Plant   -  ( T code u2013 MC87 )
      Eg .   Material  - FG001   , Plant 1001  ,   Week 11.2011  -  2000 Kg 
    2>  Now creating sales order . system check  sales order item qty  & plan qty as per delivery date or week
    Eg .  i> Sales order  no. 1 -  delivery week  u2013 W 11.2011   , item u2013 FG001 ; Plant u2013 1001 ; Qty u2013 1500 kg 
    Requirement :  System check u2013 delivery week u2013 11  according to that  sales plan qty for that material & plant is  2000 kg ;
    total actual  Sales order qty =  1500 kg . so condition is fulfill  system allow to create sales order.
    Eg. ii> Sales order no. 2 u2013 Delivery week u2013 11.2001 ,  item u2013 FG001 ; Plant u2013 1001 ; Qty u2013 1000 kg 
    Requirement :  System check u2013 delivery week u2013 11  according to that  sales plan qty for that material & plant is  2000 kg ; total actual  Sales order qty =  1500 + 1000kg =2500 kg .  so condition is failed  , ( sales requirement qty > sales plan qty ) system should not allow to create sales order, gives error msg.
    Thanks & Regards
    Pramod

    Hello,
    I have made something like that, to replace the defaut Check by one that check purchase order shipping date.. Here is a exemple code for trapping :
    You must place it in SBO_Application_ItemEvent
    if ((pVal.FormTypeEx == "139") & (pVal.EventType == SAPbouiCOM.BoEventTypes.et_VALIDATE) & (pVal.ItemUID == "38") & (pVal.ColUID == "11") & (pVal.Before_Action == true) & (pVal.InnerEvent == false))
                    CheckAvailability();
    Don't forget to disable the SBO Check Availability in the document's config form.
    Sorry for my poor english and good luck
    Chris.
    Message was edited by:
            Christophe Vuignier

  • 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

  • Planned order not getting generated for FG

    Dear Experts,
    Planned orders not getting generated for the Finished Goods - X which is having MRP Type M0 - MPS fixing type strategy group 20 which is copied fron another FG - Y , its a new product and production plan has been updated through MC88 - Rough cut planning but the planned orders are not getting generated.
    And for the material valid production version exists with selection method 3 and individullcollective as 1.
    Please let me know what might be the possibalities and what all the key fields i need to check.
    Thanks & Regards,
    Sampath
    Edited by: sampath s on Jul 13, 2011 11:31 AM

    Dear,
    In general MPS is run for High value items ( if you use like Gold , Platimum or A class items. ).
    Always only single level is used for Explosion and planning. then only you can analyse the requirements at each stage before procurement.
    Otherwise if you run MPS to multi level, Bottom most high value will be procured without any notice to authorities. Even you may cancel the process in mid way. At that time what will happen to the procured high value material.
    So for that purpose only single item single level MPS concept is evolved.
    Fo that you run MPS at single level so that only for the first level MPS will be carried out.
    Check and revert back.\
    Regards,
    Alok Tiwari

  • Error in Backup - This plan dose not include any itmes to back up

    Apple re-installed my OS 10.3.9 on my G5, but now my iMac backup dose not work.
    For my backup plan
    This plan dose not include any items to back up!.
    The Back Up button is grayed out,
    How do I add items to the backup plan?
    I was backing up before the OS re-install

    Thanks. I hadn't seen that before and I'll have to look into it a little more. The one thing that has me wondering is the part where they state that the iPod touch is now supported "for iPod to computer transfers only". I would think that given the nature of the product there would have to be some way to transfer the data back to the iPod... I might have a look at the demo version after work here. I guess the obvious question is; have you used this with an iPod touch and had success?
    Edit: Just noticed this seems to be a Windows product only so it won't actually help me. Thanks though.
    Message was edited by: rael

  • 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

  • Supporting detail disappeared and the could not edit

    We have a planning app (v 11.1.2.2) and one user told me he entered some data into supporting detail for one cell. After he save it and the cell data became 0. And he could not edit that cell anymore. Tried to editing supporting edit for that cell brought back a blank page. I tried that cell and although the data is 0 and I could not update supporting detail either. It just brings a blank page for supporting detail. User can still enter and edit supporting details for other cells. I can think of a couple things to do:
    1. Check the relational db and delete the supporting detail for that cell.
    2. Restart Planning services to see if that fixes it.
    But before I do that, I want to know if anyone of you encounter the same thing or not. And is there any other way to fix that.
    Thanks

    Thanks! That icon color is barely visible. I never noticed it was there! I need to change it to more contrast color.

  • Planned qty in Cost analysis

    Hi ,
    We are follwoign PER settelement with Production orders.
    1.  When we create Production order and save Planned qty and Act qty (zero) is not getting updted at the time of save.
    2. Target cost is zero so that i could not calculate variances.
    can you please help.
    Thanks,
    Sudha

    Hi Umapathi,
    Thats fine.
    My concern is when we save the production order the order qty will be updated in Planned qty tab of Cost analysis right, thats not happending.
    Yes Actual qty will be udpated at the time of GR or confirmation i know, but while saving the order Act qty will be as '0', even that not happening now .
    Both columns are blank.
    Kinldy reply.
    Thanks,

  • (bug?)Movie clip contains an object with a z value will not edit the object in place, it goes into a seperate window.

    When a movie clip contains an object with a z value, I can not edit the object in place, it goes into a seperate window.
    This changes the vanishing point relative to the movieclip instead of the stage (allong with everything else).
    This makes it very hard to keep track of where the movieclips will end up when actualy playing the animation.

    I should have explained my situation a little better. I have a machine that's made up of a number of parts, some of them are fairly large and some are quite small. When a user clicks on a part, I want to center that part on the screen and then move whole machine toward the screen until the selected part either fills the screen (for the larger parts) or the part bumps up against the front clip plane (for the smaller parts).
    I didn't think of checking for a collision with the ViewPlatform's TG, thanks for mentioning that. I wasn't sure how the ViewPlatform's location relates to the clipping plane, but I'll dig into it. I'm still learning how the ViewingPlatform, the image plate, and the clipping planes all relate to each other.

  • Planned quantity not updated in the report.....

    Hi,
    We have created a production order and entered the qty as 10. After that partial confirmation is done and WIP calculated. Now during month end when we ran the report KKAQ, it is reflecting both Planned qty and GR qty as ZERO.
    Can anybody let me know how system updated the Plan qty and GR qty in KKAQ reprot. is there any OSS note which provide the more details on KKAQ report or is it link with confirmation/system status.....
    Does the plan Qty in KKAQ will update immediately after the Prodcution order creation......
    Please suggest......
    Regards,
    Sree......

    Hi
    In MC7F choose the info S025 and click on details
    There in System parameters remove the tick for "key figure restricted DB update:off" if selected.
    Probably this may be the reason for your Problem
    Regards
    Brahmaji

  • Cost Planning Details not reflecting in new version

    Dear Experts,
                        .  We created the 'NEW' version . But we want to copy cost planning from u201C0u201D version to u201C1u201D version. For
    this we are executing u201CCJ9BSu201D t-code but after executing this, only cost
    are getting copied. Detail Planning is not getting copied.Kindly look into the matter and helpful solutions are

    Dear Experts,
    . We created the 'NEW' version . But we want to copy cost planning from u201C0u201D version to u201C1u201D version. For
    this we are executing u201CCJ9BSu201D t-code but after executing this, only cost
    are getting copied. Detail Planning is not getting copied.Kindly look into the matter and helpful solutions are.
    i.e
    1 I planned material costs in .Cj40 > Primary Cost > Edit >Detailed Planning >Change
       Here we maintain material cost, service cost, BPO etc
    2.When we copy the version from '0' to new version which i have created copying the 1 version.Or say '0' version to '1' version then material cost is not reflecting in new version cost planning after CJ9BS.

  • Benefit plans do not appear in HRBEN0001 Enrollment

    Hi all,
    I have set up a Health plan following the standard steps (assign health plan attributes, plan options, create cost rules, create benefit program). However, when running HRBEN0001 for an employee in the same Benefit area/1st & 2nd program grouping, the plan does not show in the offer.
    I also ran Configuration Consistency Check but see no warnings/errors.
    Please advise what might go wrong. Thanks!
    Edited by: tommyford on Apr 15, 2011 9:50 AM

    As I am testing around, I set up a health plan under a system standard benefit area and it shows in HRBEN0001 (in fact, we don't need to create Adjustment reasons for this to work in case of Open enrollment).
    Then I try copying this benefit area to a new one, but again under the new benefit area, no plans show for enrollment.
    Can someone advise when we use Copy benefit area, what data are copied and what not? From that I think I can figure out what's wrong.. Thanks for all your help!
    Edited by: tommyford on Apr 18, 2011 11:09 AM

  • Delevery Qty. not avalable in case having two customer for same item

    Hi Experts
    I am facing a problem , delivery qty. not available in VL01N in case where I have two sales order for the same item . There are two customer for the same item. Material is available in unrestricted use but it does not show against one sales order but show in second order. I have  01 availability check, SL-CP and Rq Ty -KSL. Please guide how to solve this problem.
    Regards
    Parkash chand

    hi,
    Steps 1: Use T-Code: MM03 and check in MRP 3 Material Availability check = 02 or not.
    Steps 2: if your sales order material planning CN= No MRP then
    First check: during sales creation Sales Order Autometically check ATP or not. here Sales Order, Order Qty wise Confirmed Confirm Qty reservation by ATP.
    ATP will shown you how many qty reservation against a sales order for delivery.
    Two sales order, same customer does not fact, fact is sales order wise confirm qty reservation for delivery. Also check material available date and schedule line. if every this is fine then sales order qty wise must be delivery qty should be open for delivery.
    else
    your sales order material planning CP= MRP then make prodcution against the specific sales order then sales order wise seperate stock should available for delivery.
    thanks
    Md. Enayet Hossain

  • Error "Invalid or Could not find module configuration" and "Required application module HyperionPlanning.planning is not configured

    Dear
      I use version 11.2.1, try to open an application one by planning and workspace is the error below.
      "Invalid or Could not find module configuration" and "Required application module HyperionPlanning.planning is not configured"
    I checked the oracle site, but the suggested solution is not possible because using the OHS and found the file HYSLWorkers.properties.
    Solution
    On the server que hosts the Apache component:
    1. Navigate to HYPERION_HOME%% \ common \ httpServers \ Apache \ 2.0.59 \ conf
    2. Edit the file named HYSLWorkers.properties,
    3. Locate the entry starting with "worker.HP__8300.port"
    4. Set its value to the value of the Planning web application's listening port incremented by two,
    5. Save and close
    6. Restart Apache only
    Anyone have any suggestions?

    If restarting the services does not help, run the EPM configurator again and configure foundation web server again then restart services and try logging into workspace
    Cheers
    John
    http://john-goodwin.blogspot.com/

Maybe you are looking for