‎2007 Aug 30 8:24 AM
Hi All,
Can you please let me know, how to read a String within the sinle quote in line.
I have to read a report into internal table and again from that I need to read a string within the single quote. Please help me in this.
Thanks in Advance,
Raghu
‎2007 Aug 30 8:29 AM
hi,
data:str type string value 'xyz''abc''def'.
data:str1 type string value '''my string'''
write:/ str.
write:/ str1.
<b>reward if helpful</b>
rgds,
bharat.
‎2007 Aug 30 9:23 AM
Hi Bharat,
I want to retrive the string from another report into my new report and that string is not stored in any vairable.
Like there is one string in Line 243 with single quote and I need to capture that to one variable in my new report.
Regards,
Raghu
‎2007 Aug 30 8:30 AM
hai raghu,
i didn't get ur actual requirement,
u can read data from a file to internal table but not from ur report
can eloberate ur requirement?
regards
ramesh,
‎2007 Aug 30 9:13 AM
I have to read a report into another report, that I can do using read report into an internal table.
Then from this internal table I need to fetch the string which is in ' ' (single quote).
Hope this suffice.
‎2007 Nov 07 10:19 PM
I have the following code:
REPORT test.
DATA: v_test(05) TYPE c.
v_test = TTT.
I am getting this errror:
Field TTT is unknown. It is neither kin on e of the specified tables nor defined by a DATA statement.
For some reason, my single quote is not being recognized from my keyboard. I noticed that my emotion icons are not being displayed either (example: I type and i do NOT get the smiley face on my end).
Is there a button that I pressed that caused that?
‎2007 Nov 07 10:34 PM
Well, somehow, you aren't actually using a single quote. Cut and paste this and see if it's any better.
DATA: v_test(05).
v_test = 'TTT'.
Rob