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

Runtime structure creation

$
0
0

Hello ABAP experts,

 

I would like to create a structure. This structure should have the field names that I select from a table value.

 

For example,

 

Let's say my select statement returns the value 'VALUE1', my structure definition should be

 

begin of stru1 ,

    'VALUE1'(20) type c,

    belnr type belnr,

    matnr type matnr,

end of stru1.

 

Is this possible? If so, can you please provide me a sample code?

 

Thank you,

Ram Kannan


Viewing all articles
Browse latest Browse all 8332

Trending Articles



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