Skip to Content

user exit MV45AFZZ sub routine USEREXIT_SAVE_DOCUMENT_PREPARE

Hello all,

I have validated materials in sub routine USEREXIT_SAVE_DOCUMENT_PREPARE of user exit MV45AFZZ . Iif my condition fails i am throwing an error message. When i come across an error message the entire screen becomes inactive and on pressing enter also we can not get the screen as active. Provide me a solution for this problem.

with regards,

sandeep akella.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

5 Answers

  • Posted on Sep 09, 2009 at 12:26 PM

    Hi,

    Instead of giving an error message give a success message and add clause display like 'E' or go through the link below

    [Link|mv45afzz-cancel-document-saving-process]

    KR Jaideep,

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 09, 2009 at 12:26 PM

    Hi,

    In same EXIT, one more FM is used as USEREXIT_FIELD_MODIFICATION.

    I think this could help you out to resolve the problem.

    You can re-activate your screen.

    Regds,

    Anil

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 09, 2009 at 12:28 PM

    Hi Sandeep,

    Use this Link.

    message type E and inactive fields

    I hope this will help you in some sense.

    Regards,

    Vijay

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Sep 09, 2009 at 12:33 PM

    to anil katcoh:

    how can we use this subroutine after i raise the error message.can you help in providing ideas for it.

    to vijay chavan:

    i can not wite the flow logic statements in the user exit.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Sep 09, 2009 at 12:55 PM

    It is achieved by using following code, which was earlier mentioned in SDN forms

    MESSAGE Sxxx. "to tell the user what's the problem

    PERFORM FOLGE_GLEICHSETZEN(SAPLV00F).

    FCODE = 'ENT1'.

    SET SCREEN SYST-DYNNR.

    LEAVE SCREEN.

    ref thread : mv45afzz-cancel-document-saving-process

    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.