Quantcast
Channel: SCN : All Content - ABAP for SAP HANA
Viewing all articles
Browse latest Browse all 831

Dynamically generating abap internal table from HANA table / view

$
0
0

Hello!

 

What I am trying to accomplish is a way to dynamically create an internal table that an SQL query from ABAP to a HANA DB can be stored in without previously knowing the structure of the table or view I am selecting from.

 

for example:  SELECT * FROM "Schema"."View_Name"

 

I dont necessarily know the exact structure of that view, but want to be able to select it into an internal table on the fly so to speak.

 

There was supposed to be a method from cl_sql_result_set  called   get_metadata method, but I can't seem to find that... has it been depreciated or dropped?

 

thanks in advace,

John


Viewing all articles
Browse latest Browse all 831

Trending Articles



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