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

print an error message (HR)

I want to print an error message when some conditions take place so I don't want to allow a save procedure in that case ( sy-ucomm = 'UPD') but when the conditions are checked and all are fullfilled and the user presses the save button, the message is not printed and the program returns to control program and it saves the data.

how to do it ?

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Oct 19, 2006 at 08:55 AM

    hi

    good

    have you created any message that you want to display after user press the save button.

    if yes than use call that message type after you pressing the save button,

    if not than create the message type as

    MESSAGE MESSAGENAME.

    and call that particular message type after the save button you ll get the approprite message.

    thanks

    mrutyun^

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 19, 2006 at 08:55 AM

    Look for an exit or badi that is called by your program.

    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.