Disallow saving of production order if there is error calculating cost

Hi Gurus,
We have a requirement that when saving a production order, an error message should appear if there is no planned cost for the material. As of now there is only a warning message that says "Error when calculating cost". How to make it an error message instead so the user cannot save this production orders?
Thanks a lot,
Raymond

Hi,
Develop a enhancement in BADI Workorder_update. It has two methods AT SAVE and AT RELEASE where the ABAP program can be written. You can stop creation or release  of the order if field LPLPR - MBEW is blank.
Regards,
Divraj

Similar Messages

  • No System Status Saved In Production Order

    Hi PP Gurus,
    We encountered a short dump when display production order.
    I have checked the system status of this production order from database, and there is NO record in table JSTO, JEST, etc.
    Why the status has not been saved in production order? How do we deal with the existing production order without system status?
    Appreciate any input here.
    Regards,
    SQ

    Thanks, Marcelo.
    Program ZPSFC008 works well in this case.
    This ticket can be closed.
    Cheers,
    SQ

  • Error While saving the Production Order

    Dear Experts
    Pls let me know why am getting the below error while saving the production order after release..
    PSFC_STD_LAYOUT does not exist
    Message no. SSFCOMPOSER004

    Dear,
    Please check have you assigned the scheduling profile in work scheduling view of materail master?
    Then go to OPKP check the same scheduling profile where you have activited the On realese execute printing remove this tick mark and then try with new order.
    Or you can do the configuration in Tocde :OPK8 here assign the PSFC_STD_LAYOUT in forum.
    Regards,
    R.Brahmankar

  • Run time error while saving the production order in CO02

    HI Experts,
    While i am releasing and saving the production order the system is giving the runtime error. Please help.
    Runtime Errors         UNCAUGHT_EXCEPTION
    Exception              CX_SLD_API_EXCEPTION
    Error analysis is
    An exception occurred that is explained in detail below.
    The exception, which is assigned to class 'CX_SLD_API_EXCEPTION', was not
    caught in
    procedure "GET_ACCESS_DATA" "(METHOD)", nor was it propagated by a RAISING
    clause.
    Since the caller of the procedure could not have anticipated that the
    exception would occur, the current program is terminated.
    The reason for the exception is:
    Internal error in method
    A Quick response is required.
    Regards
    Dinakar Sarma

    Hi,
    Please check below  link for your issue , it may useful
    http://forums.sdn.sap.com/thread.jspa?messageID=10815298#10815298
    Regards,
    Ram

  • Without Production order confirmation How to settle the cost of prd order

    Dear all,
    How to settle the cost production order with out production order confirmation.Any setting is there Or program.
    Regards,
    Naresh Redddy.

    Dear Naresh,
    To settle the cost of production order, you need not to confirm it. But on the same time if you want to settle the order when its not confirmed then WIP amount will be posted. WIP value will be posted if your order does not have DLV or TECO status. In your case, if you not confirmed the order, only material cost if any issued for order will be calculated, no activity cost will be calculate. And if you want to post the variance then order status needs to be either DLV (Completely Delivered) or TECO (Technically Completed). Here also the cost of activity will not be considered as you didn't confirmed the order.
    So if you want to settled the order without confirmation, then Activity cost will not be added in your settled cost. So your product costing will not be accurate.
    Please revert if you have any other doubts.
    Regards,
    Hiren Ramani

  • Conversion of planned order to production order resulting into Runtime error

    Hello Gurus
         I am trying to convert Planned order into production order in MD04,  but I am getting ABAP Runtime error; for details please see image here posted.
    Please help me to resolve the issue.
    Thanks in advance!
    # If anybody wants remote access of my system through Team viewer I am ready to share my desktop for same.
    Regards!
    AKSHAY

    Hi Akshay,
    Overflow during arithmetical operation type P COMPUTE_BCD_OVERFLOW comes when the maximum of the internal ABAP field that is 99,999,999,999.99 many be quantity, cost value UoM conversion etc.
    Please check how this UOM (unit of measure) is defined in transaction CUNI. In this transaction, you may have set the Value-based commitment indicator. This indicator controls whether commitments for the chosen unit of measure are recorded on a quantity basis or a value basis.
    Please search OSS note for this dump and also raise this to OSS.
    Regards,
    R.Brahmankar

  • Production Order missing Part list error  date 1,857 is not convertable

    *Dear Experts*
    When i m  trying to check missing part list at production Order then system is showing the error
    The date 1,857 is not convertible (please correct) in Production order Missing part list.
    Rgds
    Pankaj Agarwal

    Dear ,
    System is throwing you this message beacue your FC calander is vaild till 2010 and asking you to put the date btn  FC valid from 2004 and FC valid to 2010.
    Goto -OP03-Select the Factory Calnder Tab in change mode  (pencil mode ) -Select the applicable calender  chek box-Double click this -Extende the validit date till 2020 or beyond so that u will not face not only in this particular issue but in many other txn later on .
    Agian -come back to OP03 main screen -Slect the Holiday calaner -Extende the same way  and reassing in Factory calander
    after this , do not forget to re-ssign this FC in respective plant in OP03-Plant assingment .
    Try and revert back
    Regards
    JH
    Edited by: Jiaul Haque on May 27, 2010 3:14 PM

  • Check to restrict release if there is error in cost calculation

    Dear all,
    I want to have check that production order cannot be released if error is there in cost calculation(CSER)?
    How this can be possible?
    Is there any direct way possible? Please reply me in detail.
    Thanks,
    Vijay Modasiya
    PP Cons.

    Vijay,
    Create a new user status profile and assign this to the order type which you are going to use.
    The defination should be such that user status should get activated if "CSER" is activated on that order, and this should not allow "REL" status.
    In general try with "BS02" and "BS22", I am not sure whether CSER and REL can be interlinked.
    Hope this helps....Reward your points,
    Regards,
    Prasobh

  • Error saving a Production Order for Development Trials

    Hi all,
    I'm trying to simulate a special process I have in one of mine SU's.
    When we do trials process we use a specific order type, with a settlement rule and a specific cost centre and we need to create the routing and BOM inside the order. We can even introduce some text items as we are doing trials.
    The problem is that after doing all those steps when I try to save the order I get the following ERROR MESSAGE:
    System ID....   S7T
    Client.......   010
    User.....   PONCIANO_A
    Transaction..   CO01
    Update key...   475073C8187700A500000000913740B3
    Generated....   30.11.2007, 15:58:56
    Completed....   30.11.2007, 15:58:56
    Error info...   00 001: Error creating batch number
    Does any one of you have an idea of the cause of this?
    Thanks and regards to everyone!

    Joel,
    Looks like the error is caused during creation of Batch for the order. In the order type dependent parameters, make the defination that Batch is not created.
    Regards,
    Prasobh

  • Error message while confirming production order.

    Hi Gurus,
    I would like to know if it is possible to get an error message when we try to confirm a production order if there is not a cost for each component.
    Please provide details if any.
    Thanks for your understanding.
    Naveen.A

    Hi,
    You can have setting for error message for incorrect costs in confirmation as below :
    Go to OPK4 ( Parameters for order confirmation) select plant & order type--> General individual entry ( tab)-> Error handling/logs
    Maintain tick in check box for Termination for Incorrect ActCosts.
    This will fulfill your requirement.
    Revert in case any doubt.
    Regards,
    Tejas
    Edited by: Tejas  Pujara on Apr 6, 2009 7:17 AM

  • Error while saving Production Order

    Hi all
    I am getting the following error while saving the Production Order -
    "Class for order classification has not been generated".
    I went into the custiomization settings and tried to generate the class. But I get another error "No batch input data for screen SAPMSSY3 0131". The line items are also all in red and green.
    Any help would be highly appreciated.
    Thanks in advance.
    Hrishi

    Solved.

  • ERROR DURING SAVING PRODUCTION ORDER

    Hi GURUS,
    WHILE SAVING A PRODUCTION ORDER I AM GETTING AN ERROR START_FORM,OPEN_FORM MISSING.MSG NO IS TD423
    REGARDS
    RAMKUMAR WARIYAR

    Hi Ram
    You might have assigned print shop floor paper while saving prod order in Production Scheduling profile.  .
    You might not have defined output printer for this. If you want paper to print, set printer for this. Also check have you assgined order type in scheduling profile at the bottom for MTS, MTO, Rework. Order type for production order is picked from scheduling profile.
    Check this order is the one which you are using.
    If you do not want to print shop floor paper remove the tick.
    Regards
    J . Saravan
    Edited by: J. Saravanan on Apr 10, 2008 6:29 AM
    Edited by: J. Saravanan on Apr 10, 2008 6:30 AM

  • Error while release of production order u201CNext period is not openu201D

    Hi Experts,
    Need your opinions on this issue where my client is facing a problem while create and release a production Order on the last day of the month (Last day of period change).
    While create and release of production order for Plant xxxx, system uses to give the error; period Next (e.g. 12) is not open. Same thing if I have created the order using T. code CO01; but when I tried to release and save the order through T. code CO02 then it gave me the same error (Next period is not Open), it checks for the next period to open.
    The above scenario happens only on last day of the month. Earlier this kind of error was not there so the question is why the period check is happening while saving the production order.
    After speaking to the user, it is determined that they are facing this problem since upgrade (Since last 8 month). Hence need to check what additional check has been implemented with upgrade from R/3 4.7 to ECC 6.
    Error Message No F5201
    Appreciate your help how to dig up this issue.
    With Regards
    Anant

    Hi Guys,
    Please throw some light why on the last day of the month (Last day of period change) at the time of release the order user is getting error: Period Next (FI Next period) is not open ( message No. F5201).
    My question is why system carried out period checks at the time of release of Production Order.
    With Regards
    Anant

  • Copy purchase order text to production order text

    Hello,
    purchase order text should be copied to production order text so that the end user can see and edit the text before saving the production order. I'm trying to do it with exit PPCO0006. I can read the purchase order text with read_text but cannot show it on prod order long text tab page. And cannot save it because the production order does not have a number yet.
    How should this be done? If I copy the text to clipboard can it be pasted to production order long text somehow? Or is there a long text object in production order which I could call and insert the text in it? Or what?

    Hi,
    The problem is solved.
    In SD side, there's a transaction VOTXN. Change the configuration for Sales Order Item.
    Add a Text ID 0006 (Production Memo) in Textprocedure with Access Sequence 21 (Material Sales).
    In Access Sequence 21, map Text Object VBBP (Sales Order Item Text) to ID 0006 (Production Memo).
    Save it.
    When you create your sales order, in the item text level, you'll be able to see an additional text type of Production Memo. Enter your text here and save the sales order. When production order for this Sales Order is created, Production Memo tab will automatically appear (as mentioned by Peter earlier).
    Thanks.

  • Price error message while creating production order- Urgent

    In past i was getting warning message of 'No price could be determined for material/batch and Plant" message no CK 465 at the time of saving the production order after creation but now it has stopped even though there is no price in material amster.
    I changed the configuration to Error message (TC: OPR4_PPCO) and it works but why not for warning message?
    Thanks

    Please confirm where i should check for Activity price?
    But then why we are able to get error message.
    Reexplain:
    Creating a production order which do not have standard cost in material master.
    While saving, getting a error message'No price could be determined.......'
    Now changing the message to Warning through configuration using TC: OPR4_PPCO
    Now again creating the production order and saving
    Expectation to have same message as warning but not getting anything.
    Thanks
    Edited by: vineet garg on May 1, 2008 12:14 AM

Maybe you are looking for

  • How do I stop contacts on two phones from merging?

    My wife and I both have iPhones. Somehow, our contacts have merged. how can I undergo them?

  • [CS3][JS] beforeClose event listener problem

    Hi all, I want my script to do the following: every time when a user closes a document, I wish for "Check Spelling..." dialog box to show up and after the user finishes spell-checking, the document should be closed. But instead, if I have one documen

  • Checkin filter not working properly in case of WebDAV

    Hi guys, I have written a custom checkin filter. This filter populates MetaData xStartDate of Date type. When I checkin content item through UCM admin portal, then filter work fine and set the xStartDate meta data value. Here is the code that is used

  • Data lost in Production

    Hi Everyone, We got a very big problem in production system. We had transported one ztable (contains customer number, material as primary key) to production earlier. this ztable contains data which was updated by users. We had changed date also prima

  • Unable to modify album art.

    I am in the middle of getting album art for all of my music and haven't had any problems until now. I download the images and drag the file onto the music files to apply the art and it worked perfectly until recently. For some inexplicable reason I c