openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/BAPI_CHARACT_CHANGE:
    post:
      tags:
      - CTBP
      summary: BAPI for Characteristics - Change
      operationId: /rfc/BAPI_CHARACT_CHANGE
      requestBody:
        content:
          application/json:
            schema:
              properties:
                CHANGENUMBER:
                  type: string
                  maxLength: 12
                  description: Change Number
                CHARACTNAME:
                  type: string
                  maxLength: 30
                  description: Characteristic Name
                KEYDATE:
                  type: string
                  format: date
                  default: SY-DATUM
                  description: Date
                CHARACTDESCRNEW:
                  type: array
                  items:
                    type: object
                    properties:
                      LANGUAGE_INT:
                        type: string
                        maxLength: 1
                        description: Language Key
                      LANGUAGE_ISO:
                        type: string
                        maxLength: 2
                        description: Language according to ISO 639
                      DESCRIPTION:
                        type: string
                        maxLength: 30
                        description: Characteristic description
                      HEADER1:
                        type: string
                        maxLength: 30
                        description: First Line of Heading
                      HEADER2:
                        type: string
                        maxLength: 30
                        description: Second line of heading
                CHARACTDETAILNEW:
                  type: array
                  items:
                    type: object
                    properties:
                      CHARACT_NAME:
                        type: string
                        maxLength: 30
                        description: Characteristic Name
                      DATA_TYPE:
                        type: string
                        maxLength: 18
                        description: Data Type
                      LENGTH:
                        type: integer
                        format: int64
                        description: Number of Characters (Figures)
                      DECIMALS:
                        type: integer
                        format: int64
                        description: Decimal Places
                      CASE_SENSITIV:
                        type: string
                        maxLength: 1
                        description: 'Case Sensitive  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      EXPONENT_TYPE:
                        type: integer
                        format: int64
                        description: 'Exponent Display Format  enumValues: 2=Exponent entered,3=Scientific exponent,1=Standard,0=No exponent'
                        enum:
                        - '2'
                        - '3'
                        - '1'
                        - '0'
                      EXPONENT:
                        type: integer
                        format: int32
                        description: Exponent display
                      TEMPLATE:
                        type: string
                        maxLength: 30
                        description: Value with template
                      WITH_SIGN:
                        type: string
                        maxLength: 1
                        description: 'Case Sensitive  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      UNIT_OF_MEASUREMENT:
                        type: string
                        maxLength: 3
                        description: Base Unit of Measure
                      UNIT_OF_MEASUREMENT_ISO:
                        type: string
                        maxLength: 3
                        description: Base unit of measure in ISO code
                      CURRENCY:
                        type: string
                        maxLength: 5
                        description: Currency Key
                      CURRENCY_ISO:
                        type: string
                        maxLength: 3
                        description: ISO currency code
                      STATUS:
                        type: string
                        maxLength: 1
                        description: Status of a characteristic
                      CHARACT_GROUP:
                        type: string
                        maxLength: 10
                        description: Chars Group
                      VALUE_ASSIGNMENT:
                        type: string
                        maxLength: 1
                        description: 'Value Assignment: Single-Value, Multiple-Value, Restrictable'
                      NO_ENTRY:
                        type: string
                        maxLength: 1
                        description: 'No Entry Can be Made for Characteristic  enumValues: *=Reference indicator,""=No,X=Yes'
                        enum:
                        - '*'
                        - ''
                        - X
                      NO_DISPLAY:
                        type: string
                        maxLength: 1
                        description: 'Characteristic Not to be Displayed  enumValues: *=Reference indicator,""=No,X=Yes'
                        enum:
                        - '*'
                        - ''
                        - X
                      ENTRY_REQUIRED:
                        type: string
                        maxLength: 1
                        description: 'Entry Required  enumValues: *=Reference indicator,""=No,X=Yes'
                        enum:
                        - '*'
                        - ''
                        - X
                      INTERVAL_ALLOWED:
                        type: string
                        maxLength: 1
                        description: 'Interval Values Allowed  enumValues: *=Reference indicator,""=No,X=Yes'
                        enum:
                        - '*'
                        - ''
                        - X
                      SHOW_TEMPLATE:
                        type: string
                        maxLength: 1
                        description: 'Indicator: Display Template When Assigning Values  enumValues: *=Reference indicator,""=No,X=Yes'
                        enum:
                        - '*'
                        - ''
                        - X
                      DISPLAY_VALUES:
                        type: string
                        maxLength: 1
                        description: 'Display Allowed Values Defined in Characteristic  enumValues: *=Reference indicator,""=No,X=Yes'
                        enum:
                        - '*'
                        - ''
                        - X
                      ADDITIONAL_VALUES:
                        type: string
                        maxLength: 1
                        description: 'Indicator: Additional Values  enumValues: *=Reference indicator,""=No,X=Yes'
                        enum:
                        - '*'
                        - ''
                        - X
                      DOCUMENT_NO:
                        type: string
                        maxLength: 25
                        description: Document number
                      DOCUMENT_TYPE:
                        type: string
                        maxLength: 3
                        description: Document Type
                      DOCUMENT_PART:
                        type: string
                        maxLength: 3
                        description: Document part
                      DOCUMENT_VERSION:
                        type: string
                        maxLength: 2
                        description: Document version
                      CHECK_TABLE:
                        type: string
                        maxLength: 30
                        description: Check table
                      CHECK_FUNCTION:
                        type: string
                        maxLength: 30
                        description: Function Module for Checking Values
                      PLANT:
                        type: string
                        maxLength: 4
                        description: Plant
                      SELECTED_SET:
                        type: string
                        maxLength: 8
                        description: Selected Set
                      ADT_CLASS:
                        type: string
                        maxLength: 18
                        description: Class number
                      ADT_CLASS_TYPE:
                        type: string
                        maxLength: 3
                        description: Class Type
                      AGGREGATING:
                        type: string
                        maxLength: 1
                        description: 'Aggregating characteristic  enumValues: *=Reference indicator,""=No,X=Yes'
                        enum:
                        - '*'
                        - ''
                        - X
                      BALANCING:
                        type: string
                        maxLength: 1
                        description: 'Balance characteristic  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      INPUT_REQUESTED_CONF:
                        type: string
                        maxLength: 1
                        description: 'Entry Required in Configuration  enumValues: *=Reference indicator,""=No,X=Yes'
                        enum:
                        - '*'
                        - ''
                        - X
                      AUTHORITY_GROUP:
                        type: string
                        maxLength: 3
                        description: Authorization Group for Characteristics Maintenance
                      UNFORMATED:
                        type: string
                        maxLength: 1
                        description: 'Unformatted Entry Control  enumValues: *=Reference indicator,""=No,X=Yes'
                        enum:
                        - '*'
                        - ''
                        - X
                CHARACTREFERENCESNEW:
                  type: array
                  items:
                    type: object
                    properties:
                      REFERENCE_TABLE:
                        type: string
                        maxLength: 30
                        description: Table Name
                      REFERENCE_FIELD:
                        type: string
                        maxLength: 30
                        description: Field Name
                CHARACTRESTRICTIONSNEW:
                  type: array
                  items:
                    type: object
                    properties:
                      CLASS_TYPE:
                        type: string
                        maxLength: 3
                        description: Class Type
                CHARACTVALUESCHARNEW:
                  type: array
                  items:
                    type: object
                    properties:
                      VALUE_CHAR:
                        type: string
                        maxLength: 30
                        description: Characteristic Value
                      VALUE_CHAR_HIGH:
                        type: string
                        maxLength: 30
                        description: Characteristic Value
                      DEFAULT_VALUE:
                        type: string
                        maxLength: 1
                        description: 'Default value  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      DOCUMENT_NO:
                        type: string
                        maxLength: 25
                        description: Document number
                      DOCUMENT_TYPE:
                        type: string
                        maxLength: 3
                        description: Document Type
                      DOCUMENT_PART:
                        type: string
                        maxLength: 3
                        description: Document part
                      DOCUMENT_VERSION:
                        type: string
                        maxLength: 2
                        description: Document version
                CHARACTVALUESCURRNEW:
                  type: array
                  items:
                    type: object
                    properties:
                      VALUE_FROM:
                        type: number
                        description: Internal floating point from
                      VALUE_TO:
                        type: number
                        description: Internal floating point value to
                      VALUE_RELATION:
                        type: string
                        maxLength: 1
                        description: Code for value dependency
                      CURRENCY_FROM:
                        type: string
                        maxLength: 5
                        description: Currency Key
                      CURRENCY_TO:
                        type: string
                        maxLength: 5
                        description: Currency Key
                      CURRENCY_FROM_ISO:
                        type: string
                        maxLength: 3
                        description: ISO currency code
                      CURRENCY_TO_ISO:
                        type: string
                        maxLength: 3
                        description: ISO currency code
                      DEFAULT_VALUE:
                        type: string
                        maxLength: 1
                        description: 'Default value  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      DOCUMENT_NO:
                        type: string
                        maxLength: 25
                        description: Document number
                      DOCUMENT_TYPE:
                        type: string
                        maxLength: 3
                        description: Document Type
                      DOCUMENT_PART:
                        type: string
                        maxLength: 3
                        description: Document part
                      DOCUMENT_VERSION:
                        type: string
                        maxLength: 2
                        description: Document version
                CHARACTVALUESDESCRNEW:
                  type: array
                  items:
                    type: object
                    properties:
                      LANGUAGE_INT:
                        type: string
                        maxLength: 1
                        description: Language Key
                      LANGUAGE_ISO:
                        type: string
                        maxLength: 2
                        description: Language according to ISO 639
                      VALUE_CHAR:
                        type: string
                        maxLength: 30
                        description: Characteristic Value
                      DESCRIPTION:
                        type: string
                        maxLength: 30
                        description: Characteristic value description
                CHARACTVALUESNUMNEW:
                  type: array
                  items:
                    type: object
                    properties:
                      VALUE_FROM:
                        type: number
                        description: Internal floating point from
                      VALUE_TO:
                        type: number
                        description: Internal floating point value to
                      VALUE_RELATION:
                        type: string
                        maxLength: 1
                        description: Code for value dependency
                      UNIT_FROM:
                        type: string
                        maxLength: 3
                        description: Base Unit of Measure
                      UNIT_TO:
                        type: string
                        maxLength: 3
                        description: Base Unit of Measure
                      UNIT_FROM_ISO:
                        type: string
                        maxLength: 3
                        description: Base unit of measure in ISO code
                      UNIT_TO_ISO:
                        type: string
                        maxLength: 3
                        description: Base unit of measure in ISO code
                      DEFAULT_VALUE:
                        type: string
                        maxLength: 1
                        description: 'Default value  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      DOCUMENT_NO:
                        type: string
                        maxLength: 25
                        description: Document number
                      DOCUMENT_TYPE:
                        type: string
                        maxLength: 3
                        description: Document Type
                      DOCUMENT_PART:
                        type: string
                        maxLength: 3
                        description: Document part
                      DOCUMENT_VERSION:
                        type: string
                        maxLength: 2
                        description: Document version
              required:
              - CHARACTNAME
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  CHARACTDESCRNEW:
                    type: array
                    items:
                      type: object
                      properties:
                        LANGUAGE_INT:
                          type: string
                          maxLength: 1
                          description: Language Key
                        LANGUAGE_ISO:
                          type: string
                          maxLength: 2
                          description: Language according to ISO 639
                        DESCRIPTION:
                          type: string
                          maxLength: 30
                          description: Characteristic description
                        HEADER1:
                          type: string
                          maxLength: 30
                          description: First Line of Heading
                        HEADER2:
                          type: string
                          maxLength: 30
                          description: Second line of heading
                  CHARACTDETAILNEW:
                    type: array
                    items:
                      type: object
                      properties:
                        CHARACT_NAME:
                          type: string
                          maxLength: 30
                          description: Characteristic Name
                        DATA_TYPE:
                          type: string
                          maxLength: 18
                          description: Data Type
                        LENGTH:
                          type: integer
                          format: int64
                          description: Number of Characters (Figures)
                        DECIMALS:
                          type: integer
                          format: int64
                          description: Decimal Places
                        CASE_SENSITIV:
                          type: string
                          maxLength: 1
                          description: 'Case Sensitive  enumValues: ""=No,X=Yes'
                          enum:
                          - ''
                          - X
                        EXPONENT_TYPE:
                          type: integer
                          format: int64
                          description: 'Exponent Display Format  enumValues: 2=Exponent entered,3=Scientific exponent,1=Standard,0=No exponent'
                          enum:
                          - '2'
                          - '3'
                          - '1'
                          - '0'
                        EXPONENT:
                          type: integer
                          format: int32
                          description: Exponent display
                        TEMPLATE:
                          type: string
                          maxLength: 30
                          description: Value with template
                        WITH_SIGN:
                          type: string
                          maxLength: 1
                          description: 'Case Sensitive  enumValues: ""=No,X=Yes'
                          enum:
                          - ''
                          - X
                        UNIT_OF_MEASUREMENT:
                          type: string
                          maxLength: 3
                          description: Base Unit of Measure
                        UNIT_OF_MEASUREMENT_ISO:
                          type: string
                          maxLength: 3
                          description: Base unit of measure in ISO code
                        CURRENCY:
                          type: string
                          maxLength: 5
                          description: Currency Key
                        CURRENCY_ISO:
                          type: string
                          maxLength: 3
                          description: ISO currency code
                        STATUS:
                          type: string
                          maxLength: 1
                          description: Status of a characteristic
                        CHARACT_GROUP:
                          type: string
                          maxLength: 10
                          description: Chars Group
                        VALUE_ASSIGNMENT:
                          type: string
                          maxLength: 1
                          description: 'Value Assignment: Single-Value, Multiple-Value, Restrictable'
                        NO_ENTRY:
                          type: string
                          maxLength: 1
                          description: 'No Entry Can be Made for Characteristic  enumValues: *=Reference indicator,""=No,X=Yes'
                          enum:
                          - '*'
                          - ''
                          - X
                        NO_DISPLAY:
                          type: string
                          maxLength: 1
                          description: 'Characteristic Not to be Displayed  enumValues: *=Reference indicator,""=No,X=Yes'
                          enum:
                          - '*'
                          - ''
                          - X
                        ENTRY_REQUIRED:
                          type: string
                          maxLength: 1
                          description: 'Entry Required  enumValues: *=Reference indicator,""=No,X=Yes'
                          enum:
                          - '*'
                          - ''
                          - X
                        INTERVAL_ALLOWED:
                          type: string
                          maxLength: 1
                          description: 'Interval Values Allowed  enumValues: *=Reference indicator,""=No,X=Yes'
                          enum:
                          - '*'
                          - ''
                          - X
                        SHOW_TEMPLATE:
                          type: string
                          maxLength: 1
                          description: 'Indicator: Display Template When Assigning Values  enumValues: *=Reference indicator,""=No,X=Yes'
                          enum:
                          - '*'
                          - ''
                          - X
                        DISPLAY_VALUES:
                          type: string
                          maxLength: 1
                          description: 'Display Allowed Values Defined in Characteristic  enumValues: *=Reference indicator,""=No,X=Yes'
                          enum:
                          - '*'
                          - ''
                          - X
                        ADDITIONAL_VALUES:
                          type: string
                          maxLength: 1
                          description: 'Indicator: Additional Values  enumValues: *=Reference indicator,""=No,X=Yes'
                          enum:
                          - '*'
                          - ''
                          - X
                        DOCUMENT_NO:
                          type: string
                          maxLength: 25
                          description: Document number
                        DOCUMENT_TYPE:
                          type: string
                          maxLength: 3
                          description: Document Type
                        DOCUMENT_PART:
                          type: string
                          maxLength: 3
                          description: Document part
                        DOCUMENT_VERSION:
                          type: string
                          maxLength: 2
                          description: Document version
                        CHECK_TABLE:
                          type: string
                          maxLength: 30
                          description: Check table
                        CHECK_FUNCTION:
                          type: string
                          maxLength: 30
                          description: Function Module for Checking Values
                        PLANT:
                          type: string
                          maxLength: 4
                          description: Plant
                        SELECTED_SET:
                          type: string
                          maxLength: 8
                          description: Selected Set
                        ADT_CLASS:
                          type: string
                          maxLength: 18
                          description: Class number
                        ADT_CLASS_TYPE:
                          type: string
                          maxLength: 3
                          description: Class Type
                        AGGREGATING:
                          type: string
                          maxLength: 1
                          description: 'Aggregating characteristic  enumValues: *=Reference indicator,""=No,X=Yes'
                          enum:
                          - '*'
                          - ''
                          - X
                        BALANCING:
                          type: string
                          maxLength: 1
                          description: 'Balance characteristic  enumValues: ""=No,X=Yes'
                          enum:
                          - ''
                          - X
                        INPUT_REQUESTED_CONF:
                          type: string
                          maxLength: 1
                          description: 'Entry Required in Configuration  enumValues: *=Reference indicator,""=No,X=Yes'
                          enum:
                          - '*'
                          - ''
                          - X
                        AUTHORITY_GROUP:
                          type: string
                          maxLength: 3
                          description: Authorization Group for Characteristics Maintenance
                        UNFORMATED:
                          type: string
                          maxLength: 1
                          description: 'Unformatted Entry Control  enumValues: *=Reference indicator,""=No,X=Yes'
                          enum:
                          - '*'
                          - ''
                          - X
                  CHARACTREFERENCESNEW:
                    type: array
                    items:
                      type: object
                      properties:
                        REFERENCE_TABLE:
                          type: string
                          maxLength: 30
                          description: Table Name
                        REFERENCE_FIELD:
                          type: string
                          maxLength: 30
                          description: Field Name
                  CHARACTRESTRICTIONSNEW:
                    type: array
                    items:
                      type: object
                      properties:
                        CLASS_TYPE:
                          type: string
                          maxLength: 3
                          description: Class Type
                  CHARACTVALUESCHARNEW:
                    type: array
                    items:
                      type: object
                      properties:
                        VALUE_CHAR:
                          type: string
                          maxLength: 30
                          description: Characteristic Value
                        VALUE_CHAR_HIGH:
                          type: string
                          maxLength: 30
                          description: Characteristic Value
                        DEFAULT_VALUE:
                          type: string
                          maxLength: 1
                          description: 'Default value  enumValues: ""=No,X=Yes'
                          enum:
                          - ''
                          - X
                        DOCUMENT_NO:
                          type: string
                          maxLength: 25
                          description: Document number
                        DOCUMENT_TYPE:
                          type: string
                          maxLength: 3
                          description: Document Type
                        DOCUMENT_PART:
                          type: string
                          maxLength: 3
                          description: Document part
                        DOCUMENT_VERSION:
                          type: string
                          maxLength: 2
                          description: Document version
                  CHARACTVALUESCURRNEW:
                    type: array
                    items:
                      type: object
                      properties:
                        VALUE_FROM:
                          type: number
                          description: Internal floating point from
                        VALUE_TO:
                          type: number
                          description: Internal floating point value to
                        VALUE_RELATION:
                          type: string
                          maxLength: 1
                          description: Code for value dependency
                        CURRENCY_FROM:
                          type: string
                          maxLength: 5
                          description: Currency Key
                        CURRENCY_TO:
                          type: string
                          maxLength: 5
                          description: Currency Key
                        CURRENCY_FROM_ISO:
                          type: string
                          maxLength: 3
                          description: ISO currency code
                        CURRENCY_TO_ISO:
                          type: string
                          maxLength: 3
                          description: ISO currency code
                        DEFAULT_VALUE:
                          type: string
                          maxLength: 1
                          description: 'Default value  enumValues: ""=No,X=Yes'
                          enum:
                          - ''
                          - X
                        DOCUMENT_NO:
                          type: string
                          maxLength: 25
                          description: Document number
                        DOCUMENT_TYPE:
                          type: string
                          maxLength: 3
                          description: Document Type
                        DOCUMENT_PART:
                          type: string
                          maxLength: 3
                          description: Document part
                        DOCUMENT_VERSION:
                          type: string
                          maxLength: 2
                          description: Document version
                  CHARACTVALUESDESCRNEW:
                    type: array
                    items:
                      type: object
                      properties:
                        LANGUAGE_INT:
                          type: string
                          maxLength: 1
                          description: Language Key
                        LANGUAGE_ISO:
                          type: string
                          maxLength: 2
                          description: Language according to ISO 639
                        VALUE_CHAR:
                          type: string
                          maxLength: 30
                          description: Characteristic Value
                        DESCRIPTION:
                          type: string
                          maxLength: 30
                          description: Characteristic value description
                  CHARACTVALUESNUMNEW:
                    type: array
                    items:
                      type: object
                      properties:
                        VALUE_FROM:
                          type: number
                          description: Internal floating point from
                        VALUE_TO:
                          type: number
                          description: Internal floating point value to
                        VALUE_RELATION:
                          type: string
                          maxLength: 1
                          description: Code for value dependency
                        UNIT_FROM:
                          type: string
                          maxLength: 3
                          description: Base Unit of Measure
                        UNIT_TO:
                          type: string
                          maxLength: 3
                          description: Base Unit of Measure
                        UNIT_FROM_ISO:
                          type: string
                          maxLength: 3
                          description: Base unit of measure in ISO code
                        UNIT_TO_ISO:
                          type: string
                          maxLength: 3
                          description: Base unit of measure in ISO code
                        DEFAULT_VALUE:
                          type: string
                          maxLength: 1
                          description: 'Default value  enumValues: ""=No,X=Yes'
                          enum:
                          - ''
                          - X
                        DOCUMENT_NO:
                          type: string
                          maxLength: 25
                          description: Document number
                        DOCUMENT_TYPE:
                          type: string
                          maxLength: 3
                          description: Document Type
                        DOCUMENT_PART:
                          type: string
                          maxLength: 3
                          description: Document part
                        DOCUMENT_VERSION:
                          type: string
                          maxLength: 2
                          description: Document version
                  RETURN:
                    type: array
                    items:
                      type: object
                      properties:
                        TYPE:
                          type: string
                          maxLength: 1
                          description: 'Message type: S Success, E Error, W Warning, I Info, A Abort'
                        ID:
                          type: string
                          maxLength: 20
                          description: Message Class
                        NUMBER:
                          type: integer
                          format: int64
                          description: Message Number
                        MESSAGE:
                          type: string
                          maxLength: 220
                          description: Message Text
                        LOG_NO:
                          type: string
                          maxLength: 20
                          description: 'Application log: log number'
                        LOG_MSG_NO:
                          type: integer
                          format: int64
                          description: 'Application log: Internal message serial number'
                        MESSAGE_V1:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        MESSAGE_V2:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        MESSAGE_V3:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        MESSAGE_V4:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        PARAMETER:
                          type: string
                          maxLength: 32
                          description: Parameter Name
                        ROW:
                          type: integer
                          format: int32
                          description: Lines in parameter
                        FIELD:
                          type: string
                          maxLength: 30
                          description: Field in parameter
                        SYSTEM:
                          type: string
                          maxLength: 10
                          description: Logical system from which message originates
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
