Skip to Content
0
Former Member
Dec 09, 2009 at 01:59 PM

Read structur field properties

46 Views

hy all

i need your help. i have define an structur, for example

 
    types: begin of ts_matnr_inf,
            matnr type matnr,
            maktx type maktx,
            mtart type mtart,
            prdha type prodh_d,
            mstav type mstav,
            zzhwgrp type zzhwgrp,
           end of ts_matnr_inf.

now i want read all properties from this structur in a lvc_t_fcat table like function module LVC_FIELDCATALOG_MERGE.

i can't use this function module, because the structure definition is local not global. I know that RTTI Services that can give me information about structure, i don't give me lvc_t_fcat type return. Later, i wont create a dynamic table wtih a cl_alv_table_create class.

I hope your know want i mean.

Regards