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

regarding message

When executing below code,

i am not getting message 'TEST' as

error message. why.

WITH option is not working i guess.

anything should be added.?

Report ......message-id zfi000.

AT SELECTION-SCREEN.

IF NOT V_BUKRS IN S_BUKRS.

MESSAGE E106 WITH 'TEST'.

ENDIF.

when i check this condition i get only value

stored in E106 row at table.

ambichan.

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Feb 09, 2005 at 05:53 AM

    Hi Ambichan,

    1. Go to SE91. Give the Message Class as ZFI000. See if there's an '&' in the message number 106.

    OR

    2. Double click the message E106 in your program code. See if the message contains any '&' symbol.

    The & symbol in a message is called a <i>placeholder</i>. Only if a message is defined with an '&' you can supply the variables / strings to the message using the WITH addition.

    For example, in your case, you can define the message (in SE91) as :

    Company code & is excluded in the Select-Option.

    and in your code you can issue the message as:

    message e106 with v_bukrs.

    Regards,

    Anand Mandalika.

    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.