abap语言中可以通过函数DDIF_FIELDINFO_GET读取数据库表字段的描述。 简单的代码如下: REPORT ztest_get_field_desc. DATA:git_dfies TYPE STANDARD TABLE OF dfies WITH HEADER LINE. CALL FUNCTION 'DDIF_FIELDINFO_GET' EXPORTING tabname = 'EKKO' fieldname = 'EBELN' langu = sy-langu * LFIELDNAME ...
hi experts, i have a requirement how can we select first 10 fields of table dynamically. can anyone send me a sample code using fm DDIF_FIELDINFO_GET.