openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/CPE_MAP_FORMROUNDIN_TO_BAPI:
    post:
      tags:
      - CPE_MAP_DOC_BAPI
      summary: CPE_D - Formula Rounding In - Mapping Doc. to BAPI
      operationId: /rfc/CPE_MAP_FORMROUNDIN_TO_BAPI
      requestBody:
        content:
          application/json:
            schema:
              properties:
                IT_CPED_FORMROUNDIN:
                  type: array
                  items:
                    type: object
                    properties:
                      CLIENT:
                        type: string
                        maxLength: 3
                        description: Client
                      FORMROUNDIN_GUID:
                        type: string
                        format: byte
                        description: CPE Formula - GUID for Rounding Input
                      CONVPLACE:
                        type: integer
                        format: int64
                        description: CPE - Conversion Place
                      TERMGROUP:
                        type: string
                        maxLength: 1
                        description: CPE Term - Term Group
                      ROUNDRULE:
                        type: string
                        maxLength: 5
                        description: CPE - Rounding Rule
                IV_OPERATION_FORMROUNDIN:
                  type: string
                  maxLength: 3
                  description: Function
              required:
              - IT_CPED_FORMROUNDIN
              - IV_OPERATION_FORMROUNDIN
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ET_BAPI_CPE_FORMROUNDIN:
                    type: array
                    items:
                      type: object
                      properties:
                        OPERATION:
                          type: string
                          maxLength: 3
                          description: Function
                        FORMROUNDIN_GUID:
                          type: string
                          format: byte
                          description: CPE Formula - GUID for Rounding Input
                        CONVPLACE:
                          type: integer
                          format: int64
                          description: CPE - Conversion Place
                        TERMGROUP:
                          type: string
                          maxLength: 1
                          description: CPE Term - Term Group
                        ROUNDRULE:
                          type: string
                          maxLength: 5
                          description: CPE - Rounding Rule
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
