sap-data-dictionary

Get table field description programmatically

痞子三分冷 提交于 2020-03-21 21:56:52
问题 I'm trying to query SAP's data dictionary through ERPConnect's ABAP API. The code below retrieves the table names and various field properties fine but fails to show the field description. Anyone knows why? Thanks REPORT ZSELECTCOMMAND. TABLES: DD02L, DD03L, DD02T, DD04T. DATA: BEGIN OF tb_meta, tabname TYPE DD02L-tabname, fieldname TYPE DD03L-fieldname, datatype TYPE DD03L-datatype, leng TYPE DD03L-leng, decimals TYPE DD03L-decimals, position TYPE DD03L-position, desc TYPE DD04T-ddtext, END