讀取原始碼
read_sourceReads ABAP object source code by URI. Supports optional line range and returns line-numbered content, truncated with a marker if needed.
Instructions
讀取 ABAP 物件的原始碼。可傳入物件 URI(自動解析 main include)或完整 source URI。回傳內容含行號,超過上限時會截斷並標註。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end_line | No | 選填:結束行(含) | |
| object_url | Yes | 物件 URI 或 source URI,例如 /sap/bc/adt/oo/classes/zcl_demo | |
| start_line | No | 選填:起始行(1-based) |