openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/CPE_ROUNDRULE_READ_ALL_CB:
    post:
      tags:
      - CPE_ROUNDRULE_CB
      summary: CPE_C - Rounding Rule - Read All from Customizing Buffer
      operationId: /rfc/CPE_ROUNDRULE_READ_ALL_CB
      requestBody:
        content:
          application/json:
            schema:
              properties:
                IV_LANGU:
                  type: string
                  default: SY-LANGU
                  maxLength: 1
                  description: R/3 System, current language
                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_ROUNDRULE:
                    type: array
                    items:
                      type: object
                      properties:
                        CLIENT:
                          type: string
                          maxLength: 3
                          description: Client
                        LOGSYS:
                          type: string
                          maxLength: 10
                          description: Logical system
                        ROUNDRULE:
                          type: string
                          maxLength: 5
                          description: CPE - Rounding Rule
                        VALIDTO:
                          type: string
                          maxLength: 14
                          description: CPE - 'Valid From' Time Stamp of Commodity Pricing Object
                        ROUNDROUT:
                          type: integer
                          format: int64
                          description: CPE - Rounding Routine
                        NUMDECS:
                          type: integer
                          format: int64
                          description: CPE - Number of Decimals to Be Rounded to
                        NUMTENS:
                          type: integer
                          format: int64
                          description: CPE - Number of Predecimal Places to Be Rounded to
                  ET_ROUNDRULE_T:
                    type: array
                    items:
                      type: object
                      properties:
                        CLIENT:
                          type: string
                          maxLength: 3
                          description: Client
                        LOGSYS:
                          type: string
                          maxLength: 10
                          description: Logical system
                        LANGU:
                          type: string
                          maxLength: 1
                          description: Language Key
                        ROUNDRULE:
                          type: string
                          maxLength: 5
                          description: CPE - Rounding Rule
                        RULETEXT:
                          type: string
                          maxLength: 40
                          description: Description
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
