openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/CPE_OW_TEST:
    post:
      tags:
      - CPE_TEST
      summary: Test formula OW functions
      operationId: /rfc/CPE_OW_TEST
      requestBody:
        content:
          application/json:
            schema:
              properties:
                IV_DOCITEM_GUID:
                  type: string
                  format: byte
                  description: CPE Caller - GUID of Document Item
                IV_DOC_GUID:
                  type: string
                  format: byte
                  description: CPE Caller  - GUID of Document Header
              required:
              - IV_DOCITEM_GUID
              - IV_DOC_GUID
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ET_MSG_COM:
                    type: array
                    items:
                      type: object
                      properties:
                        MSGTY:
                          type: string
                          maxLength: 1
                          description: Message Type
                        MSGID:
                          type: string
                          maxLength: 20
                          description: Message Class
                        MSGNO:
                          type: integer
                          format: int64
                          description: Message Number
                        MSGV1:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        MSGV2:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        MSGV3:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        MSGV4:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        MSGTEXT:
                          type: string
                          maxLength: 273
                          description: 'Application Log: Message text with parameters'
                  EV_ERROR_OCCURRED:
                    type: string
                    maxLength: 1
                    description: Single-character flag
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
