‎2010 Jan 10 6:14 AM
Hi,
I want to include a variable in the message string like:
wa_log-msg = 'Length for material number should be ' (here I want to iclude variable holding the length).
How to do this?
Thanks in advance...
Regards,
Sriram
‎2010 Jan 10 6:32 AM
Hi, Sriram
Hope following will solve out your problem,
DATA: msg TYPE string,
vlen(2).
vlen = 19.
CONCATENATE: 'Length for material number should be ' vlen INTO msg SEPARATED BY space.Best Regards,
Faisal
‎2010 Jan 10 6:32 AM
Hi, Sriram
Hope following will solve out your problem,
DATA: msg TYPE string,
vlen(2).
vlen = 19.
CONCATENATE: 'Length for material number should be ' vlen INTO msg SEPARATED BY space.Best Regards,
Faisal
‎2010 Jan 10 7:56 AM
hi Faisal,
Thanks for ur reply...Is this the only way to do it?