2007 Aug 04 5:47 AM
Hello Guys,
I am struggling with a little problem. I don't have Authorization for ABAP Help. That's why I am posting in SDN.
I have to concatenate two string with space between them.
like two word Spell and Check.
when I cancatenate then the result I got is spellcheck. But I want Spell Check.
Can some one Please tell me what to do.
Regards
Swati....
2007 Aug 04 6:05 AM
Hi
Write as below
data: v1(5) type c value 'Spell', STR(11),
v2(5) type c value 'Check'.
<b>CONCATENATE V1 V2 INTO STR SEPARATED BY SPACE.</b>
<b>Reward points for useful Answers</b>
Regards
Anji
2007 Aug 04 6:05 AM
Hi
Write as below
data: v1(5) type c value 'Spell', STR(11),
v2(5) type c value 'Check'.
<b>CONCATENATE V1 V2 INTO STR SEPARATED BY SPACE.</b>
<b>Reward points for useful Answers</b>
Regards
Anji
2007 Aug 04 6:48 AM
Hi
check this sample one
data: it_message3 type standard table of solisti1 initial size 0
with header line.
data: it_message4 type standard table of solisti1 initial size 0
with header line.
***Give your select statement here for ur required coding part
then concatenate like this
concatenate 'Maturity After 2Days' 'for' 'G/L account-' it_message3
'--' IT_MESSAGE4 ',' 'Amount-' it_message2
into it_message separated by space.
Reward all helpfull answers
Regards
Pavan
2007 Aug 04 8:11 AM
Hi,
You need to write like this
CONCATINATE FIELD1 FIELD2 into FIELD3 SEPARATED BY SPACE
Regards
Sudheer