‎2009 Jan 21 12:08 PM
Hi all,
I have a requirement in which , I need to conver one string say XYZ to 'XYZ .
note that i want to concatenate ' .
Please suggest the needful, as I m unable to concatenate ' .
Regards
Rudra
‎2009 Jan 21 12:12 PM
Hi,
Create a text symbol with value '
and concatenate text-001 l_val into l_final.
Best regards,
Prashant
‎2009 Jan 21 12:11 PM
Hi,
Try the below code
DATA: t1 TYPE c LENGTH 10 VALUE 'We',
t2 TYPE c LENGTH 10 VALUE 'have',
t3 TYPE c LENGTH 10 VALUE 'all',
t4 TYPE c LENGTH 10 VALUE 'the',
t5 TYPE c LENGTH 10 VALUE 'time',
t6 TYPE c LENGTH 10 VALUE 'in',
t7 TYPE c LENGTH 10 VALUE 'the',
t8 TYPE c LENGTH 10 VALUE 'world',
result TYPE string.
CONCATENATE t1 t2 t3 t4 t5 t6 t7 t8
INTO result.
...
CONCATENATE t1 t2 t3 t4 t5 t6 t7 t8
INTO result SEPARATED BY space.
Hope it will help you.
Regards,
Anki Reddy
‎2009 Jan 21 12:12 PM
Hi,
Create a text symbol with value '
and concatenate text-001 l_val into l_final.
Best regards,
Prashant
‎2009 Jan 21 12:13 PM
Hi ,
U can do like this
Var1 = XYZ
CONCATENATE ' ' ' ' Var1 into Var2.
Var2 = ' XYZ
‎2009 Jan 21 12:14 PM
HI,
DATA : lv_str1 TYPE string VALUE 'XYZ',
lv_str2 TYPE string.
CONCATENATE text-001 lv_str1 INTO lv_str2.
" CREATE a text element for text-001Thanks & Regards
‎2009 Jan 21 12:18 PM
concatenate '''' 'XYZ' to w_target.or create a text symbol then use it
concatenate 'text-001 'XYZ' to w_target.Regards,
Manoj Kumar P
‎2009 Jan 21 12:19 PM
Hi,
use this
data: st(5) type c value 'xyz'.
data: sts type string.
concatenate '''' st into sts.
write:/ sts.
regards
Mahesh
‎2009 Jan 21 12:20 PM
hi
try this fm CONVERSION_EXIT_ALPHA_INPUT
hope this helps
regards
Aakash Banga
‎2009 Jan 21 1:05 PM
Hi,
data : l(4) type c.
concatenate XYZ ' ' ' into l.
Thanks & Regards,
Sateesh.