openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/CUKD_COPY_ALLOCATION:
    post:
      tags:
      - CUKD
      operationId: /rfc/CUKD_COPY_ALLOCATION
      requestBody:
        content:
          application/json:
            schema:
              properties:
                ALLOCATION_NUMBER_OLD:
                  type: integer
                  format: int64
                  description: old allocation number
                ECM_NUMBER:
                  type: string
                  default: ' '
                  maxLength: 12
                  description: Change number for maintenance
                FORGET_ALL_CHANGES:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: Refresh current changes for old KNOBJ
                SEARCH_DATE:
                  type: string
                  format: date
                  default: SY-DATUM
                  description: Search date and new validity date
                TABLE:
                  type: string
                  maxLength: 10
                  description: Object table (such as STPO)
                VALID_FROM_DATE:
                  type: string
                  format: date
                  default: '0'
                  description: Search date (display mode) or valid-from date
              required:
              - ALLOCATION_NUMBER_OLD
              - TABLE
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ALLOCATION_NUMBER_NEW:
                    type: integer
                    format: int64
                    description: new allocation number
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
