03-26-2007 5:53 AM
Hi all,
I need to handle messages, with values in the message dynamically. Like 'Material number 1000 created'.
Mat. no 1000 is to be passed dynamicaly.
Please let me know how to handle this.
Thnks
Nandha
03-26-2007 5:57 AM
HAI,
iin message class u create one message like 'Material number &1 created'.
in program you call the message as
message iXXX with t_mara-matnr.
regards,
ananth
03-26-2007 5:57 AM
HAI,
iin message class u create one message like 'Material number &1 created'.
in program you call the message as
message iXXX with t_mara-matnr.
regards,
ananth
03-26-2007 6:11 AM
Hi,
Create message class using Tcode SE91. as 'Material number & created'.
and use the same in the report using message statement.
Regards,
Chandra
03-26-2007 6:11 AM
hi,
try this,
DATA: var(20) TYPE c VALUE 'material no',
var1 TYPE string.
var1 = 1000.
CONCATENATE var var1 INTO var1 SEPARATED BY space.
MESSAGE var1 TYPE 'I'.
Regards,
Bijal
03-26-2007 6:21 AM
Hi,
You need to use the Place holders while creating messages:
For Instance:
While Creating message use the below statement:
Material Number &1 Created
While Calling from the program
MESSAGE IXXX(MSG.CLASS) WITH MATNR.
Regards,
Hakim
03-26-2007 9:07 AM
Hi Nandha,
Ur question has been answered well by the guys. Award points and close this thread.
Don't clutter-up forum.
Regards,
Manish Joshi