Get ABAP Batch Source
get_abap_batch_linesFetches source code for multiple ABAP objects in one call with URL headers, isolating failures so one bad URL does not block the rest. Use for small batches only.
Instructions
Return the source of several ABAP objects in one call, each under a header line with its URL. One failing URL is reported as an error entry and does not stop the others. Use get_abap_object_lines for a single object. Read-only; the combined text can be large, so batch only what you need.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"urls": "<urls>"
},
"name": "get_abap_batch_lines"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| urls | Yes | ADT URLs of the objects or their sources, e.g. ['/sap/bc/adt/programs/programs/ZREPORT/source/main', '/sap/bc/adt/oo/classes/zcl_order_api'] | |
| connectionId | No | SAP system connection ID |