2006 Jul 04 2:09 PM
Hi All,
I want to populate parameters dynamically to a text message.Can any one tell me how to do it.If I use the & as 'The & exists',the message comes up as follows:
The ¶meter& already exists.
Kindly help.
2006 Jul 04 2:11 PM
v_meter = <soemvalue>.
message e000(zz) with v_meter.
Regards,
ravi
2006 Jul 04 2:11 PM
v_meter = <soemvalue>.
message e000(zz) with v_meter.
Regards,
ravi
2006 Jul 04 2:11 PM
2006 Jul 04 2:11 PM
hi,
tr:
data : var01, var02.
message e001(00) with 'entries' var01 var02
'already exist'.
A.
Message was edited by: Andreas Mann
2006 Jul 04 2:20 PM
Hi Debashree,
1).You need to create a message class in SE91 first.
Consider you have created the message class <b>ZMESS</b>
in SE91 with the message.
<b>Message Message short text</b>
000 Plant & entered by userThen you can use them in your program.
REPORT zarun.
PARAMETERS : plant TYPE marc-werks.
MESSAGE ID 'ZMESS' TYPE 'S' NUMBER '000' WITH palnt.
*or
MESSAGE s000(zmess) WITH plant. "your parameter or variable
Or you can declare your message class initially and then use it in the rest of the program. No need to specify Message ID (i.e.. Message class ) for each message.
REPORT zarun
MESSAGE-ID zmess. "Message class declared in SE91
PARAMETERS : plant TYPE marc-werks.
MESSAGE s000 WITH plant .
Regards,
Arun Sambargi.
Message was edited by: Arun Sambargi
2006 Jul 04 2:35 PM
Hi
If you don't need to create an your own class message, you can use this message of std class 00:
- 208: here you can insert only one text
- 368: for two texts;
- 398: for four texts;
and so (for example)
MESSAGE E398(00) WITH V_TEXT1 V_TEXT2 V_TEXT3 V_TEXT4.
Max