Skip to Content
author's profile photo Former Member
Former Member

Enhancement spot in MV45AFZZ.

Hii All,

I got a problem when i am writing enhancement spot in MV45AFZZ.

I have added some new fields in 8459 sub-screen at item level in VA01 transaction

some of those fields are mandatory for some materials

Now if the user goes for a save with out entering those fields in addtional tab B, i am rising a error that field is not entered in Additional tab B.

Now everything is fine i am able to trigger that error message by writing the error message in USEREXIT_SAVE_DOCUMENT. By writing a enhancement spot.

whenever i trigger this error message if i go and enter the corresponding fields in Additional tab B at item level it is saying that the " Item SOME NO say 00010 does not exist " and it is going out of the transaction with out saving the sales order .

If i dont click the save button and going directly to that additional data tab and entering the corresponding field and going for save it is saving.

I am getting the problem if i click the save button before entering those fields. wht could be the problem?

please help me.

Thanks ,

Ravindra.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Dec 22, 2008 at 03:26 PM

    Hiii All,

    Please answer my question.

    Thanks,

    Ravindra.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 22, 2008 at 03:39 PM

    hi,

    u write your error message checking code in USEREXIT_SAVE_DOCUMENT_PREPARE .

    I think your problem will be solve.

    regards

    Tarapada. D

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi,

      As pointed out previously use FORM USEREXIT_SAVE_DOCUMENT_PREPARE for the error message. all 'VBAP' details are available in XVBAP including MATNR which can be used for giving the error message.

      I hope this helps,

      Regards,

      Raju Chitale

  • author's profile photo Former Member
    Former Member
    Posted on Dec 23, 2008 at 05:31 AM

    This helped me a lot

    Thanks too all for helping me

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.