Quantcast
Channel: SCN: Message List - ABAP Objects
Viewing all articles
Browse latest Browse all 159

Re: Creating a table at runtime from a parameter(Work area)

$
0
0

Hi Ajeet,

 

Ok I thought you are just saying about data example. In case of generic data type, solution is more complicated. Try this:

 

FIELD-symbols <fs_table> type standard table.
DATA l_ref TYPE REF TO data.
CREATE DATA l_ref like table of cs_data.
ASSIGN l_ref->* to <fs_table>.
APPEND cs_data TO <fs_table>.

 

Then your <fs_table> is a table that contains single row.

Hope it helps.

 

Regards

Adam


Viewing all articles
Browse latest Browse all 159

Trending Articles



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