validate_ddic_references
Validates ABAP source code against DDIC metadata, detecting invalid table-field references in TYPE, SELECT, WHERE, and New SQL to prevent syntax errors.
Instructions
Statically analyzes ABAP source code and checks all referenced table fields against DDIC metadata. Returns a list of invalid field names. ⚡ Recommended to call before write_abap_source to avoid 'Field unknown' syntax errors. Detects: (1) TYPE/LIKE tab-field, (2) table~field (New SQL), (3) SELECT field list FROM table, (4) WHERE clause fields.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | Yes | ABAP source code to validate program logic for |