concatenate

Question: hi guys,
i am a fresher in abap ,
my requirement is concatenation like this
a = '100'
b = 'abcd '
c= 'xyz'.

i want d in this way d = 100abcd xyz.
please help me,
thanks in advance.

Answer:
/forums/viewtopic.php?t=118350 Might help.
_________________
MattG.
Search SAPfans

Answer:
if your variables a , b and c are strings, you can first concatenate them in a temporary string and the concatenate the whole thing using separator space.

try this:
a = '100' .
b = 'abcd '.
c = 'xyz'.

CONCATENATE a b INTO temp. "temp now contains 100abcd
concatenate temp c into d separated by space. " d contains 100abcd xyz.


regards,
gauravi
Copyright ?2007 - 2008 www.jt77.com