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

screen problem

Hi,

Iam trying to do some validation in table control and iam getting proper(error) message.When i click ok(exit button on the message box)on the message box, the screen also exiting.How can avoid this?

if flag = 'X'.

message e000(z1) with 'Consider delivery unit': tval.

else.

PERFORM BDC_VA02.

endif.

points guaranteed

kaki

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Nov 22, 2005 at 09:35 AM

    hi,

    THIS BECAUSE ERROR MSG STOP THE CURRENT PROGRAM.

    YOU CAN USE MESSAGE TYPE 'S' OR 'I' IN PLACE OF E.

    IF YOU USE 'S' TYPE MESSAGE, A YELLOW COLORED MESSAGE WILL APPEAR IN STATUS BAR (SYSTEM MESSAGE) AND ALL INPUT FIELD WILL BE LOCKED. JUST HIT ENTER TO UNLOCK THE FIELDS AND PROCEED

    Message was edited by: Anid

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 22, 2005 at 09:42 AM

    Hi kaki,

    the message type you are giving is e000 in this e indicates error so the screen is also exiting.

    check the type of messages.

    The ABAP runtime environment handles messages according to the message type specified in the MESSAGE statement and the context in which the message is sent. There are six kinds of message type:

    A (Abend)

    Termination

    E (Error)

    Error

    I (Info)

    Information

    S (Status)

    Status message

    W (Warning)

    Warning

    X (Exit)

    Termination with short dump

    hope this helps you.

    regards,

    venu.

    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.