GetServiceDefinition
Retrieve the source code of a RAP Service Definition (SRVD) from an SAP ABAP system. Supports paging through large definitions with line offsets.
Instructions
Retrieve RAP Service Definition (SRVD) source code (requires ~NW 7.54 / S/4HANA). For large definitions, use startLine/maxLines to page through the source instead of retrieving it all at once.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| maxLines | No | Maximum lines to return (1-100000). Omit to request the rest; the byte cap may return fewer lines. | |
| startLine | No | 1-based line number to start from (default 1). Beyond EOF returns an empty page with hasMore=false. | |
| service_definition_name | Yes | Name of the RAP Service Definition (e.g. Z_MY_SERVICE) |