search_abap_syntax
Searches official ABAP syntax documentation and returns the relevant section based on a free-text query. Use to verify syntax before writing ABAP code.
Instructions
Searches the official ABAP syntax documentation from help.sap.com based on a free-text query (e.g. 'SELECT UP TO ROWS', 'LOOP AT clause order'). Automatically identifies the main keyword, loads the documentation page and returns the relevant syntax section. Call BEFORE writing ABAP code to ensure correct syntax.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Free-text search query for ABAP syntax (e.g. 'SELECT UP TO ROWS', 'LOOP AT clause order', 'READ TABLE WITH KEY'). The tool identifies the main keyword, loads the official SAP documentation page and returns the relevant syntax section. | |
| version | No | ABAP version (e.g. 'latest', '758', '754'). Default: cfg.sapAbapVersion |