openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/ENH_RFC:
    post:
      tags:
      - SEEF_BASE
      operationId: /rfc/ENH_RFC
      requestBody:
        content:
          application/json:
            schema:
              properties:
                ENHNAME:
                  type: string
                  maxLength: 30
              required:
              - ENHNAME
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  CORRNUM:
                    type: string
                    maxLength: 20
                  DEVCLASS:
                    type: string
                    maxLength: 30
                  ENHDEPENDENT_ACTIVE:
                    type: array
                    items:
                      type: object
                      properties:
                        ENHNAME:
                          type: string
                          maxLength: 30
                          description: ID of an Enhancement
                        VERSION:
                          type: string
                          maxLength: 1
                          description: 'ABAP: Program Status (Active, Saved, Transported...)'
                        DEPENDENTENHNAME:
                          type: string
                          maxLength: 30
                          description: ID of an Enhancement
                  ENHDEPENDENT_INACTIVE:
                    type: array
                    items:
                      type: object
                      properties:
                        ENHNAME:
                          type: string
                          maxLength: 30
                          description: ID of an Enhancement
                        VERSION:
                          type: string
                          maxLength: 1
                          description: 'ABAP: Program Status (Active, Saved, Transported...)'
                        DEPENDENTENHNAME:
                          type: string
                          maxLength: 30
                          description: ID of an Enhancement
                  ENHHEADER_ACTIVE:
                    type: object
                    properties:
                      ENHNAME:
                        type: string
                        maxLength: 30
                        description: ID of an Enhancement
                      VERSION:
                        type: string
                        maxLength: 1
                        description: 'ABAP: Program Status (Active, Saved, Transported...)'
                      TYPE:
                        type: string
                        maxLength: 4
                        description: 'Enhancement Type  enumValues: MODI=Modification,RDEF=Redefintion,USAG=Use Access,IMPL=Implementation of an Enhancement Spot'
                        enum:
                        - MODI
                        - RDEF
                        - USAG
                        - IMPL
                      ENHTOOLTYPE:
                        type: string
                        maxLength: 10
                        description: Enhancement Tool
                      SHORTTEXT_ID:
                        type: string
                        maxLength: 40
                        description: Abstraction of Possible Doc. Tool Objects
                      DOCU_ID:
                        type: string
                        maxLength: 40
                        description: Abstraction of Possible Doc. Tool Objects
                      STATE:
                        type: string
                        maxLength: 4
                        description: 'Enhancement Adjustment Status  enumValues: @08@=Automatic Adjustment,@Q3@=Enhancement has no implementation,@2L@=Interim Version,@03@=Error,@01@=Adjusted,@11@=Deleted,@9A@=Reset,@EB@=Semantic Chang,@0A@=Manual Adjustment,@09@=Tool-Supported Adjustment,@MG@=No Contract Exists'
                        enum:
                        - '@08@'
                        - '@Q3@'
                        - '@2L@'
                        - '@03@'
                        - '@01@'
                        - '@11@'
                        - '@9A@'
                        - '@EB@'
                        - '@0A@'
                        - '@09@'
                        - '@MG@'
                      UPGRADE:
                        type: string
                        maxLength: 1
                        description: 'Enhancement Upgrade  enumValues: ""=Not involved in upgrade,X=Must be adjusted'
                        enum:
                        - ''
                        - X
                      DATA_VERSION:
                        type: integer
                        format: int64
                        description: Enhancement Data Version
                      DATA:
                        type: string
                        format: byte
                        description: Enhancement Data (arbitrary)
                  ENHHEADER_INACTIVE:
                    type: object
                    properties:
                      ENHNAME:
                        type: string
                        maxLength: 30
                        description: ID of an Enhancement
                      VERSION:
                        type: string
                        maxLength: 1
                        description: 'ABAP: Program Status (Active, Saved, Transported...)'
                      TYPE:
                        type: string
                        maxLength: 4
                        description: 'Enhancement Type  enumValues: MODI=Modification,RDEF=Redefintion,USAG=Use Access,IMPL=Implementation of an Enhancement Spot'
                        enum:
                        - MODI
                        - RDEF
                        - USAG
                        - IMPL
                      ENHTOOLTYPE:
                        type: string
                        maxLength: 10
                        description: Enhancement Tool
                      SHORTTEXT_ID:
                        type: string
                        maxLength: 40
                        description: Abstraction of Possible Doc. Tool Objects
                      DOCU_ID:
                        type: string
                        maxLength: 40
                        description: Abstraction of Possible Doc. Tool Objects
                      STATE:
                        type: string
                        maxLength: 4
                        description: 'Enhancement Adjustment Status  enumValues: @08@=Automatic Adjustment,@Q3@=Enhancement has no implementation,@2L@=Interim Version,@03@=Error,@01@=Adjusted,@11@=Deleted,@9A@=Reset,@EB@=Semantic Chang,@0A@=Manual Adjustment,@09@=Tool-Supported Adjustment,@MG@=No Contract Exists'
                        enum:
                        - '@08@'
                        - '@Q3@'
                        - '@2L@'
                        - '@03@'
                        - '@01@'
                        - '@11@'
                        - '@9A@'
                        - '@EB@'
                        - '@0A@'
                        - '@09@'
                        - '@MG@'
                      UPGRADE:
                        type: string
                        maxLength: 1
                        description: 'Enhancement Upgrade  enumValues: ""=Not involved in upgrade,X=Must be adjusted'
                        enum:
                        - ''
                        - X
                      DATA_VERSION:
                        type: integer
                        format: int64
                        description: Enhancement Data Version
                      DATA:
                        type: string
                        format: byte
                        description: Enhancement Data (arbitrary)
                  ENHLOG_ACTIVE:
                    type: array
                    items:
                      type: object
                      properties:
                        ENHNAME:
                          type: string
                          maxLength: 30
                          description: ID of an Enhancement
                        VERSION:
                          type: string
                          maxLength: 1
                          description: 'ABAP: Program Status (Active, Saved, Transported...)'
                        SRCSYSTEM:
                          type: string
                          maxLength: 10
                          description: Original System of Object
                        LOGID:
                          type: integer
                          format: int64
                          description: ID of Enhancement Log Entry for Each Enhancement
                        LOGUSER:
                          type: string
                          maxLength: 12
                          description: 'Customer Enhancement/Modification: Last Changed By'
                        LOGDATE:
                          type: string
                          format: date
                          description: 'Cuzstomer Enhancement/Modification: Date of Last Change'
                        LOGTIME:
                          type: string
                          maxLength: 6
                          description: 'Customer Enhancement/Modification: Time of Last Change'
                        ACTIVATE_USER:
                          type: string
                          maxLength: 12
                          description: 'Customer Enhancement/Modification: Last Changed By'
                        ACTIVATE_DATE:
                          type: string
                          format: date
                          description: 'Cuzstomer Enhancement/Modification: Date of Last Change'
                        ACTIVATE_TIME:
                          type: string
                          maxLength: 6
                          description: 'Customer Enhancement/Modification: Time of Last Change'
                        TRKORR:
                          type: string
                          maxLength: 20
                          description: Request/Task
                        STATE_BEFORE:
                          type: string
                          maxLength: 4
                          description: Enhancement Adjustment Status
                        LOGACTION:
                          type: string
                          maxLength: 10
                          description: Enhancement Log Action
                        TEXT_ID:
                          type: string
                          maxLength: 40
                          description: Abstraction of Possible Doc. Tool Objects
                        TOOLLOGDATAVERS:
                          type: integer
                          format: int64
                          description: Enhancement Data Version
                        TOOLLOGDATA:
                          type: string
                          format: byte
                          description: ''
                  ENHLOG_INACTIVE:
                    type: array
                    items:
                      type: object
                      properties:
                        ENHNAME:
                          type: string
                          maxLength: 30
                          description: ID of an Enhancement
                        VERSION:
                          type: string
                          maxLength: 1
                          description: 'ABAP: Program Status (Active, Saved, Transported...)'
                        SRCSYSTEM:
                          type: string
                          maxLength: 10
                          description: Original System of Object
                        LOGID:
                          type: integer
                          format: int64
                          description: ID of Enhancement Log Entry for Each Enhancement
                        LOGUSER:
                          type: string
                          maxLength: 12
                          description: 'Customer Enhancement/Modification: Last Changed By'
                        LOGDATE:
                          type: string
                          format: date
                          description: 'Cuzstomer Enhancement/Modification: Date of Last Change'
                        LOGTIME:
                          type: string
                          maxLength: 6
                          description: 'Customer Enhancement/Modification: Time of Last Change'
                        ACTIVATE_USER:
                          type: string
                          maxLength: 12
                          description: 'Customer Enhancement/Modification: Last Changed By'
                        ACTIVATE_DATE:
                          type: string
                          format: date
                          description: 'Cuzstomer Enhancement/Modification: Date of Last Change'
                        ACTIVATE_TIME:
                          type: string
                          maxLength: 6
                          description: 'Customer Enhancement/Modification: Time of Last Change'
                        TRKORR:
                          type: string
                          maxLength: 20
                          description: Request/Task
                        STATE_BEFORE:
                          type: string
                          maxLength: 4
                          description: Enhancement Adjustment Status
                        LOGACTION:
                          type: string
                          maxLength: 10
                          description: Enhancement Log Action
                        TEXT_ID:
                          type: string
                          maxLength: 40
                          description: Abstraction of Possible Doc. Tool Objects
                        TOOLLOGDATAVERS:
                          type: integer
                          format: int64
                          description: Enhancement Data Version
                        TOOLLOGDATA:
                          type: string
                          format: byte
                          description: ''
                  ENHOBJCONTRACT_ACTIVE:
                    type: array
                    items:
                      type: object
                      properties:
                        ENHNAME:
                          type: string
                          maxLength: 30
                          description: ID of an Enhancement
                        VERSION:
                          type: string
                          maxLength: 1
                          description: 'ABAP: Program Status (Active, Saved, Transported...)'
                        OBJ_TYPE:
                          type: string
                          maxLength: 4
                          description: Object Type
                        OBJ_NAME:
                          type: string
                          maxLength: 120
                          description: Object Name in Object List
                        CONTRACTTYPE:
                          type: string
                          maxLength: 4
                          description: Type of a Contract
                        OTYP_MASTER:
                          type: string
                          maxLength: 4
                          description: Object Type
                        ONAM_MASTER:
                          type: string
                          maxLength: 120
                          description: Object Name in Object List
                        CONTRACTDATA:
                          type: string
                          format: byte
                          description: ''
                  ENHOBJCONTRACT_INACTIVE:
                    type: array
                    items:
                      type: object
                      properties:
                        ENHNAME:
                          type: string
                          maxLength: 30
                          description: ID of an Enhancement
                        VERSION:
                          type: string
                          maxLength: 1
                          description: 'ABAP: Program Status (Active, Saved, Transported...)'
                        OBJ_TYPE:
                          type: string
                          maxLength: 4
                          description: Object Type
                        OBJ_NAME:
                          type: string
                          maxLength: 120
                          description: Object Name in Object List
                        CONTRACTTYPE:
                          type: string
                          maxLength: 4
                          description: Type of a Contract
                        OTYP_MASTER:
                          type: string
                          maxLength: 4
                          description: Object Type
                        ONAM_MASTER:
                          type: string
                          maxLength: 120
                          description: Object Name in Object List
                        CONTRACTDATA:
                          type: string
                          format: byte
                          description: ''
                  ENHOBJ_ACTIVE:
                    type: array
                    items:
                      type: object
                      properties:
                        ENHNAME:
                          type: string
                          maxLength: 30
                          description: ID of an Enhancement
                        VERSION:
                          type: string
                          maxLength: 1
                          description: 'ABAP: Program Status (Active, Saved, Transported...)'
                        OBJ_TYPE:
                          type: string
                          maxLength: 4
                          description: Object Type
                        OBJ_NAME:
                          type: string
                          maxLength: 120
                          description: Object Name in Object List
                        STATE:
                          type: string
                          maxLength: 1
                          description: Status of an Enhancement Element
                        PGMID:
                          type: string
                          maxLength: 4
                          description: Program ID in Requests and Tasks
                        ELEMUSAGE:
                          type: string
                          maxLength: 4
                          description: Enhancement Element Use
                        UPGRADE:
                          type: string
                          maxLength: 1
                          description: Enhancement Upgrade
                        MAIN_TYPE:
                          type: string
                          maxLength: 4
                          description: Object Type
                        MAIN_NAME:
                          type: string
                          maxLength: 40
                          description: Development Environment TADIR Name
                        ADDTRANS:
                          type: string
                          maxLength: 1
                          description: Enhancement Boolean
                  ENHOBJ_INACTIVE:
                    type: array
                    items:
                      type: object
                      properties:
                        ENHNAME:
                          type: string
                          maxLength: 30
                          description: ID of an Enhancement
                        VERSION:
                          type: string
                          maxLength: 1
                          description: 'ABAP: Program Status (Active, Saved, Transported...)'
                        OBJ_TYPE:
                          type: string
                          maxLength: 4
                          description: Object Type
                        OBJ_NAME:
                          type: string
                          maxLength: 120
                          description: Object Name in Object List
                        STATE:
                          type: string
                          maxLength: 1
                          description: Status of an Enhancement Element
                        PGMID:
                          type: string
                          maxLength: 4
                          description: Program ID in Requests and Tasks
                        ELEMUSAGE:
                          type: string
                          maxLength: 4
                          description: Enhancement Element Use
                        UPGRADE:
                          type: string
                          maxLength: 1
                          description: Enhancement Upgrade
                        MAIN_TYPE:
                          type: string
                          maxLength: 4
                          description: Object Type
                        MAIN_NAME:
                          type: string
                          maxLength: 40
                          description: Development Environment TADIR Name
                        ADDTRANS:
                          type: string
                          maxLength: 1
                          description: Enhancement Boolean
                  ENHTAB_ACTIVE:
                    type: array
                    items:
                      type: object
                      properties:
                        ENHNAME:
                          type: string
                          maxLength: 30
                          description: ID of an Enhancement
                        VERSION:
                          type: string
                          maxLength: 1
                          description: 'ABAP: Program Status (Active, Saved, Transported...)'
                        TABNAME:
                          type: string
                          maxLength: 30
                          description: Table Name
                        TABKEY:
                          type: string
                          maxLength: 120
                          description: Table Key
                        STATE:
                          type: string
                          maxLength: 1
                          description: Status of an Enhancement Element
                        ELEMUSAGE:
                          type: string
                          maxLength: 4
                          description: Enhancement Element Use
                        MASTERTYPE:
                          type: string
                          maxLength: 4
                          description: Object Type
                        MASTERNAME:
                          type: string
                          maxLength: 40
                          description: Object Name in Object Directory
                        VIEWNAME:
                          type: string
                          maxLength: 30
                          description: Name of SAP table view
                        UPGRADE:
                          type: string
                          maxLength: 1
                          description: Enhancement Upgrade
                  ENHTAB_INACTIVE:
                    type: array
                    items:
                      type: object
                      properties:
                        ENHNAME:
                          type: string
                          maxLength: 30
                          description: ID of an Enhancement
                        VERSION:
                          type: string
                          maxLength: 1
                          description: 'ABAP: Program Status (Active, Saved, Transported...)'
                        TABNAME:
                          type: string
                          maxLength: 30
                          description: Table Name
                        TABKEY:
                          type: string
                          maxLength: 120
                          description: Table Key
                        STATE:
                          type: string
                          maxLength: 1
                          description: Status of an Enhancement Element
                        ELEMUSAGE:
                          type: string
                          maxLength: 4
                          description: Enhancement Element Use
                        MASTERTYPE:
                          type: string
                          maxLength: 4
                          description: Object Type
                        MASTERNAME:
                          type: string
                          maxLength: 40
                          description: Object Name in Object Directory
                        VIEWNAME:
                          type: string
                          maxLength: 30
                          description: Name of SAP table view
                        UPGRADE:
                          type: string
                          maxLength: 1
                          description: Enhancement Upgrade
                  MODIFLANG:
                    type: string
                    maxLength: 1
                  ORIGLANG:
                    type: string
                    maxLength: 1
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
