openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/CPE_FORMCONV_READ_ALL_CB:
    post:
      tags:
      - CPE_FORMCONV_CB
      summary: CPE_C - Formula Conversion - Read All from Customizing Buffer
      operationId: /rfc/CPE_FORMCONV_READ_ALL_CB
      requestBody:
        content:
          application/json:
            schema:
              properties:
                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_VALIDTO
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ET_FORMCONV:
                    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'
                        VALIDTO:
                          type: string
                          maxLength: 14
                          description: CPE - 'Valid From' Time Stamp of Commodity Pricing Object
                        CONVPLACE:
                          type: integer
                          format: int64
                          description: CPE - Conversion Place
                        CURRFROM:
                          type: string
                          maxLength: 5
                          description: CPE - Currency to Be Converted During Conversion ('from')
                        UOMFROM:
                          type: string
                          maxLength: 3
                          description: CPE - Unit of Measure to Be Converted During Conv. ('From')
                        CURRTO:
                          type: string
                          maxLength: 5
                          description: CPE - Currency to Be Converted to During Conversion ('to')
                        UOMTO:
                          type: string
                          maxLength: 3
                          description: CPE - Unit of Measure Converted to During Conversion
                        CONVERSIONRULE:
                          type: string
                          maxLength: 5
                          description: CPE - Conversion Rule
                        FIXEXCHRATE:
                          type: integer
                          format: int64
                          description: CPE Term - Fixed Exchange Rate for Currency Conversion
                        FACTORFROM:
                          type: integer
                          format: int64
                          description: CPE - From-Factor for Conversion
                        FACTORTO:
                          type: integer
                          format: int64
                          description: CPE - To-Factor for Conversion
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
