11-22-2007 7:19 AM
i have a string and a 10 digit number,,, in final i want to concatenate both string with the number how to do?
regards
mukesh
11-22-2007 7:20 AM
You can concatenate into a variable of Type C and length of your choice to accomodate all characters.
11-22-2007 7:21 AM
11-22-2007 7:21 AM
Hi,
Declare one variable as type c and pass that 10 digit no to that variable and then cocatanate.
Regards,
Prashant
11-22-2007 7:22 AM
11-22-2007 7:22 AM
hi
data var(200).
just use concatenate statement.
CONCATENATE string number into var .
regards
karthik
11-22-2007 7:25 AM
hi,
by useing string concatenation you can do that, by converting number to character type
kindly go through the following threads
http://help.sap.com/saphelp_nw04/helpdata/en/79/c55479b3dc11d5993800508b6b8b11/frameset.htm
regards,
pavan
11-22-2007 7:28 AM
hi,
by useing string concatenation you can do that, by converting number to character type
kindly go through the following threads
http://help.sap.com/saphelp_nw04/helpdata/en/79/c55479b3dc11d5993800508b6b8b11/frameset.htm
11-22-2007 7:39 AM
try this.
data : t type string value 'abc',
n type i value 1200,
temp_n(20) type n.
temp_n = n.
shift temp_n left deleting leading '0'.
write t.
concatenate t temp_n into t.
write : / t.
this will do the job.
reward if useful.
11-27-2007 11:19 AM