SAP · Capability

SAP S/4HANA Cloud Business Partner API — Roles

SAP S/4HANA Cloud Business Partner API — Roles. 1 operations. Lead operation: Sap List Business Partner Roles. Self-contained Naftiko capability covering one Sap business surface.

Run with Naftiko SapRoles

What You Can Do

GET
Listbusinesspartnerroles — Sap List Business Partner Roles
/v1/a-businesspartnerrole

MCP Tools

sap-list-business-partner-roles

Sap List Business Partner Roles

read-only idempotent

Capability Spec

s4hana-cloud-business-partner-roles.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: SAP S/4HANA Cloud Business Partner API — Roles
  description: 'SAP S/4HANA Cloud Business Partner API — Roles. 1 operations. Lead operation: Sap List Business Partner Roles.
    Self-contained Naftiko capability covering one Sap business surface.'
  tags:
  - Sap
  - Roles
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    SAP_API_KEY: SAP_API_KEY
capability:
  consumes:
  - type: http
    namespace: s4hana-cloud-business-partner-roles
    baseUri: https://{host}/sap/opu/odata/sap/API_BUSINESS_PARTNER
    description: SAP S/4HANA Cloud Business Partner API — Roles business capability. Self-contained, no shared references.
    resources:
    - name: A_BusinessPartnerRole
      path: /A_BusinessPartnerRole
      operations:
      - name: listbusinesspartnerroles
        method: GET
        description: Sap List Business Partner Roles
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: bearer
      token: '{{env.SAP_API_KEY}}'
  exposes:
  - type: rest
    namespace: s4hana-cloud-business-partner-roles-rest
    port: 8080
    description: REST adapter for SAP S/4HANA Cloud Business Partner API — Roles. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/a-businesspartnerrole
      name: a-businesspartnerrole
      description: REST surface for A_BusinessPartnerRole.
      operations:
      - method: GET
        name: listbusinesspartnerroles
        description: Sap List Business Partner Roles
        call: s4hana-cloud-business-partner-roles.listbusinesspartnerroles
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: s4hana-cloud-business-partner-roles-mcp
    port: 9090
    transport: http
    description: MCP adapter for SAP S/4HANA Cloud Business Partner API — Roles. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: sap-list-business-partner-roles
      description: Sap List Business Partner Roles
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: s4hana-cloud-business-partner-roles.listbusinesspartnerroles
      outputParameters:
      - type: object
        mapping: $.