03-10-2009 7:34 AM
Hi,
i do not have a reference table in the data dictionary to spcidy the ref_tablename and ref_fieldname in the fcat structure. What i have is the the datatype which is in the data dictionary. IS there a place in the fact structure to use this?
Of course i can use the seltexts in the structure, but then i have to translate them into many languages as well and this is what i dont wanna do.
Next possibility is to declare my table in the data dictionary, but htis a table only used once for sure.
So, what chance do i have using the datatype only? Using the field datatype in the fcat structure does not fill the labels.
03-10-2009 7:42 AM
03-10-2009 7:37 AM
Try these fields from slis_fieldcat_main0 structure.
datatype like dd03p-datatype,
inttype like dd03p-inttype,
03-10-2009 7:39 AM
Hi,
Try:-
SELECT * FROM dd03t WHERE tabname = '<table_name>'.
CLEAR afield.
afield-fieldname = dd03t-fieldname.
afield-tabname = 'gt_alv_out'. "internal table
afield-seltext_l = dd03t-ddtext.
APPEND afield TO xfield.
ENDSELECT.
Hope this helps you.
Regards,
Tarun
03-10-2009 7:42 AM