SAP Function TREX_FILL_ATTRDEF_BY_TABNAME - find out fields and keys of db table and put into attrdef and keyattr tab

Parameter Reference Type Length Default Optional Text
I_TABLE_NAME TABNAME C 30 Table Name

Parameter Reference Type Length Text
E_ATTRIBUTE_DEFINITIONS TREXT_ATTR_DEF h 144 Attribute definitions
E_KEY_ATTRIBUTES TREXT_ATTRIBUTES h 64 Key Attributes

Exception Text
INVALID_INPUT