openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/GET_CHAR_LIST:
    post:
      tags:
      - STAP
      summary: 'Class: read characteristics of class, incl. inherited and attributes'
      operationId: /rfc/GET_CHAR_LIST
      requestBody:
        content:
          application/json:
            schema:
              properties:
                CHANGE_NO:
                  type: string
                  maxLength: 12
                  description: Change Number
                CLASS:
                  type: string
                  maxLength: 18
                  description: Class
                CLASS_TYPE:
                  type: string
                  maxLength: 3
                  description: Class Type
                DATE:
                  type: string
                  maxLength: 10
                  description: Date (validity period, engineering change management)
                WITH_VALUES:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: 'Flag: Characteristic value output_'
                CHAR_LIST:
                  type: array
                  items:
                    type: object
                    properties:
                      CLINT:
                        type: integer
                        format: int64
                        description: Internal Class Number
                      KLART:
                        type: string
                        maxLength: 3
                        description: Class Type
                      IMERK:
                        type: integer
                        format: int64
                        description: Internal characteristic
                      ATINN:
                        type: integer
                        format: int64
                        description: Internal characteristic
                      CHARACT:
                        type: string
                        maxLength: 30
                        description: Characteristic Name
                      ABTEI:
                        type: string
                        maxLength: 10
                        description: Organizational Area
                      ATFOR:
                        type: string
                        maxLength: 4
                        description: 'Data type of characteristic  enumValues: DATE=Date Format,CHAR=Character Format,UDEF=User-Defined Data Type,NUM=Numeric Format,TIME=Time Format,CURR=Currency Format'
                        enum:
                        - DATE
                        - CHAR
                        - UDEF
                        - NUM
                        - TIME
                        - CURR
                      ATERF:
                        type: string
                        maxLength: 1
                        description: 'Entry Required  enumValues: *=Reference indicator,""=No,X=Yes'
                        enum:
                        - '*'
                        - ''
                        - X
                      ATINT:
                        type: string
                        maxLength: 1
                        description: 'Interval Values Allowed  enumValues: *=Reference indicator,""=No,X=Yes'
                        enum:
                        - '*'
                        - ''
                        - X
                      ATFOD:
                        type: string
                        maxLength: 1
                        description: 'Unformatted Entry Control  enumValues: *=Reference indicator,""=No,X=Yes'
                        enum:
                        - '*'
                        - ''
                        - X
                      ATVSC:
                        type: string
                        maxLength: 1
                        description: 'Indicator: Display Template When Assigning Values  enumValues: *=Reference indicator,""=No,X=Yes'
                        enum:
                        - '*'
                        - ''
                        - X
                      ATWRD:
                        type: string
                        maxLength: 1
                        description: 'Display Allowed Values Defined in Characteristic  enumValues: *=Reference indicator,""=No,X=Yes'
                        enum:
                        - '*'
                        - ''
                        - X
                      ATSON:
                        type: string
                        maxLength: 1
                        description: 'Indicator: Additional Values  enumValues: *=Reference indicator,""=No,X=Yes'
                        enum:
                        - '*'
                        - ''
                        - X
                      ATVIE:
                        type: string
                        maxLength: 1
                        description: 'Characteristic Not to be Displayed  enumValues: *=Reference indicator,""=No,X=Yes'
                        enum:
                        - '*'
                        - ''
                        - X
                      DOKNR:
                        type: string
                        maxLength: 25
                        description: Document number
                      DOKAR:
                        type: string
                        maxLength: 3
                        description: Document Type
                      DOKTL:
                        type: string
                        maxLength: 3
                        description: Document part
                      DOKVR:
                        type: string
                        maxLength: 2
                        description: Document version
                      CLUDEF:
                        type: integer
                        format: int64
                        description: Internal Class Number
                      OVCHR:
                        type: string
                        maxLength: 1
                        description: 'Characteristic is Overwritten  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      OVVAL:
                        type: string
                        maxLength: 1
                        description: 'Characteristic Values are Overwritten  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      MKENN:
                        type: string
                        maxLength: 15
                        description: Standard Code Letter
                      HERKU:
                        type: string
                        maxLength: 10
                        description: Characteristic origin
                      SELRE:
                        type: string
                        maxLength: 1
                        description: 'Search Relevant  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      DRURE:
                        type: string
                        maxLength: 1
                        description: 'Print Relevant  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      ANZRE:
                        type: string
                        maxLength: 1
                        description: 'Display Relevant  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      XSORT:
                        type: integer
                        format: int64
                        description: Int counter
                      INDRE:
                        type: string
                        maxLength: 1
                        description: 'Index Characteristic  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                CLASS_LIST:
                  type: array
                  items:
                    type: object
                    properties:
                      CLINT:
                        type: integer
                        format: int64
                        description: Internal Class Number
                      KLART:
                        type: string
                        maxLength: 3
                        description: Class Type
                      CLASS:
                        type: string
                        maxLength: 18
                        description: Class number
                VAL_LIST:
                  type: array
                  items:
                    type: object
                    properties:
                      CLINT:
                        type: integer
                        format: int64
                        description: Internal Class Number
                      KLART:
                        type: string
                        maxLength: 3
                        description: Class Type
                      CHARACT:
                        type: string
                        maxLength: 30
                        description: Characteristic Name
                      XSORT:
                        type: integer
                        format: int64
                        description: Int. counter for value hierarchy
                      XPARENT:
                        type: integer
                        format: int64
                        description: Int. counter for value hierarchy
                      MANDT:
                        type: string
                        maxLength: 3
                        description: Client
                      ATINN:
                        type: integer
                        format: int64
                        description: Internal characteristic
                      ATZHL:
                        type: integer
                        format: int64
                        description: Int counter
                      ADZHL:
                        type: integer
                        format: int64
                        description: Internal counter for archiving objects via engin. chg. mgmt
                      ATWRT:
                        type: string
                        maxLength: 30
                        description: Characteristic Value
                      ATFLV:
                        type: number
                        description: Internal floating point from
                      ATFLB:
                        type: number
                        description: Internal floating point value to
                      ATCOD:
                        type: string
                        maxLength: 1
                        description: Code for value dependency
                      ATSTD:
                        type: string
                        maxLength: 1
                        description: 'Default value  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      ATAWE:
                        type: string
                        maxLength: 3
                        description: Unit of Measurement
                      ATAW1:
                        type: string
                        maxLength: 3
                        description: Unit of Measurement
                      ATIDN:
                        type: string
                        maxLength: 2
                        description: Object identification
                      SPRAS:
                        type: string
                        maxLength: 1
                        description: Language Key
                      TXTNR:
                        type: integer
                        format: int64
                        description: Number of Related Text
                      DATUV:
                        type: string
                        format: date
                        description: Valid-From Date
                      TECHV:
                        type: string
                        maxLength: 12
                        description: Technical status from
                      AENNR:
                        type: string
                        maxLength: 12
                        description: Change Number
                      LKENZ:
                        type: string
                        maxLength: 1
                        description: 'Deletion Indicator  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      DOKAR:
                        type: string
                        maxLength: 3
                        description: Document Type
                      DOKNR:
                        type: string
                        maxLength: 25
                        description: Document number
                      DOKVR:
                        type: string
                        maxLength: 2
                        description: Document version
                      DOKTL:
                        type: string
                        maxLength: 3
                        description: Document part
                      ATZHH:
                        type: integer
                        format: int64
                        description: Int. counter for value hierarchy
                      KNOBJ:
                        type: integer
                        format: int64
                        description: Number of Object with Assigned Dependencies
                      ATWHI:
                        type: string
                        maxLength: 1
                        description: 'Indicator that Subordinate Values Exist  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      ATTLV:
                        type: number
                        description: Tolerance from
                      ATTLB:
                        type: number
                        description: Tolerance to
                      ATPRZ:
                        type: string
                        maxLength: 1
                        description: 'Indicator: Tolerance Shown as a Percentage  enumValues: *=Reference indicator,""=No,X=Yes'
                        enum:
                        - '*'
                        - ''
                        - X
                      ATINC:
                        type: number
                        description: Increment Within a Specified Interval
                      ATVPL:
                        type: string
                        maxLength: 1
                        description: 'Relevant to Planning  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
              required:
              - CLASS
              - CLASS_TYPE
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  RETURN:
                    type: object
                    properties:
                      TYPE:
                        type: string
                        maxLength: 1
                        description: 'Message type: S Success, E Error, W Warning, I Info, A Abort'
                      CODE:
                        type: string
                        maxLength: 5
                        description: Message code
                      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
                  CHAR_LIST:
                    type: array
                    items:
                      type: object
                      properties:
                        CLINT:
                          type: integer
                          format: int64
                          description: Internal Class Number
                        KLART:
                          type: string
                          maxLength: 3
                          description: Class Type
                        IMERK:
                          type: integer
                          format: int64
                          description: Internal characteristic
                        ATINN:
                          type: integer
                          format: int64
                          description: Internal characteristic
                        CHARACT:
                          type: string
                          maxLength: 30
                          description: Characteristic Name
                        ABTEI:
                          type: string
                          maxLength: 10
                          description: Organizational Area
                        ATFOR:
                          type: string
                          maxLength: 4
                          description: 'Data type of characteristic  enumValues: DATE=Date Format,CHAR=Character Format,UDEF=User-Defined Data Type,NUM=Numeric Format,TIME=Time Format,CURR=Currency Format'
                          enum:
                          - DATE
                          - CHAR
                          - UDEF
                          - NUM
                          - TIME
                          - CURR
                        ATERF:
                          type: string
                          maxLength: 1
                          description: 'Entry Required  enumValues: *=Reference indicator,""=No,X=Yes'
                          enum:
                          - '*'
                          - ''
                          - X
                        ATINT:
                          type: string
                          maxLength: 1
                          description: 'Interval Values Allowed  enumValues: *=Reference indicator,""=No,X=Yes'
                          enum:
                          - '*'
                          - ''
                          - X
                        ATFOD:
                          type: string
                          maxLength: 1
                          description: 'Unformatted Entry Control  enumValues: *=Reference indicator,""=No,X=Yes'
                          enum:
                          - '*'
                          - ''
                          - X
                        ATVSC:
                          type: string
                          maxLength: 1
                          description: 'Indicator: Display Template When Assigning Values  enumValues: *=Reference indicator,""=No,X=Yes'
                          enum:
                          - '*'
                          - ''
                          - X
                        ATWRD:
                          type: string
                          maxLength: 1
                          description: 'Display Allowed Values Defined in Characteristic  enumValues: *=Reference indicator,""=No,X=Yes'
                          enum:
                          - '*'
                          - ''
                          - X
                        ATSON:
                          type: string
                          maxLength: 1
                          description: 'Indicator: Additional Values  enumValues: *=Reference indicator,""=No,X=Yes'
                          enum:
                          - '*'
                          - ''
                          - X
                        ATVIE:
                          type: string
                          maxLength: 1
                          description: 'Characteristic Not to be Displayed  enumValues: *=Reference indicator,""=No,X=Yes'
                          enum:
                          - '*'
                          - ''
                          - X
                        DOKNR:
                          type: string
                          maxLength: 25
                          description: Document number
                        DOKAR:
                          type: string
                          maxLength: 3
                          description: Document Type
                        DOKTL:
                          type: string
                          maxLength: 3
                          description: Document part
                        DOKVR:
                          type: string
                          maxLength: 2
                          description: Document version
                        CLUDEF:
                          type: integer
                          format: int64
                          description: Internal Class Number
                        OVCHR:
                          type: string
                          maxLength: 1
                          description: 'Characteristic is Overwritten  enumValues: ""=No,X=Yes'
                          enum:
                          - ''
                          - X
                        OVVAL:
                          type: string
                          maxLength: 1
                          description: 'Characteristic Values are Overwritten  enumValues: ""=No,X=Yes'
                          enum:
                          - ''
                          - X
                        MKENN:
                          type: string
                          maxLength: 15
                          description: Standard Code Letter
                        HERKU:
                          type: string
                          maxLength: 10
                          description: Characteristic origin
                        SELRE:
                          type: string
                          maxLength: 1
                          description: 'Search Relevant  enumValues: ""=No,X=Yes'
                          enum:
                          - ''
                          - X
                        DRURE:
                          type: string
                          maxLength: 1
                          description: 'Print Relevant  enumValues: ""=No,X=Yes'
                          enum:
                          - ''
                          - X
                        ANZRE:
                          type: string
                          maxLength: 1
                          description: 'Display Relevant  enumValues: ""=No,X=Yes'
                          enum:
                          - ''
                          - X
                        XSORT:
                          type: integer
                          format: int64
                          description: Int counter
                        INDRE:
                          type: string
                          maxLength: 1
                          description: 'Index Characteristic  enumValues: ""=No,X=Yes'
                          enum:
                          - ''
                          - X
                  CLASS_LIST:
                    type: array
                    items:
                      type: object
                      properties:
                        CLINT:
                          type: integer
                          format: int64
                          description: Internal Class Number
                        KLART:
                          type: string
                          maxLength: 3
                          description: Class Type
                        CLASS:
                          type: string
                          maxLength: 18
                          description: Class number
                  VAL_LIST:
                    type: array
                    items:
                      type: object
                      properties:
                        CLINT:
                          type: integer
                          format: int64
                          description: Internal Class Number
                        KLART:
                          type: string
                          maxLength: 3
                          description: Class Type
                        CHARACT:
                          type: string
                          maxLength: 30
                          description: Characteristic Name
                        XSORT:
                          type: integer
                          format: int64
                          description: Int. counter for value hierarchy
                        XPARENT:
                          type: integer
                          format: int64
                          description: Int. counter for value hierarchy
                        MANDT:
                          type: string
                          maxLength: 3
                          description: Client
                        ATINN:
                          type: integer
                          format: int64
                          description: Internal characteristic
                        ATZHL:
                          type: integer
                          format: int64
                          description: Int counter
                        ADZHL:
                          type: integer
                          format: int64
                          description: Internal counter for archiving objects via engin. chg. mgmt
                        ATWRT:
                          type: string
                          maxLength: 30
                          description: Characteristic Value
                        ATFLV:
                          type: number
                          description: Internal floating point from
                        ATFLB:
                          type: number
                          description: Internal floating point value to
                        ATCOD:
                          type: string
                          maxLength: 1
                          description: Code for value dependency
                        ATSTD:
                          type: string
                          maxLength: 1
                          description: 'Default value  enumValues: ""=No,X=Yes'
                          enum:
                          - ''
                          - X
                        ATAWE:
                          type: string
                          maxLength: 3
                          description: Unit of Measurement
                        ATAW1:
                          type: string
                          maxLength: 3
                          description: Unit of Measurement
                        ATIDN:
                          type: string
                          maxLength: 2
                          description: Object identification
                        SPRAS:
                          type: string
                          maxLength: 1
                          description: Language Key
                        TXTNR:
                          type: integer
                          format: int64
                          description: Number of Related Text
                        DATUV:
                          type: string
                          format: date
                          description: Valid-From Date
                        TECHV:
                          type: string
                          maxLength: 12
                          description: Technical status from
                        AENNR:
                          type: string
                          maxLength: 12
                          description: Change Number
                        LKENZ:
                          type: string
                          maxLength: 1
                          description: 'Deletion Indicator  enumValues: ""=No,X=Yes'
                          enum:
                          - ''
                          - X
                        DOKAR:
                          type: string
                          maxLength: 3
                          description: Document Type
                        DOKNR:
                          type: string
                          maxLength: 25
                          description: Document number
                        DOKVR:
                          type: string
                          maxLength: 2
                          description: Document version
                        DOKTL:
                          type: string
                          maxLength: 3
                          description: Document part
                        ATZHH:
                          type: integer
                          format: int64
                          description: Int. counter for value hierarchy
                        KNOBJ:
                          type: integer
                          format: int64
                          description: Number of Object with Assigned Dependencies
                        ATWHI:
                          type: string
                          maxLength: 1
                          description: 'Indicator that Subordinate Values Exist  enumValues: ""=No,X=Yes'
                          enum:
                          - ''
                          - X
                        ATTLV:
                          type: number
                          description: Tolerance from
                        ATTLB:
                          type: number
                          description: Tolerance to
                        ATPRZ:
                          type: string
                          maxLength: 1
                          description: 'Indicator: Tolerance Shown as a Percentage  enumValues: *=Reference indicator,""=No,X=Yes'
                          enum:
                          - '*'
                          - ''
                          - X
                        ATINC:
                          type: number
                          description: Increment Within a Specified Interval
                        ATVPL:
                          type: string
                          maxLength: 1
                          description: 'Relevant to Planning  enumValues: ""=No,X=Yes'
                          enum:
                          - ''
                          - X
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
