openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/CAT_FORM_EXECUTE:
    post:
      tags:
      - SCAT
      operationId: /rfc/CAT_FORM_EXECUTE
      requestBody:
        content:
          application/json:
            schema:
              properties:
                FUNCNAME:
                  type: string
                  maxLength: 30
                  description: Function module name
                PARAMTAB:
                  type: array
                  items:
                    type: object
                    properties:
                      ABLNR:
                        type: string
                        maxLength: 30
                        description: CATT - Test case
                      LFDNR:
                        type: integer
                        format: int64
                        description: 'CATT: Serial Number'
                      PARNA:
                        type: string
                        maxLength: 12
                        description: CATT - Parameter name
                      PATYP:
                        type: string
                        maxLength: 1
                        description: CATT - Parameter type (I,E,V)
                      PAVAL:
                        type: string
                        maxLength: 132
                        description: CATT - Parameter value
              required:
              - FUNCNAME
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  RETURNCODE:
                    type: integer
                    format: int32
                    description: Function module name
                  PARAMTAB:
                    type: array
                    items:
                      type: object
                      properties:
                        ABLNR:
                          type: string
                          maxLength: 30
                          description: CATT - Test case
                        LFDNR:
                          type: integer
                          format: int64
                          description: 'CATT: Serial Number'
                        PARNA:
                          type: string
                          maxLength: 12
                          description: CATT - Parameter name
                        PATYP:
                          type: string
                          maxLength: 1
                          description: CATT - Parameter type (I,E,V)
                        PAVAL:
                          type: string
                          maxLength: 132
                          description: CATT - Parameter value
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
