2006 Aug 02 6:53 AM
Hi,
I need to insert in the string veriable the special character '. How should I do it ?
variable = '''.
It does not work ...
BR
Wojcieh
2006 Aug 02 6:55 AM
2006 Aug 02 6:55 AM
2006 Aug 02 6:56 AM
2006 Aug 02 7:02 AM
1)Declare a variable and assign the special character to that variable.
2)Then use the CONCATENATE option to get the value in the string variable.
Just copy and execute this code.
REPORT zztest.
<b>DATA : temp(1) VALUE ''''.</b> Decalare your special character
DATA : variable TYPE string.
START-OF-SELECTION.
BREAK-POINT.
variable = 'SDNSAP'.
CONCATENATE temp variable temp INTO variable.
WRITE : / variable.
<b>The output is</b>
'SDNSAP'
Regards,
AS.
2006 Aug 02 7:13 AM
Hi,
Check this stmt.
concatenate '''' 'PRAKASH' '''' into var1.
write var1
Rgds,
Prakash
2006 Aug 02 7:28 AM
Hi,
Store the special variable value in text Element and then assign to variable.
that is.
variable = TEXT-001.
double click on TEXT-001 and store the value.
<b>Reward Points & Mark Helpful Answers</b>