‎2008 Aug 22 1:43 PM
Dear All,
I have did like this for dynamic message printing.
" select * FROM mara INTO table it_mara up to max ROWS.
DESCRIBE TABLE it_mara LINES VAR1.
MESSAGE I005(ZMESG) WITH 'Found' var1. "
005 is the message with text 'Record'.
but while displaying message it coming only
'Record' on message window but it should come 'Record Found 20'.
It is not coming like that what is problem please tell me .
and if 005 message number, i make it blank then it is coming like
'I:ZMESG:005 Record 20'.
I want to show combine message on that message window, how to do that.Please give me your inputs.
Regards,
Sanket.
‎2008 Aug 22 1:50 PM
Hi Sanket,
In Message class u need to declare as follows,
005 Record & &
instead of
005 is the message with text 'Record'.
Define this in message class and use ur code (MESSAGE I005(ZMESG) WITH 'Found' var1.) u ll get the desired answer.
Success...
‎2008 Aug 22 1:47 PM
Hi Sanket.
Use &1 in Texe element after Record.
This will do
Sridhar
‎2008 Aug 22 1:48 PM
give "&" this to the messge in message class where you want to show the variable.
‎2008 Aug 22 1:50 PM
Hi Sanket,
In Message class u need to declare as follows,
005 Record & &
instead of
005 is the message with text 'Record'.
Define this in message class and use ur code (MESSAGE I005(ZMESG) WITH 'Found' var1.) u ll get the desired answer.
Success...
‎2008 Aug 22 1:51 PM
Define TEXT-005 like "Record found %".
After that:
move text-005 to variable.
replace % with var1 into variable.
message i208 with variable.
hope this helps
Regards
‎2008 Aug 22 2:10 PM
Dear all,
I am very thankful for your immediate reply's .
My problem i solved thanks you all.
I have given respective points too.
Regards,
Sanket.
‎2008 Aug 22 2:08 PM
Hi Sanket,
define your message in your program as given bellow.
MESSAGE i000(ZMESG) WITH 'Message' 'test' variable.
Now create message '000' in your message class 'ZMESG' as '& & &'.
now your program will do as you desired.
thanks