openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/ENH_SET_SCWB_TEXT:
    post:
      tags:
      - SEEF_CWB
      operationId: /rfc/ENH_SET_SCWB_TEXT
      requestBody:
        content:
          application/json:
            schema:
              properties:
                I_CHANGE_FLAG:
                  type: string
                  default: ' '
                  maxLength: 1
                I_DOCUID:
                  type: string
                  maxLength: 40
                I_DOCU_TYPE:
                  type: string
                  maxLength: 1
                I_HEADER:
                  type: object
                  properties:
                    VRSFLAG:
                      type: string
                      maxLength: 4
                      description: CHAR04 data element for SYST
                    CONCEPT:
                      type: string
                      maxLength: 32
                      description: Key for Logical Object in the OTR
                    PAKET:
                      type: string
                      maxLength: 30
                      description: Package
                    CREA_LAN:
                      type: string
                      maxLength: 1
                      description: Language Key
                    ALIAS_NAME:
                      type: string
                      maxLength: 50
                      description: Unique Alias Name for OTR Concept
                    CREA_NAME:
                      type: string
                      maxLength: 12
                      description: User Name
                    CREA_TSTUT:
                      type: integer
                      format: int64
                      description: Timestamp (date and time) related to UTC (GMT)
                    CHAN_NAME:
                      type: string
                      maxLength: 12
                      description: User Name
                    CHAN_TSTUT:
                      type: integer
                      format: int64
                      description: Timestamp (date and time) related to UTC (GMT)
                    SYSTEM_ID:
                      type: string
                      maxLength: 8
                      description: Name of the SAP System
                    OBJID_VEC:
                      type: string
                      format: byte
                      description: Vector of Object Types
                    TRANSL_TYPE:
                      type: string
                      maxLength: 4
                      description: Text Type for Translation
                I_LANGU:
                  type: string
                  maxLength: 1
                I_STRING_TAB:
                  type: array
                  items:
                    type: object
                    properties:
                      VRSFLAG:
                        type: string
                        maxLength: 4
                        description: CHAR04 data element for SYST
                      CONCEPT:
                        type: string
                        maxLength: 32
                        description: Key for Logical Object in the OTR
                      LANGU:
                        type: string
                        maxLength: 1
                        description: Language Key
                      OBJECT:
                        type: string
                        maxLength: 32
                        description: Key for Physical Object in the OTR
                      FLAG_CNTXT:
                        type: string
                        maxLength: 1
                        description: General Flag
                      LAST_REL:
                        type: string
                        maxLength: 4
                        description: Release Status of SAP System
                      LAST_IREL:
                        type: string
                        maxLength: 12
                        description: Release in the OTR (Basis Release/Add-On Release)
                      COUNTRY:
                        type: string
                        maxLength: 3
                        description: 'OTR Context: Country/Localization'
                      EXTENSION:
                        type: string
                        maxLength: 10
                        description: 'OTR Context: Enhancement'
                      ADD_CNTXT:
                        type: string
                        maxLength: 30
                        description: User-Defined Context Attribute for the OTR
                      CREA_NAME:
                        type: string
                        maxLength: 12
                        description: User Name
                      CREA_TSTUT:
                        type: integer
                        format: int64
                        description: Timestamp (date and time) related to UTC (GMT)
                      CHAN_NAME:
                        type: string
                        maxLength: 12
                        description: User Name
                      CHAN_TSTUT:
                        type: integer
                        format: int64
                        description: Timestamp (date and time) related to UTC (GMT)
                      STATUS:
                        type: string
                        maxLength: 1
                        description: Status of an OTR Entry
                      FLAG_CORR:
                        type: string
                        maxLength: 1
                        description: General Flag
                      TEXT:
                        type: string
                        description: ''
                I_TEXT_TAB:
                  type: array
                  items:
                    type: object
                    properties:
                      VRSFLAG:
                        type: string
                        maxLength: 4
                        description: CHAR04 data element for SYST
                      CONCEPT:
                        type: string
                        maxLength: 32
                        description: Key for Logical Object in the OTR
                      LANGU:
                        type: string
                        maxLength: 1
                        description: Language Key
                      OBJECT:
                        type: string
                        maxLength: 32
                        description: Key for Physical Object in the OTR
                      FLAG_CNTXT:
                        type: string
                        maxLength: 1
                        description: General Flag
                      LAST_REL:
                        type: string
                        maxLength: 4
                        description: Release Status of SAP System
                      LAST_IREL:
                        type: string
                        maxLength: 12
                        description: Release in the OTR (Basis Release/Add-On Release)
                      COUNTRY:
                        type: string
                        maxLength: 3
                        description: 'OTR Context: Country/Localization'
                      EXTENSION:
                        type: string
                        maxLength: 10
                        description: 'OTR Context: Enhancement'
                      ADD_CNTXT:
                        type: string
                        maxLength: 30
                        description: User-Defined Context Attribute for the OTR
                      CREA_NAME:
                        type: string
                        maxLength: 12
                        description: User Name
                      CREA_TSTUT:
                        type: integer
                        format: int64
                        description: Timestamp (date and time) related to UTC (GMT)
                      CHAN_NAME:
                        type: string
                        maxLength: 12
                        description: User Name
                      CHAN_TSTUT:
                        type: integer
                        format: int64
                        description: Timestamp (date and time) related to UTC (GMT)
                      STATUS:
                        type: string
                        maxLength: 1
                        description: Status of an OTR Entry
                      FLAG_CORR:
                        type: string
                        maxLength: 1
                        description: General Flag
                      LENGTH:
                        type: integer
                        format: int64
                        description: Length of a Text in the OTR
                      TEXT:
                        type: string
                        maxLength: 255
                        description: Text Field in the OTR
              required:
              - I_DOCUID
              - I_DOCU_TYPE
      responses:
        '200':
          description: OK
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
