openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/CPE_TERMGRP_READ_MULTI_CB:
    post:
      tags:
      - CPE_TERMGRP_CB
      summary: CPE_C - Term Group - Read Multiple from Customizing Buffer
      operationId: /rfc/CPE_TERMGRP_READ_MULTI_CB
      requestBody:
        content:
          application/json:
            schema:
              properties:
                IV_COND_TYPE:
                  type: string
                  maxLength: 4
                  description: Condition type
                IV_FORMID:
                  type: string
                  maxLength: 10
                  description: CPE Formula - Key
                IV_LOGSYS:
                  type: string
                  maxLength: 10
                  description: Logical system
                IV_NO_BUFFER:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: Single-character flag
                IV_VALIDTO:
                  type: string
                  maxLength: 14
                  description: CPE - Valid to Time Stamp of Object
              required:
              - IV_COND_TYPE
              - IV_FORMID
              - IV_LOGSYS
              - IV_VALIDTO
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ET_TERMGRP:
                    type: array
                    items:
                      type: object
                      properties:
                        CLIENT:
                          type: string
                          maxLength: 3
                          description: Client
                        LOGSYS:
                          type: string
                          maxLength: 10
                          description: Logical system
                        FORMID:
                          type: string
                          maxLength: 10
                          description: CPE Formula - Key
                        COND_TYPE:
                          type: string
                          maxLength: 4
                          description: 'CPE: Condition Type for Commodity Pricing'
                        TERMNO:
                          type: integer
                          format: int64
                          description: CPE Term - Number in Formula
                        VALIDTO:
                          type: string
                          maxLength: 14
                          description: CPE - 'Valid From' Time Stamp of Commodity Pricing Object
                        TERMID:
                          type: string
                          maxLength: 10
                          description: CPE Term -  Key
                        TERMGROUP:
                          type: string
                          maxLength: 1
                          description: CPE Term - Term Group
                        PROVIS:
                          type: string
                          maxLength: 1
                          description: CPE Term - Term Is Used only for Provisional Pricing
                        PROVTERMNO:
                          type: integer
                          format: int64
                          description: CPE Term - Number of the Corresponding Provisional Term
                        FACTOR1:
                          type: integer
                          format: int64
                          description: CPE Term - Factor 1
                        FACTOR2:
                          type: integer
                          format: int64
                          description: CPE Term - Factor 2
                        TERMCOMMQUAN:
                          type: integer
                          format: int64
                          description: CPE Term - Total Commodity Quantity for Calculating Term
                        TERMCOMMUOM:
                          type: string
                          maxLength: 3
                          description: CPE Term - Unit of Measure of Total Commodity Quantity
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
