openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RPY_DATAELEMENT_UPDATE:
    post:
      tags:
      - SIFD
      operationId: /rfc/RPY_DATAELEMENT_UPDATE
      requestBody:
        content:
          application/json:
            schema:
              properties:
                ACTIVATION_TYPE:
                  type: string
                  default: M
                  maxLength: 1
                DATAELEMENT_NAME:
                  type: string
                  maxLength: 30
                DOCUTYPE:
                  type: string
                  default: T
                  maxLength: 1
                DTEL_INF:
                  type: object
                  properties:
                    DTELNAME:
                      type: string
                      maxLength: 30
                      description: Data element (semantic domain)
                    LANGUAGE:
                      type: string
                      maxLength: 1
                      description: Language Key
                    DOMANAME:
                      type: string
                      maxLength: 30
                      description: Domain name
                    PARAMID:
                      type: string
                      maxLength: 20
                      description: Set/Get parameter ID
                    PARTEXT:
                      type: string
                      maxLength: 60
                      description: Short Description of Repository Objects
                    LOGFLAG:
                      type: string
                      maxLength: 1
                      description: 'Indicator for writing change documents  enumValues: ""=Do not set flag,X=Set flag'
                      enum:
                      - ''
                      - X
                    HEADLEN:
                      type: integer
                      format: int64
                      description: Maximum length of heading
                    SCRLEN_S:
                      type: integer
                      format: int64
                      description: Max. length for short field label
                    SCRLEN_M:
                      type: integer
                      format: int64
                      description: Max. length for medium field label
                    SCRLEN_L:
                      type: integer
                      format: int64
                      description: Max. length for long field label
                    DDTEXT:
                      type: string
                      maxLength: 60
                      description: Explanatory short text
                    HEADTEXT:
                      type: string
                      maxLength: 55
                      description: Heading
                    SCRTEXT_S:
                      type: string
                      maxLength: 10
                      description: Short Field Label
                    SCRTEXT_M:
                      type: string
                      maxLength: 20
                      description: Medium Field Label
                    SCRTEXT_L:
                      type: string
                      maxLength: 40
                      description: Long Field Label
                    MOD_USER:
                      type: string
                      maxLength: 12
                      description: Last Changed by
                    MOD_DATE:
                      type: string
                      format: date
                      description: Date of Last Change
                    MOD_TIME:
                      type: string
                      maxLength: 6
                      description: Last changed at
                    MASTERLANG:
                      type: string
                      maxLength: 1
                      description: Original Language in Repository objects
                LANGUAGE:
                  type: string
                  default: SY-LANGU
                  maxLength: 1
                TRANSPORT_NUMBER:
                  type: string
                  default: ' '
                  maxLength: 20
                WITH_DOCU:
                  type: string
                  default: ' '
                  maxLength: 1
                DOCU_TABLE_TECH:
                  type: array
                  items:
                    type: object
                    properties:
                      TDFORMAT:
                        type: string
                        maxLength: 2
                        description: Tag column
                      TDLINE:
                        type: string
                        maxLength: 132
                        description: Text Line
                DOCU_TABLE_USER:
                  type: array
                  items:
                    type: object
                    properties:
                      KEY_ID:
                        type: string
                        maxLength: 1
                        description: Line type ID with complex objects
                      OBJLINE:
                        type: string
                        maxLength: 72
                        description: 'EDIC: Program editor line'
              required:
              - DATAELEMENT_NAME
              - DTEL_INF
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  DOCU_TABLE_TECH:
                    type: array
                    items:
                      type: object
                      properties:
                        TDFORMAT:
                          type: string
                          maxLength: 2
                          description: Tag column
                        TDLINE:
                          type: string
                          maxLength: 132
                          description: Text Line
                  DOCU_TABLE_USER:
                    type: array
                    items:
                      type: object
                      properties:
                        KEY_ID:
                          type: string
                          maxLength: 1
                          description: Line type ID with complex objects
                        OBJLINE:
                          type: string
                          maxLength: 72
                          description: 'EDIC: Program editor line'
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
