openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/OSP/BWRP_CONVT_VARI_STR2STRCT:
    post:
      tags:
      - /OSP/BW_REPORT
      summary: Parse  BW variable string and convert it to a structure form
      operationId: /rfc/OSP/BWRP_CONVT_VARI_STR2STRCT
      requestBody:
        content:
          application/json:
            schema:
              properties:
                IV_VARIABLE_STRING:
                  type: string
                  description: BW Variable name-value string
              required:
              - IV_VARIABLE_STRING
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ET_VARIABE_VALUES:
                    type: array
                    items:
                      type: object
                      properties:
                        SELNAME:
                          type: string
                          maxLength: 8
                          description: ' Name of SELECT-OPTION / PARAMETER'
                        KIND:
                          type: string
                          maxLength: 1
                          description: Type of selection
                        SIGN:
                          type: string
                          maxLength: 1
                          description: ' I/E (include/exclude values)'
                        OPTN:
                          type: string
                          maxLength: 2
                          description: ' Selection option (EQ/BT/CP/...)'
                        LOW:
                          type: string
                          maxLength: 45
                          description: Selection value (LOW or HIGH value, external format)
                        HIGH:
                          type: string
                          maxLength: 45
                          description: Selection value (LOW or HIGH value, external format)
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
