openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/CPE_SURCHARGE_READ_CB:
    post:
      tags:
      - CPE_SURCHARGE_CB
      summary: CPE_C - Surcharge - Read Customizing Buffer
      operationId: /rfc/CPE_SURCHARGE_READ_CB
      requestBody:
        content:
          application/json:
            schema:
              properties:
                IV_LANGU:
                  type: string
                  default: SY-LANGU
                  maxLength: 1
                  description: Language key
                IV_LOGSYS:
                  type: string
                  maxLength: 10
                  description: Logical system
                IV_NO_BUFFER:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: Single-character flag
                IV_SURCHARGERULE:
                  type: string
                  maxLength: 5
                  description: CPE Term - Surcharge Rule
                IV_VALIDTO:
                  type: string
                  maxLength: 14
                  description: CPE - Valid to Time Stamp of Object
              required:
              - IV_LOGSYS
              - IV_SURCHARGERULE
              - IV_VALIDTO
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ES_SURCHARGE:
                    type: object
                    properties:
                      CLIENT:
                        type: string
                        maxLength: 3
                        description: Client
                      LOGSYS:
                        type: string
                        maxLength: 10
                        description: Logical system
                      SURCHARGERULE:
                        type: string
                        maxLength: 5
                        description: CPE Term - Surcharge Rule
                      VALIDTO:
                        type: string
                        maxLength: 14
                        description: CPE - 'Valid From' Time Stamp of Commodity Pricing Object
                      SURCHARGEROUT:
                        type: integer
                        format: int64
                        description: CPE Term - Surcharge Routine
                      SURCHARGEABS:
                        type: integer
                        format: int64
                        description: CPE Term - Absolute Surcharge for Commodity
                      SURCHARGECURR:
                        type: string
                        maxLength: 5
                        description: CPE Term - Currency of Absolute Surcharge
                      SURCHARGEPRUN:
                        type: integer
                        format: int64
                        description: CPE Term - Price Unit of Absolute Surcharge
                      SURCHARGEUOM:
                        type: string
                        maxLength: 3
                        description: CPE Term - Unit of Measure of Absolute Surcharge
                      SURCHARGEFACTOR1:
                        type: integer
                        format: int64
                        description: CPE Term - Factor 1 when Combining Surcharge and Quotation
                      SURCHARGEFACTOR2:
                        type: integer
                        format: int64
                        description: CPE Term - Factor 2 when Combining Surcharge and Quotation
                  EV_RULETEXT:
                    type: string
                    maxLength: 40
                    description: Description
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
