‎2009 May 05 11:42 AM
Hi...
i have generated one program in web (asp) in which SMS string will be dynamic generated in that to show message in next line we are putting char(10) so data will come in new line.
example :
string1 = chintan & char(10) & contractor
then output will be
chintan
contractor
in sms...same thing i want to do in abap program.. then what is solution for same. means two string i want to concatenate in one string with special character which later will turn in enter key in sms
regards,
Chintan.
‎2009 May 05 11:46 AM
Hi Chintan,
Try to use Concatenate Keyword.
Hope this will help you.
Thanks & Regards,
Gaurav
‎2009 May 05 11:52 AM
Hi,
use the statement
data: string1 type string.
concatenate 'chintan' 'contractor' into string1.Regards,
Siddarth
‎2009 May 06 3:53 AM
hi..
i know concatenate but i want some special character in place of char(10) in abap.
but it solved.
‎2009 May 06 6:33 AM
Hi,
it is not possible directly in ABAP... but you can use internal table to do the same thing...
each record consist of a new line....
Regards,
Siddarth
‎2009 May 06 7:34 AM
Hi,
For that you can pass the special chracter in a variable & use like this
Data: var(10) type c,
string2(20) type c.
concatenate 'chintan' var 'contractor' into string2.
Hope this will help you.
Thanks & Regards,
Gaurav.