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

Error meesages in Update FM's (i.e. V1/V2 FM's)

Hello Everyone

I want to know the usage of error messages in Update FM's. I have come across instances where in all places they mention usage of Message type 'A' to do explicit roll back in V1/V2 FM's. It's not very clear whether we can use message type 'E' inside V1/V2 FM's and what will happen if we use Error messages in these FM's.

Any help will be highly appreciated and would definitely be rewarded.



Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Jan 22, 2008 at 05:22 AM


    If you use error messages (type 'E') inside the FM, normal flow will get affected and SAP will take the control from the execution flow(i.e., code(s) after the Error message will not be executed, instead the program will be hanged displaying a BLANK screen after the error message), this the reason why Abend type 'A' messages are used instead of type 'E'.

    NOTE: you can try the same giving error message 'E' in start-of-selection event of a report to see the effect.

    Hope this helps ..



    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.