openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/UPC_TRACE_CHA_VALUES_UPDATE:
    post:
      tags:
      - UPC_TRACE
      operationId: /rfc/UPC_TRACE_CHA_VALUES_UPDATE
      requestBody:
        content:
          application/json:
            schema:
              properties:
                I_AREA:
                  type: string
                  maxLength: 8
                  description: Planning Area
                I_CHANM:
                  type: string
                  maxLength: 30
                  description: Characteristic
                ITK_ATRVL:
                  type: array
                  items:
                    type: object
                    properties:
                      CHAVLEXT:
                        type: string
                        maxLength: 70
                        description: Field for any characteristic value (external display)
                      ATRNM:
                        type: string
                        maxLength: 30
                        description: Master data attribute
                      ATRVLEXT:
                        type: string
                        maxLength: 70
                        description: Field for any characteristic value (external display)
                ITK_CHAVL:
                  type: array
                  items:
                    type: object
                    properties:
                      CHAVLEXT:
                        type: string
                        maxLength: 70
                        description: Field for any characteristic value (external display)
                      TXTSH:
                        type: string
                        maxLength: 20
                        description: Short Description
                      TXTMD:
                        type: string
                        maxLength: 40
                        description: Description
                      TXTLG:
                        type: string
                        maxLength: 60
                        description: Long Description
              required:
              - I_AREA
              - I_CHANM
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ITK_ATRVL:
                    type: array
                    items:
                      type: object
                      properties:
                        CHAVLEXT:
                          type: string
                          maxLength: 70
                          description: Field for any characteristic value (external display)
                        ATRNM:
                          type: string
                          maxLength: 30
                          description: Master data attribute
                        ATRVLEXT:
                          type: string
                          maxLength: 70
                          description: Field for any characteristic value (external display)
                  ITK_CHAVL:
                    type: array
                    items:
                      type: object
                      properties:
                        CHAVLEXT:
                          type: string
                          maxLength: 70
                          description: Field for any characteristic value (external display)
                        TXTSH:
                          type: string
                          maxLength: 20
                          description: Short Description
                        TXTMD:
                          type: string
                          maxLength: 40
                          description: Description
                        TXTLG:
                          type: string
                          maxLength: 60
                          description: Long Description
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
