on 06-14-2005 6:51 AM
Hi
Is it possible to pass some variable values into the longtext message (tcode SE91)?
Example in long text:
Your value was <variable> but must be 12.
The "<variable>" must come from the program, and is a variable.
Br
Lars
Hi Lars,
The correct syntax in your long text should be:
The value is &V1& but must be 1.
The symbols <u><b>&V1&, &V2&, &V2& and &V4&</b></u> can be used in the long text. These symbols are filled with system field SY-MSGV1, SY-MSGV2, SY-MSGV3 and SY-MSGV4.
When you issue your message in your program this variables will be filled:
Message E123(ZYX) with '1' '2' '3' '4'.
SY-MSGV1 is now '1' and also &V1& will be '1'.<u></u>
Regards,
Arjan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Lars,
In the long text you can use symbols &V1& ... &V4& to pass the values you also fill in your message using the the ampersant (&).
Regards,
Arjan Aalbers
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI,
You can use the & character as a placeholder fo your message.
For example, if your message is something like :
'User & is not authorized to performed this action'
in your program when you call this message, you would write soemthing like this -
message i888(XYZ) with sy-uname.
So, at the time the message is raised, the value of sy-uname will go in place of the & of the message.
Regards,
Anand Mandalika.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
7 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.