openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/DB6_PM_EXCLUSIVE_LOCK_WAITERS:
    post:
      tags:
      - SDB6PMST04
      summary: 'DB6: Exclusive Lock Waits'
      operationId: /rfc/DB6_PM_EXCLUSIVE_LOCK_WAITERS
      requestBody:
        content:
          application/json:
            schema:
              properties:
                CONNECTION:
                  type: string
                  maxLength: 30
                  description: Logical name for a database connection
                EXCLUSIVE_LOCK_WAITERS:
                  type: array
                  items:
                    type: object
                    properties:
                      OBJ_NAME:
                        type: string
                        maxLength: 81
                        description: 'Object:  Name of table or index'
                      HOLDER_SID:
                        type: integer
                        format: int32
                        description: SID of a DB session
                      H_HOSTNAME:
                        type: string
                        maxLength: 32
                        description: Name of Current Application Server
                      HOLDER_PID:
                        type: integer
                        format: int32
                        description: PID of an R/3 WP (DB session)
                      WAITER_SID:
                        type: integer
                        format: int32
                        description: SID of a DB session
                      W_HOSTNAME:
                        type: string
                        maxLength: 32
                        description: Name of Current Application Server
                      WAITER_PID:
                        type: integer
                        format: int32
                        description: PID of an R/3 WP (DB session)
                      HELD_SINCE:
                        type: integer
                        format: int32
                        description: Number of seconds that a DB has been locked
                      WAITSSINCE:
                        type: integer
                        format: int32
                        description: Number of seconds waiting for a DB lock
                      LOCK_LEVEL:
                        type: integer
                        format: int32
                        description: DB lock step (1 = holder does not wait for other locks)
                      ADD_INFO:
                        type: string
                        maxLength: 100
                        description: Container for additional database-dependent information
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  EXCLUSIVE_LOCK_WAITERS:
                    type: array
                    items:
                      type: object
                      properties:
                        OBJ_NAME:
                          type: string
                          maxLength: 81
                          description: 'Object:  Name of table or index'
                        HOLDER_SID:
                          type: integer
                          format: int32
                          description: SID of a DB session
                        H_HOSTNAME:
                          type: string
                          maxLength: 32
                          description: Name of Current Application Server
                        HOLDER_PID:
                          type: integer
                          format: int32
                          description: PID of an R/3 WP (DB session)
                        WAITER_SID:
                          type: integer
                          format: int32
                          description: SID of a DB session
                        W_HOSTNAME:
                          type: string
                          maxLength: 32
                          description: Name of Current Application Server
                        WAITER_PID:
                          type: integer
                          format: int32
                          description: PID of an R/3 WP (DB session)
                        HELD_SINCE:
                          type: integer
                          format: int32
                          description: Number of seconds that a DB has been locked
                        WAITSSINCE:
                          type: integer
                          format: int32
                          description: Number of seconds waiting for a DB lock
                        LOCK_LEVEL:
                          type: integer
                          format: int32
                          description: DB lock step (1 = holder does not wait for other locks)
                        ADD_INFO:
                          type: string
                          maxLength: 100
                          description: Container for additional database-dependent information
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
