Skip to Content
0
Former Member
Jun 08, 2007 at 03:11 PM

Get Data Type from its name...

14 Views

Hi,

I have a table name and a field name in two char variables, I want to the data type of the variable. Is there any function to do this?

For example:

CALL FUNCTION get_data_type

EXPORTING

table_name = 'SPFLI'

field_name = 'CARRID'

IMPORTING

data_type = data_type.

where at the end data_type would have 'CHAR'.

Thanks in advance,

André Costa