2007 Dec 27 4:11 PM
Dear All,
Need you help!
I have to display a message by replacing an existing short message with a new long message of around 200 characters in pop-up box as a warning message. Do you have any idea to do this??
My existing message is something like given below...
CONSTANTS : c_gf(2) TYPE c VALUE 'GF',
c_gh(2) TYPE c VALUE 'GH'.
MESSAGE w023(YSRM) WITH c_gf c_gh.
w023 contains around 50 characters text. I tried replacing this 50 char with my new 200 char text but couldn't succeed.
I do not want to use Long Text option available in message class. I want all 200 chars to be displayed in pop up box with as warning message!
Many Thanks,
Parvez.
2007 Dec 27 4:14 PM
Instead of MESSAGE you need to use this FM
AQ_INT_SHOW_MESSAGE_AS_POPUP
because standard message will not support 200 characters.
Try using the above FM
-Pavan
2007 Dec 27 4:17 PM
Each &1, &2, &3, &4 in the message, as defined in SE91, permits 50 characters. So if you have defined there a message 001:
FIrst &1 Second &2 Third &3 Fourth &4
Then message 001 with &1 &2 &3 &4 will allow 50 characters each. So "First <50c> Second <50c> Third <50c> Fourth <50c>".
( Though I fail to see how being able to display such a message would be a project go/no go, and hence urgent ).
matt