Skip to Content
avatar image
Former Member

Error message with variable

Is it possible to include a variable in message box?

For example, i have a variable v_name and i want to include it in my error message.

MESSAGE i001.

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • Best Answer
    Oct 15, 2008 at 03:08 AM

    Hi Enrique,

    Offcourse you can add your message in the message box only thing is you nedd to create a Message id with the below format.

    001      &  Not Found in the Database.
    

    in your statement you have to write:

    Message I001 v_variable.
    

    Then automatically the '&' will be replaced by V_Variable. and you will get the output as.

    989898 Not Found in the Database.

    Thanks,

    Chidanand

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 15, 2008 at 03:13 AM

    The exact thing to do

    Add comment
    10|10000 characters needed characters exceeded