openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/ENQUEUE_ESSORD:
    post:
      tags:
      - /1BCDWBEN/SEN5
      summary: Request lock for object ESSORD
      operationId: /rfc/ENQUEUE_ESSORD
      requestBody:
        content:
          application/json:
            schema:
              properties:
                FOLNO:
                  type: string
                  maxLength: 12
                  description: 04th enqueue argument
                FOLTP:
                  type: string
                  maxLength: 3
                  description: 02th enqueue argument
                FOLYR:
                  type: string
                  maxLength: 2
                  description: 03th enqueue argument
                MANDT:
                  type: string
                  default: SY-MANDT
                  maxLength: 3
                  description: 01th enqueue argument
                MODE_SORD:
                  type: string
                  default: E
                  maxLength: 1
                  description: Lock mode for table SORD
                OBJNO:
                  type: string
                  maxLength: 12
                  description: 10th enqueue argument
                OBJTP:
                  type: string
                  maxLength: 3
                  description: 08th enqueue argument
                OBJYR:
                  type: string
                  maxLength: 2
                  description: 09th enqueue argument
                USRNO:
                  type: string
                  maxLength: 12
                  description: 07th enqueue argument
                USRTP:
                  type: string
                  maxLength: 3
                  description: 05th enqueue argument
                USRYR:
                  type: string
                  maxLength: 2
                  description: 06th enqueue argument
                X_FOLNO:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: Fill argument 04 with initial value?
                X_FOLTP:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: Fill argument 02 with initial value?
                X_FOLYR:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: Fill argument 03 with initial value?
                X_OBJNO:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: Fill argument 10 with initial value?
                X_OBJTP:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: Fill argument 08 with initial value?
                X_OBJYR:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: Fill argument 09 with initial value?
                X_USRNO:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: Fill argument 07 with initial value?
                X_USRTP:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: Fill argument 05 with initial value?
                X_USRYR:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: Fill argument 06 with initial value?
                _COLLECT:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: Initially only collect lock
                _SCOPE:
                  type: integer
                  format: int64
                  default: 2
                  description: Fill argument 10 with initial value?
                _WAIT:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: Fill argument 10 with initial value?
      responses:
        '200':
          description: OK
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
