openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/CPE_DOC_TEST:
    post:
      tags:
      - CPE_TEST
      summary: Function Module to call testing Report
      operationId: /rfc/CPE_DOC_TEST
      requestBody:
        content:
          application/json:
            schema:
              properties:
                IV_APPSERV:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: Single-character flag
                IV_DISPLAYLIST:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: Single-character flag
                IV_GENERATE_GUIDS:
                  type: string
                  default: X
                  maxLength: 1
                  description: Single-character flag
                IV_PRESSERV:
                  type: string
                  default: X
                  maxLength: 1
                  description: Single-character flag
                IV_SOURCE:
                  type: string
                  maxLength: 100
                  description: 30 Characters
                ET_RESULT:
                  type: array
                  items:
                    type: object
                    properties:
                      ROLLNAME:
                        type: string
                        maxLength: 30
                        description: Data element (semantic domain)
                      OBJECT:
                        type: integer
                        format: int64
                        description: CPE - Routine
                      TEXT:
                        type: string
                        maxLength: 40
                        description: Description
              required:
              - IV_APPSERV
              - IV_DISPLAYLIST
              - IV_GENERATE_GUIDS
              - IV_PRESSERV
              - IV_SOURCE
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  EV_TEST_ERROR_OCCURRED:
                    type: string
                    maxLength: 1
                    description: Single-character flag
                  ET_RESULT:
                    type: array
                    items:
                      type: object
                      properties:
                        ROLLNAME:
                          type: string
                          maxLength: 30
                          description: Data element (semantic domain)
                        OBJECT:
                          type: integer
                          format: int64
                          description: CPE - Routine
                        TEXT:
                          type: string
                          maxLength: 40
                          description: Description
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
