Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8802

Re: Field names of internal table

$
0
0

Hello Alita,

 

Please, adjust the call of GET_COMPONENT_LIST by passing not the internal table for an import parameter FIELDNAME, but the char-like variable or literal holding the name of the internal table for which you would like to retrieve its components. The simplest way here would be to put internal table's name in quatation marks:

 

CALL FUNCTION 'GET_COMPONENT_LIST'

   EXPORTING

     program    = sy-repid

     fieldname  = 'itab'

   TABLES

     components = lt_comp.

 

Regards,

Vadim


Viewing all articles
Browse latest Browse all 8802

Trending Articles



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