Skip to Content
avatar image
Former Member

Error massage should be changed as warning massage

Dear Friends,

I have created a Quotation, with reference to Quotation I have created Sales Order, and here we have used the quotation completely. If I want use the same quotation to create a sales order system is not allow me to create the sales order I am getting the Error massage. u201CThe references has already been completely copied or rejected.u201D The Massage No is u201CV2015u201D

Note: I want change this Error massage as warning massage. Friends please guide step by step how to do this, here my requirement is I need this massage but not a Error massage, the same above massage should be a warning massage.

Regards,

Hari Krishna

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Best Answer
    Jan 08, 2009 at 01:57 PM

    Dear Hari,

    This message is hard coded and cannot be changed to a warning message via customising.

    This is coded here:

    Main Program SAPLV45C

    Source code of LV45C001

    ..

    • Was the reference document fully referenced?

    IF VBUK-RFGSK = CHARC AND

    HVBAK-VBTYP NE CHARH AND

    HVBAK-VBTYP NE CHARI AND

    HVBAK-VBTYP NE CHARK AND

    HVBAK-VBTYP NE CHARL.

    MESSAGE E015.

    ENDIF.

    ..

    Of course a modification of the line MESSAGE E015 changing it to MESSAGE W015 would give you the desired functionality. This would be considered a modification to the standard system and would not be supported by SAP.

    Please check the setting for the 'completion rule' in VOV7 for your

    quotation item categories. This field controls when a quotation is

    complete. If this field is 'A', then quotation will 'complete' and

    cannot be referenced further. Please check the documentation on the

    'COMPLETION RULE' in SAP or at http://help.sap.com.

    In the standard customising, a quotation (item category) gets completion

    rule 'A' (Item is completed with the first reference) - no matter

    whether the whole quantity is referenced or not. This usually makes

    sense, since the quantity specified in the quotation will only be an

    approximate figure, not an exact one. If you do not like this completion

    rule but rather want the reference status to switch to 'Completed' only

    when the whole quantity is referenced, take the completion rule 'B'

    ( Item is completed after full quantity has been referenced), should be

    set.

    The following 'completion rule' options are available:

    Blank - Not Relevant for completion

    A - Item is completed with the first reference

    B - Item is completed after full quantity has been referenced

    C - Item is completed after the target quantity is fully referenced

    D - Item is referenced via contract release

    E - Item is completed after full target value is referenced

    If this is a Made-to-order type then the completion rule is hard coded VBAP-ERLRE = A therefore it can only be referenced once. Make-to-order production with co-entity may be referenced only once, otherwise several orders to a co-entity would be possible.

    I hope this information as helped.

    Best regards,

    Ian Kehoe

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jan 08, 2009 at 01:47 PM

    If your requirement is that you want to keep on creating orders w.r.t to the same quote irrespective of the referenced quantity, then change the settings in your Quote item category (VOV7) and make the completion rule field as <blank>.

    Then you wont ge this error mssg.

    Add comment
    10|10000 characters needed characters exceeded

    • Hi Hari

      To change the Error message to warning message you need to change the program written by the ABAP'ers

      Say if the error message is related to Quotation order then you need to tell to the ABAP;er the program and tell them to change code from Error message to Warning message

      Then error message can be changed to warning message or vice versa

      Regards

      Srinath

  • avatar image
    Former Member
    Jan 08, 2009 at 01:57 PM

    Hi

    Your requirement can very well controlled by completion rule in VOV7

    For AGN the completion rule maintain blank

    Changing the message from error to warning is strictly not recommended and this message class V2 can be done by the ABAP development only not by functional people not possible thro customization

    So better choose the area item category in which we have the absolute control

    Regards

    Raja

    Add comment
    10|10000 characters needed characters exceeded