‎2010 Aug 09 6:54 PM
Hi,
How can I concatename following string -
His car is 'Black' in color .
The color Black has to be in between commas.
I am getting error when I do the following -
concatenate 'His car is 'Black' in color' into <var_name> is not working.
Please help me.
Regards,
SC
‎2010 Aug 09 7:42 PM
‎2010 Aug 09 7:41 PM
Hello,
I think Single quote is not possible.
You can try like this.
data:RETURNCODE type string,
valueout type string.
concatenate ' " ' 'black' ' " ' into valueout.
concatenate 'His car is' valueout 'in color' into RETURNCODE.
write RETURNCODE.
Thanks.
Ramya.
‎2010 Aug 09 7:42 PM
‎2010 Aug 09 7:44 PM
‎2010 Aug 09 8:27 PM
‎2010 Aug 09 8:34 PM
DATA: Z_TEMP(500) TYPE C VALUE ' '.
CONCATENATE 'His car is &' 'Black' '& in color' INTO Z_TEMP.
REPLACE ALL OCCURRENCES OF '&' IN Z_TEMP WITH ''''.
*/ Single quotes should show in debug mode