openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RHPE_HALFVAL_VALID_READ:
    post:
      tags:
      - RHPE
      operationId: /rfc/RHPE_HALFVAL_VALID_READ
      requestBody:
        content:
          application/json:
            schema:
              properties:
                GDATE:
                  type: string
                  format: date
                  default: SY-DATUM
                  description: Key Date
                OBJID:
                  type: integer
                  format: int64
                  description: Operation
                OTYPE:
                  type: string
                  default: Q
                  maxLength: 2
                  description: Plan Version
                PLVAR:
                  type: string
                  maxLength: 2
                  description: Plan Version
              required:
              - OBJID
              - PLVAR
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  BEGDA:
                    type: string
                    format: date
                  ENDDA:
                    type: string
                    format: date
                  MONTHS:
                    type: integer
                    format: int64
                  TYPE:
                    type: string
                    maxLength: 1
                  YEARS:
                    type: integer
                    format: int64
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
