Quantcast
Channel: SCN: Message List - ABAP for SAP HANA
Viewing all articles
Browse latest Browse all 2110

ABAP CDS View with dynamic table specification

$
0
0

Hello,

 

Just wondering if dynamic table specification is possible with CDS view?

 

My requirement is to represent the below in a CDS view-

 

parameters: p_region type char5.

 

SELECT table_name

      FROM Ztable_names

      INTO @data(lv_table)

      WHERE region = @p_region.

 

SELECT col1,

              col2

    FROM (lv_table)

    INTO TABLE @DATA(lv_result).


Thanks,

Ajith


Viewing all articles
Browse latest Browse all 2110

Trending Articles



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