‎2008 Jan 15 11:47 AM
Hi,
Please give the code.
I am having the customer number as XXXXXXX
and i should populate a message " customer number XXXXXXX does not exist
Thanks in advance
Ajay
‎2008 Jan 15 11:50 AM
*--if var contains customer no. then....
message e000 with 'customer number' var 'does not exist'.
if u don't want spaces in between....
data : var1(7) type c,var2 type string.
write var to var1.
condense var1 no-gaps.
concatenate 'customer number' var1 'does not exist' into var2 separated by space.
*--now use....
message e000 with var2.
‎2008 Jan 15 12:02 PM
Hi,
MESSAGE e000(give message class if applicable) with 'Customer number' &tblename-fieldname& 'does not exist'.
example:
PARAMETER: p_number TYPE char20.
MESSAGE e000(zmessclass) with 'Customer number' p_number 'does not exist'.
Pls do reward if useful.
Regards,
Farheen
‎2008 Jan 15 12:14 PM
Hi,
Try like this.
DATA: msg(50).
CONCATENATE 'customer number' KUNNR 'does not exist' INTO msg SEPERATED BY SPACE.
MESSAGE msg TYPE 'E'.
Rewards points if helpful.
Regards,
Srinivas Ch
‎2008 Jan 15 12:23 PM
hi
good
create your own message class to solve your problem.
go thorugh this link which will give you detail idea about the message class.
http://help.sap.com/saphelp_nw04/helpdata/en/cd/5892c9b06311d2957b00a0c94260a5/content.htm
thanks
mrutyun^