openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SKWF_UTIL_PKG_FIND_BY_KEY:
    post:
      tags:
      - SKWF_UTIL
      operationId: /rfc/SKWF_UTIL_PKG_FIND_BY_KEY
      requestBody:
        content:
          application/json:
            schema:
              properties:
                KEY:
                  type: object
                  properties:
                    KEY_TEXT:
                      type: string
                      maxLength: 255
                      description: 'KW Framework: Key as Character String'
              required:
              - KEY
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ERROR:
                    type: object
                    properties:
                      ID:
                        type: string
                        maxLength: 20
                        description: Message Class
                      TYPE:
                        type: string
                        maxLength: 1
                        description: Message Type
                      'NO':
                        type: integer
                        format: int64
                        description: Message Number
                      V1:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      V2:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      V3:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      V4:
                        type: string
                        maxLength: 50
                        description: Message Variable
                  PACKAGE:
                    type: object
                    properties:
                      MANDT:
                        type: string
                        maxLength: 3
                        description: Client ID of Current User
                      ID:
                        type: string
                        maxLength: 32
                        description: 'KW Framework: Package ID'
                      TYPE:
                        type: integer
                        format: int64
                        description: 'KW Framework: Package Type  enumValues: 03=Dynamic,01=Root,02=Query,00=Standard'
                        enum:
                        - '03'
                        - '01'
                        - '02'
                        - '00'
                      CREA_USER:
                        type: string
                        maxLength: 12
                        description: Created By
                      CREA_TIME:
                        type: integer
                        format: int64
                        description: Creation time (UTC)
                      CHNG_USER:
                        type: string
                        maxLength: 12
                        description: Last changed by
                      CHNG_TIME:
                        type: integer
                        format: int64
                        description: Time of change (UTC)
                      X_HIDDEN:
                        type: string
                        maxLength: 1
                        description: 'KW Framework: Boolean flag (''X'' set, '' '' deleted)  enumValues: X=Flag set,""=Flag deleted'
                        enum:
                        - X
                        - ''
                      X_SHARED:
                        type: string
                        maxLength: 1
                        description: 'KW Framework: Boolean flag (''X'' set, '' '' deleted)  enumValues: X=Flag set,""=Flag deleted'
                        enum:
                        - X
                        - ''
                      POS:
                        type: integer
                        format: int64
                        description: Position for Display
                      DESCRIPT:
                        type: string
                        maxLength: 64
                        description: 'KW Framework: Description'
                      CTX:
                        type: string
                        maxLength: 32
                        description: 'KW Framework: Context ID'
                      APPL:
                        type: string
                        maxLength: 15
                        description: Application
                      QUERY:
                        type: string
                        maxLength: 32
                        description: 'KW Framework: ID of a stored query'
                      CSPC:
                        type: string
                        maxLength: 30
                        description: 'Model: Entity Name'
                      ORDER_TYPE:
                        type: string
                        maxLength: 1
                        description: 'KW Framework: Sort Sequence  enumValues: ""=No sorting,M=Manual Sort'
                        enum:
                        - ''
                        - M
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
