Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 11577

Re: Execute code that is stored in a variable

$
0
0

Hi Thomas,

 

right now, I don't care: This is only for having something to show short-term. It is not what (I begin to see more clearly now) I will have to do long-term - though I will probably need that INSERT REPORT or other statements, so learning about that is not a waste of time and I'm grateful for any guidance in that process for there is not much room for errors here.

Like I said, with PROGRAM TYPE 'I' for an INCLUDE it doesn't seem to work whereas when I create an executable program (no PROGRAM TYPE stated) it works and that report declares my table, but then the calling report doesn't know about it.

Thus I think GENERATE SUBROUTINE POOL is more likely what I need. I have also found another thread with a link to some help.sap sites, I will have a look. Nevertheless knowing about that INSERT REPORT is a good thing, I might be able to use that later.

Needless to say, if that PROGRAM TYPE 'I' was feasible somehow, that would be easier, the code in the INCLUDE would create the table like a global variable and I could use it further on. Still, I will see where that GENERATE SUBROUTINE POOL takes me.

Best regards,

 

Sapperdapper


Viewing all articles
Browse latest Browse all 11577

Trending Articles



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