Quantcast
Channel: SCN : All Content - ABAP Development
Viewing all articles
Browse latest Browse all 8332

Issues while using READ REPORT 'rep' INTO 'itab'

$
0
0

Hello,

 

I have a requirement where in I need to read a report and then further process it. I then need to read the lines of the report and take some variables based on the calls my read report has made.

 

Issue I am facing here is when I tried to read the report it took it as it is in my ITAB but not as each executable line in one line. For example:

REP1 has a concatenate statement which I have written like below

CONCATENATE

                         'This is Output.'

                         var1 var2

                         into var3

                         separated by space.

Now when I read this REP1 in my REP2 I got these lines like this itself rather I want it like one executable mine in one line. My requirement is to read one executable line at a time and process it.

So my read report internal table should give me:

CONCATENATE 'This is Output.' var1 var2 into var3 separated by space.

Likewise I may have any number of lines and any number of statements.

 

Is there any way to achieve this requirement? Pls help !!

 

Thanks

Harjeet


Viewing all articles
Browse latest Browse all 8332

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>