service: Service binding lifecycle
Publish, unpublish, inspect, and smoke-test OData service bindings (V2 and V4).
Related guides: services-odata.
4 commands.
abapctl service publish
IDEMPPublish a service binding to make it available as OData service
read-only with --dry-run
| Option | Required | Description |
|---|---|---|
name (positional) | yes | name (object/name argument) |
--connection | no | connection profile name |
--protocol | no | OData protocol (auto-detected from the binding when omitted) |
--dry-run | no | show what would be published without publishing |
abapctl service publish ZCL_FOO --dry-run
abapctl service unpublish
DESTR IDEMPUnpublish a service binding
prompts for confirmation; read-only with --dry-run
| Option | Required | Description |
|---|---|---|
name (positional) | yes | name (object/name argument) |
--connection | no | connection profile name |
--yes | no | skip confirmation prompt |
--protocol | no | OData protocol (auto-detected from the binding when omitted) |
--dry-run | no | show what would be unpublished without unpublishing |
abapctl service unpublish ZCL_FOO --dry-run
abapctl service binding-details
READ IDEMPShow a service binding: protocol version, published state, service definition, OData URL
| Option | Required | Description |
|---|---|---|
name (positional) | yes | name (object/name argument) |
--connection | no | connection profile name |
abapctl service binding-details ZCL_FOO
abapctl service test
READ IDEMPVerify a published binding actually serves data: resolve runtime URL, fetch metadata, smoke-query
| Option | Required | Description |
|---|---|---|
binding (positional) | yes | binding (object/name argument) |
--connection | no | connection profile name |
--runtime-url | no | explicit OData runtime URL (skips auto-resolution) |
--protocol | no | override the binding protocol |
--rows | no | rows to smoke-query ($top) |
abapctl service test <binding>