Making a warning message to Error in VA01 transaction

Hi All,
I have a requirement to change warning message to error while creating order with reference to a quotation using VA01 transaction .
Message :  'Reference document was only valid until &'
Message No: 009
Message Class: V2.
Right now standard SAP gives warning message and allows to create order eventhough the quotation is invalid but instead I want  the system to give hard error and stop creating the order.
I have checked transaction OVAH and OVM1 but they are of no use.
If anyone has any ideas please let me know.
Thanks in advance.
Sonali.

Hi Sonali,
1. In VOFM, Data Transfer -> Orders, copy routine 051 into new one (e.g. 901).
2. In this newly created routine add following statements along with the existing statements form 051.
IF cvbak-bnddt < sy-datum.
   MESSAGE E247 WITH '051'.
ENDIF.
3. In transaction VTAA, choose target is S/O and source it Quotation. In Data Transfer routine at header level put 901.
This will stop creating S/O form Quotation which are expire.
Regards,
Mandar

Similar Messages

  • To change the warning message to error message in VA01.

    I want to change the warning message into error message in the standard VA01 transaction..
    The steps I follow :
    order type -->
    enter
    sold to part -->
    ship to party -->
    Purch order no -->
    Req deliv date -->
    Material -->
    Order quantity -->
    SU -->
    enter.
    The warning error dispayed is
    No add. vendor / customer data maint. for 16320340 - please maintain J_1IMOCUST...
    Want to change the above into error so that it shud not go further.

    Hi Arif,
    Click on Save  Icon.
      System will give information: No add. Vendor / Customer data maint. For INJ95C01 -Please maintain J_1IMOCUST.<b> Ignore it.</b>
    Result
    System will calculate Price of the Material creates Schedule Lines and saves the document. System will give a message: Standard Order has been saved.
    <b>**REWARD IF THIS HELPS WITH POINTS**</b>
    Regards
    AK

  • Conversion of Warning Message to Error Message Message Number 06152 in ME51

    HI,
    User has created the PR(ME51N) and Buyer has created the PO (ME21N) against this PR.
    User are able to delet the line with following warning message.
    *Purchase orders already exist for this item*
    *Message no. 06152*
    I have stried to change this warning message to error messge form following path
    IMG-MM-Purchsing-Environment data------- But the message is not appearing in this table.
    How can i change this warning message to error message ?
    Thanks
    Shyam Kogta
    09871894536

    Hello,
    In the same IMG path (IMG->MM->Purchsing->Environment data->Define Attributes of System Messages), click 'New Entries' and enter the message with Message category 'E'.
    Thanks,
    Venu

  • How to Convert the Warning Message to Error Message in Standard Transaction

    Hi,
        I face one problem in Standard Transaction Code CS02. In that  by entering the material Number, Plant, bomstatus press enter. it gives a warning message. How to convert the Warning message to Error. In abap how to do that. Please help me.

    Mohan,
    It appears that there is some configuration you can do for BOM Message types to change the message type.  The IMG link for this function is:
    Production->Basic Data->Bill of Material->General Data->Change Message Type
    However you need to read the IMG documentation to see if this will work for you.  There are only certain messages that can be changed with this configuration step.
    Also, please do not double post questions in the forums.
    Best Regards,
    Chris H.

  • Unable to convert the warning message to error message no.06881

    Dear SAP gurus,
    I have tried to convert the message no . 06881 from warning message to error message through the  spro setting material management ->purchasing->environment data-> define attribute message -> system messages->selecting the message as 00 06 881 "Purchase orders released until & only (for quality reasons)" E.
    kindly help on this........
    Thanks in advance....
    Thanks and Regards,
    R.DIWAKAR

    Thanks for your response guru,
    This request is actually for Quality information record QI01 - where the setting for release date doesn't have any control over the procurement (while performing ME21N) - only warning message poping up
    I have tried using the said option still the message doesnot changes to Error message,
    I have checked in SPRO ->Quality management->QM in logistics->QM in procurement->Define control keys....all the keys checked ...still no change
    Guide me....
    Thanks and Regards,
    R.Diwakar

  • Converting Warning Message to Error Message in Benefits Enrollment Screen

    Hello SAP,
    How to convert Warning Message to Error Message in Benefits Enrollment Annual Enrollment Screen.
    Warning Message: No beneficiaries selected for plan XXXX.
    As per my requriement, there is one warning message which is popping up when all the plans total donot count to 100 %. At that time we need to show a Error message instead of Warning Message. Now warning message is displayed.
    Reason: Insurance plans require error message when beneficiaries donot total to 100%
    My question is in which message class or in which Table these messages are maintained and how to modify it.
    Thanks,
    Sankar Narayana

    which badi you are using?
    You cant use all methods to raise a error message
    for example
    Error_table of the method CHECK_DEPENDENTS of user exit PBEN0032 should
    olny be used to raise configuration errors. Please use
    CONSISTENCY_ERRORS to display any error message[move the content of
    error_table to consistency_errors and clear the error_table inside the
    method CHECK_DEPENDENTS].

  • User exit for change warning message to Error message in va01

    hi,
    I want to change  a warning message to as a Error Message in VA01 t-code,
    how can i proceed for this. where i need to change
    ( without changing standard code)
    thanks in advance.

    *& Report  ZUSEREXIT                                                   *
    report zuserexit no standard page heading.
    tables : tstc, tadir, modsapt, modact, trdir, tfdir, enlfdir.
             tables : tstct.
    data : jtab like tadir occurs 0 with header line.
    data : field1(30).
    data : v_devclass like tadir-devclass.
    parameters : p_tcode like tstc-tcode obligatory.
    select single * from tstc where tcode eq p_tcode.
    if sy-subrc eq 0.
       select single * from tadir where pgmid = 'R3TR'
                        and object = 'PROG'
                        and obj_name = tstc-pgmna.
       move : tadir-devclass to v_devclass.
          if sy-subrc ne 0.
             select single * from trdir where name = tstc-pgmna.
             if trdir-subc eq 'F'.
                select single * from tfdir where pname = tstc-pgmna.
                select single * from enlfdir where funcname =
                tfdir-funcname.
                select single * from tadir where pgmid = 'R3TR'
                                   and object = 'FUGR'
                                   and obj_name eq enlfdir-area.
                move : tadir-devclass to v_devclass.
              endif.
           endif.
           select * from tadir into table jtab
                         where pgmid = 'R3TR'
                           and object = 'SMOD'
                           and devclass = v_devclass.
            select single * from tstct where sprsl eq sy-langu and
                                             tcode eq p_tcode.
            format color col_positive intensified off.
            write:/(19) 'Transaction Code - ',
                 20(20) p_tcode,
                 45(50) tstct-ttext.
                        skip.
            if not jtab[] is initial.
               write:/(95) sy-uline.
               format color col_heading intensified on.
               write:/1 sy-vline,
                      2 'Exit Name',
                     21 sy-vline ,
                     22 'Description',
                     95 sy-vline.
               write:/(95) sy-uline.
               loop at jtab.
                  select single * from modsapt
                         where sprsl = sy-langu and
                                name = jtab-obj_name.
                       format color col_normal intensified off.
                       write:/1 sy-vline,
                              2 jtab-obj_name hotspot on,
                             21 sy-vline ,
                             22 modsapt-modtext,
                             95 sy-vline.
               endloop.
               write:/(95) sy-uline.
               describe table jtab.
               skip.
               format color col_total intensified on.
               write:/ 'No of Exits:' , sy-tfill.
            else.
               format color col_negative intensified on.
               write:/(95) 'No User Exit exists'.
            endif.
          else.
              format color col_negative intensified on.
              write:/(95) 'Transaction Code Does Not Exist'.
          endif.
    at line-selection.
       get cursor field field1.
       check field1(4) eq 'JTAB'.
       set parameter id 'MON' field sy-lisel+1(10).
       call transaction 'SMOD' and skip first   screen.

  • Change of Warning Message to Error Message

    Hi
    I need to change warning message RP900 to an error message. could anyone tell me how to change the same.
    thanks
    SG

    Hi Sri,
    Yes it's a table which will be executed from the T-code: SM30.
    Regards
    Sheetal

  • Create PO (me21n) warning message convert error message,but no effects.

    Hi,
    I set img spro-->Materials Management -->Purchasing --> Environment Date --> Define Attributes of  System Message
    Appl.A.        No.                Message text
      06     880     Quantity approved by QM already exceeded by & &
    I adjust W to E.
    When I create PO, the message still show warning , not error. I don't know what's wrong.
    Could you tell me how to set , and the message can become error?
    Thanks.
    Best regards,
    Lance

    hi Jürgen L. 
    Thanks for you reply. I have checked QM IMG, I  found out Control key for QM in Procurement Message mode set warning.
    I have changed setting w->E, and try again to create PO.
    Then the message show Error.
    Thanks for your support.
    IMG Path -- spro --> Quality Management --> QM in Logistics --> QM in procurement --> Define Control Keys --> Message control for lock.
    best regards,
    Lance
    Edited by: Lance Lee on Aug 4, 2010 2:44 AM

  • Making opening warning messages, so that you cant skip them?

    Hi,
    I am making a dvd for a company and there are a few safety,copyright,warning messages etc at the start of the dvd before goes to the dvd menu.
    I am just wondering how do i make it so these opening slides cant be skipped until they have finished playing?
    They have an audio backing, so I have exported them as a timeline from premiere into encore and placed them to play before the menu.
    Hope this makes sense.
    Cheers,
    Jai

    See this:
    http://help.adobe.com/en_US/encore/cs/using/WSbaf9cd7d26a2eabfe807401038582db29-7f7ca.html #WSbaf9cd7d26a2eabfe807401038582db29-7f7aa

  • Convert Warning message to error message in counter updation(Not for CTM)

    Dear Experts
    When counter reaading is enterd as previous counter reading then system,gives message of counter overflow,i want to change this message as error message inly ctm login will punch the measuring reading incase there is counter overflow.Please guide how to do this.
    When i clicked on message follwoing pop is shown
    The counter reading entered will lead to a counter overflow                                                                               
    Message no. IR036
                                                                                    Diagnosis
                                                                                    You have entered a current counter reading for measuring point 113 that
        is lower than the current counter reading in the previous measurement
        document ('higher' than in the case of counters that run backwards).
                                                                                    System Response
                                                                                    The system defines this as a counter overflow so that the counter
        reading can continue to increase, or decrease in the case of counters
        that run backwards.
                                                                                    Procedure
                                                                                    Check whether a counter overflow has actually occurred under the
        circumstances.
    Regrds
    Raj

    Hi
    Check in ur customization...
    Plant Maintenance and Customer Service
    Master Data in Plant Maintenance and Customer Service
    Basic Settings
    Measuring Points, Counters and Measurement Documents
    Define Measuring Point Categories
    Select ur category and double click it...
    there u have to maintain wat type message u require.. MeasRge message - W or E
    Check it out
    - Pithan

  • Warning message displayed in Check Status transaction

    Hello SRM experts,
    In Check status transaction, in some case a warning message is displayed: Warning: 'Delete (BBP)' (shopping cart 2325215). It's not blocking message but I would like to know in which case this message, in which include it's displayed and how can I change the text of this message.
    Thansk in advance for your help.
    Regards.
    Claudine

    Hi,
    I checked your answer.
    But the note 1060388 is not accessible (in reworking may be?).
    And it's not possible to try to suppress the message in the CHECK badi because in BBPSC04, we don't go through this badi.
    Regards.
    Claudine
    Edited by: Buy Side on Dec 22, 2009 4:27 PM
    Edited by: Buy Side on Dec 22, 2009 4:28 PM

  • Error in va01 transaction

    Hi
      When i try to save the sales order it is throwing an error ENTER ECC NUMBER in VA01 Transaction. How to clear that error
    regards,
    PradeepM.

    Dear
    I think you have CIN implemented  in your business process .So it is asking ECC number through J1D.Otherwsise , with out CIN , you have Customer Engineering Change Status NO in item over view  : Customer number for the production series from which they release and receive materials. The customer sends this number in with a material number to request an engineering change to take effect as of a certain delivery date or cumulative quantity.
    Regards
    JH

  • Want to convert warning message in error message.

    Hi..
      In transaction code F-47, one warning msg has come 'Purchasing Document belongs to another supplier'.
    So, now i want this should be an error msg. I checked at configuration level, but it not possible.
    I got the include where this msg has come.
    I searched for User Exist and BADI, but not able to find.
    If any one can give me the solution for this.
    Thanks in advance....!!
    Thanks & Regards,
    Poonam.

    - Some message are customizables (look via SM30 at V_T100C)
    - You may use FI [validations|http://help.sap.com/erp2005_ehp_04/helpdata/EN/5b/d2315a43c611d182b30000e829fbfe/frameset.htm] for that (Wiki [Validations & Substitutions |http://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=51687], OSS [ Note 842318 - Frequently asked questions about validations + substitutions|https://service.sap.com/sap/support/notes/842318])
    Regards,
    Raymond

  • Message causing error in a transaction

    Hi everybody
    I'm using replication with streams in Oracle 10gR1. Normally I have large transactions that include many messages.
    When an apply error occur, I know what transaction is causing the error, and I can see all the messages that be part of them (using the views provided by Oracle and various documented procedures); but I can not see directly what message is causing the error.
    For example -in my database- a typical transaction can have 200 messages. This transaction has many inserts, updates or deletes sentences over many tables. If an apply error occur at the destination database, I want to know which of this 200 messages caused the error, because is impractical and very tedious check every of them. Is there any way to perform this? I’m missing something?
    Thanks in advance and regards, Flavio.

    Let me explain me with an example:
    A transaction like this (ID 2.20.69053) , caused an error:
    -- ERROR #1
    -- Local Trans ID: 2.20.69053
    -- Source DB: BDSOURCE
    -- Error Number: 1403
    -- Message Text: ORA-01403: no data found
    In record Loop Msg: 1
    Type Name : SYS.LCR$_ROW_RECORD
    Source db : BDSOURCE
    Owner : SCOTT Object : ARTICLES
    CMD Type : UPDATE Is tag null : Y
    *Old(1): NUM_EMP => 51                                                         
    *Old(2): COD_ART => 11404                                                      
    *Old(3): DESCRIPCIO => STOCK (code 44227)    
    New(1): DESCRIPCIO => STOCK (code 44227-1)
    In record Loop Msg: 2
    Type Name : SYS.LCR$_ROW_RECORD
    Source db : BDSOURCE
    Owner : SCOTT Object : STRUCTURE
    CMD Type : UPDATE Is tag null : Y
    *Old(1): NUM_EMP => 51                                                         
    *Old(2): ART_TER => 11404                                                      
    *Old(3): POSICION => 0157                                                      
    *Old(4): GRUPRO => 3                                                           
    *Old(5): SECCION => 3                                                          
    *Old(6): ESTADO => D                                           
    *Old(7): COM_FAB => D                                          
    New(1): GRUPRO => 3
    New(2): SECCION => 3
    New(3): ESTADO => D
    New(4): COM_FAB => T
    In record Loop Msg: 200
    Type Name : SYS.LCR$_ROW_RECORD
    Source db : BDSOURCE
    Owner : SCOTT Object : STRUCTURE
    CMD Type : UPDATE Is tag null : Y
    *Old(1): NUM_EMP => 51                                                         
    *Old(2): ART_TER => 11404                                                      
    *Old(3): POSICION => 0158                                                      
    *Old(4): GRUPRO => 3                                                           
    *Old(5): SECCION => 3                                                          
    *Old(6): ESTADO => D                                           
    *Old(7): COM_FAB => D                                          
    New(1): GRUPRO => 3
    New(2): SECCION => 3
    New(3): ESTADO => D
    New(4): COM_FAB => T
    And this error (ORA-01403) is caused for one of the 200 msg of the transaction. The question is: ¿What message caused the error? The only way to know this is writing a DML error handler?
    Thanks, Flavio.

Maybe you are looking for

  • Apple Internal Modem not working since installing OS X 10.5.6

    http://discussions.apple.com/message.jspa?messageID=6979575 Same problem more or less. My mom has a Dual 1Ghz G4 Mirror Door Tower that runs great. However she lives in a very... remote, area so dial-up is her only option. With 10.4 on the machine ev

  • MOS Document:  Convert from Oracle to MySQL

    An Oracle tech just pointed out this note: Oracle VM Manager 3.2.1 database Migration from Oracle RDBMS to or from MySQL (Doc ID 1522460.1) Good stuff! Rob

  • Facing error ora-00257 ARCHIVER ERROR. CONNECT INTERNAL ONLY, UNTIL FREED

    Hi, Has been facing this error since midnight no 1 is able to login to database. Iam having 10 GB of space in 1 instance & 4GB in another where archive log destination is there . Has tried more or less all the solutions on net as well as metalink, fo

  • Retrieve list of approvers programmatically

    I've developed a repository service that dynamically resets the permissions of a document created in KM based on the creator of the document.  I'd also like to base the new permissions on who is listed as approvers in the approval workflow of the fol

  • Converting Videos using NOKIA VIDEO MANAGER

    Hi Folks Just recievd my N95 Phone Very pleased. Been reading about and it says the movie format supported on the NOKIA phone is MPEG4. Ok np there. I have a HDD (hard disk drive) Camcorder with some movies on there which are watchable on my PC. I lo