tableFields
Lists all fields of an ABAP table or structure with includes expanded, showing position, key flags, data element, ABAP type, length, decimals, and texts. Read-only; executes nothing.
Instructions
The fields of a table or structure, with the includes spliced in where they sit. Each field carries its position, key and not-null flags, data element, domain, ABAP type, length and decimals, the table its value is checked against, the field holding its unit or currency, and its text in the connection language. This is the answer to "what is in this table": getStructureSource gives the DDL text, where the type of a field is the name of its data element and an .INCLUDE is a line of text rather than the fields it brings - for EKPO, most of them. Reading only, and it executes nothing, so it works on a system where nothing may run.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Table or structure, e.g. EKPO or ZAPPSTEP_POS. | |
| fields | No | Keep only the fields whose name contains this text, case-insensitive - for a table with hundreds of them. | |
| keysOnly | No | Keep only the key fields. Default false. | |
| maxFields | No | Fields to return, default 200. The full count is reported either way. | |
| withTexts | No | Read the data element texts. Default true; false saves one query per 60 elements. | |
| expandIncludes | No | Splice the fields of an .INCLUDE into the list. Default true; false lists the include markers instead, which is the shape of the definition. |