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

Dynamic Select Query with dynamically determined fields and table

$
0
0

Hello Experts,

 

I have got a requirement in which I have to fetch the table name from table TAB1 and fields from table TAB2.

 

I am not sure which all fields will be present in TAB2 and hence I cannot do a Select * on TAB1. I have to select only those fields which are mentioned in TAB2.

 

Can anyone suggest which logic with some code so that this requirement can be fulfilled.

 

Thanks

Jaydeep


Viewing all articles
Browse latest Browse all 8332

Trending Articles



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