‎2006 Jan 13 7:28 AM
Hi,
I have forgotten one of the basic principles of abap,
so could anybody tell me how does one assign an apostrophe to a variable i.e how does one assign the character ' to a variable??
‎2006 Jan 13 7:39 AM
Hi,
REPORT ZSRITEST.
<b>DATA: lv_quote.
lv_quote = ''''.</b>
WRITE lv_quote.Hope this helps..
Sri
‎2006 Jan 13 7:39 AM
Hi,
REPORT ZSRITEST.
<b>DATA: lv_quote.
lv_quote = ''''.</b>
WRITE lv_quote.Hope this helps..
Sri
‎2006 Jan 13 7:41 AM
Hi arup,
its simple !
1. sample code (just copy paste)
report abc.
data : var(10) type c.
var = 'amit'''.
write 😕 var.
2. ********************
use TWO single quotes continuosuly
to tell abap to consider it as
single quote for string purpose.
regards,
amit m.