openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SVRS_GET_VERSION_ENHC_40:
    post:
      tags:
      - SVRW
      operationId: /rfc/SVRS_GET_VERSION_ENHC_40
      requestBody:
        content:
          application/json:
            schema:
              properties:
                DESTINATION:
                  type: string
                  maxLength: 32
                IV_NO_RELEASE_TRANSFORMATION:
                  type: string
                  maxLength: 1
                OBJECT_NAME:
                  type: string
                  maxLength: 110
                VERSNO:
                  type: integer
                  format: int64
                CHCMP_TAB:
                  type: array
                  items:
                    type: object
                    properties:
                      ENHCOMPOSITE:
                        type: string
                        maxLength: 30
                        description: ID of a Composite Enhancement Implementation
                      VERSION:
                        type: string
                        maxLength: 1
                        description: 'ABAP: Program Status (Active, Saved, Transported...)'
                      CHILDCOMPOSITE:
                        type: string
                        maxLength: 30
                        description: ID of a Composite Enhancement Implementation
                CHENH_TAB:
                  type: array
                  items:
                    type: object
                    properties:
                      ENHCOMPOSITE:
                        type: string
                        maxLength: 30
                        description: ID of a Composite Enhancement Implementation
                      VERSION:
                        type: string
                        maxLength: 1
                        description: 'ABAP: Program Status (Active, Saved, Transported...)'
                      CHILDENH:
                        type: string
                        maxLength: 30
                        description: ID of an Enhancement
                ENHTEXTV_TAB:
                  type: array
                  items:
                    type: object
                    properties:
                      ENHOBJECT:
                        type: string
                        maxLength: 30
                        description: ID of an Enhancement
                      VERSION:
                        type: string
                        maxLength: 1
                        description: 'ABAP: Program Status (Active, Saved, Transported...)'
                      ID:
                        type: string
                        maxLength: 40
                        description: Abstraction of Possible Doc. Tool Objects
                      DATA_INDEX:
                        type: integer
                        format: int32
                        description: 'Version Management Enhancement Spots: Counter for DATA Stge'
                      DATA:
                        type: string
                        maxLength: 255
                        description: Conversions for Version Management of Enhancement Spots
                      DATA_HEX_LEN:
                        type: integer
                        format: int32
                        description: Natural number
                      DATA_HEX:
                        type: string
                        format: byte
                        description: Split xstring
                ENHTEXT_TAB:
                  type: array
                  items:
                    type: object
                    properties:
                      ENHOBJECT:
                        type: string
                        maxLength: 30
                        description: ID of an Enhancement
                      VERSION:
                        type: string
                        maxLength: 1
                        description: 'ABAP: Program Status (Active, Saved, Transported...)'
                      ID:
                        type: string
                        maxLength: 40
                        description: Abstraction of Possible Doc. Tool Objects
                HEADER_TAB:
                  type: array
                  items:
                    type: object
                    properties:
                      ENHCOMPOSITE:
                        type: string
                        maxLength: 30
                        description: ID of a Composite Enhancement Implementation
                      VERSION:
                        type: string
                        maxLength: 1
                        description: 'ABAP: Program Status (Active, Saved, Transported...)'
                      SHORTTEXTID:
                        type: string
                        maxLength: 40
                        description: Abstraction of Possible Doc. Tool Objects
                      DOCUID:
                        type: string
                        maxLength: 40
                        description: Abstraction of Possible Doc. Tool Objects
                      AUTHOR:
                        type: string
                        maxLength: 12
                        description: Author
                      CREATEDON:
                        type: string
                        format: date
                        description: Created on
                      CHANGEDBY:
                        type: string
                        maxLength: 12
                        description: Last changed by
                      CHANGEDON:
                        type: string
                        format: date
                        description: Changed On
                      ENHCOMPTYPE:
                        type: string
                        maxLength: 10
                        description: For future use
                MDLOG_TAB:
                  type: array
                  items:
                    type: object
                    properties:
                      OBJ_TYPE:
                        type: string
                        maxLength: 4
                        description: Object Type
                      OBJ_NAME:
                        type: string
                        maxLength: 40
                        description: Development Environment TADIR Name
                      SUB_TYPE:
                        type: string
                        maxLength: 4
                        description: Object Type
                      SUB_NAME:
                        type: string
                        maxLength: 120
                        description: 'ABAP Workbench: LIMU Name'
                      INT_TYPE:
                        type: string
                        maxLength: 4
                        description: Object Type
                      INT_NAME:
                        type: string
                        maxLength: 40
                        description: Development Environment TADIR Name
                      OPERATION:
                        type: string
                        maxLength: 4
                        description: 'Customer enhancement: Operation  enumValues: ORIG=Object Reset to Original,REPA=Modification without support,MIGR=Matchcode object migration,NOTE=Note Corrections,POST=Exit at end of modularization unit,MOD=Modifications to sources,TORI=Translation Entry Reset to Original,IMP=Business Add-In - Implementation,ALL=Unit overlay,PRE=Exit at start of modularization unit,TRSL=Translation entry,NEW=New unit'
                        enum:
                        - ORIG
                        - REPA
                        - MIGR
                        - NOTE
                        - POST
                        - MOD
                        - TORI
                        - IMP
                        - ALL
                        - PRE
                        - TRSL
                        - NEW
                      MAIN_PROG:
                        type: string
                        maxLength: 40
                        description: Development Environment TADIR Name
                      INCLUDE:
                        type: string
                        maxLength: 40
                        description: Development Environment TADIR Name
                      MOD_NAME:
                        type: string
                        maxLength: 40
                        description: Development Environment TADIR Name
                      MOD_LANGU:
                        type: string
                        maxLength: 1
                        description: Language Key of Current Text Environment
                      MOD_USER:
                        type: string
                        maxLength: 12
                        description: 'Customer Enhancement/Modification: Last Changed By'
                      MOD_DATE:
                        type: string
                        format: date
                        description: 'Cuzstomer Enhancement/Modification: Date of Last Change'
                      MOD_TIME:
                        type: string
                        maxLength: 6
                        description: 'Customer Enhancement/Modification: Time of Last Change'
                      ACTIVE:
                        type: string
                        maxLength: 1
                        description: 'Customer Enhancement: Attributes of Objects to be Adjusted  enumValues: W=Post-processing required,""=Default; post-processing completed,P=Dummy entries in SMODILOG: PROT_ONLY entry already existed,X=Obsolete entry,R=Dummy entries in SMODILOG: RESET entry already existed,U=SAP Note correction not adjusted yet'
                        enum:
                        - W
                        - ''
                        - P
                        - X
                        - R
                        - U
                      INACTIVE:
                        type: string
                        maxLength: 1
                        description: 'Customer Enhancement: Object Attributes  enumValues: ""=Modifications and enhancements, SAP Note corrections,D=Deleted objects,R=Reset objects and SAP Note corrections,X=Obsolete entry,1=UXX includes are not displayed'
                        enum:
                        - ''
                        - D
                        - R
                        - X
                        - '1'
                      UPGRADE:
                        type: string
                        maxLength: 1
                        description: 'Customer enhancement: Upgrade not yet edited'
                      PRE_CORR:
                        type: string
                        maxLength: 1
                        description: 'Installation Mode for Corrections to Note  enumValues: M=Manually implemented SAP Note correction,A=Automatically implemented SAP Note correction,C=Confirmation of SAP Note implementation,""=No SAP Note correction'
                        enum:
                        - M
                        - A
                        - C
                        - ''
                      PROT_ONLY:
                        type: string
                        maxLength: 1
                        description: Modification is being logged without upgrade support
                      UPG_MODE:
                        type: string
                        maxLength: 1
                        description: 'Upgrade Mode: automatic/semi-automatic/manual  enumValues: O=Obsolete note,A=Automatically,M=Manually,S=Semi-automatic,""=Unspecified'
                        enum:
                        - O
                        - A
                        - M
                        - S
                        - ''
                      MARK:
                        type: string
                        maxLength: 1
                        description: 'New Objects in Support Package Queue  enumValues: X=Customer Objects Only,""=All Objects'
                        enum:
                        - X
                        - ''
                      SPAU:
                        type: string
                        maxLength: 1
                        description: 'Indicator object in SPAU  enumValues: X=Customer Objects Only,""=All Objects'
                        enum:
                        - X
                        - ''
                      TRKORR:
                        type: string
                        maxLength: 20
                        description: Request/Task
                      SPAU_CODE:
                        type: string
                        maxLength: 1
                        description: 'SPAU: Adjustment Return Code and Post-Processing Status  enumValues: F=Subsequent test completed for UPGRADE = SPACE,Z=Intermediate status of adjustment for UPGRADE = X,E=Syntax error in UPGRADE = SPACE,T=Subsequent test required for UPGRADE = SPACE,I=Incompletely adjusted for UPGRADE = SPACE,""=Adjusted for UPGRADE = SPACE,C=Conflicts after adjusting UPGRADE = SPACE'
                        enum:
                        - F
                        - Z
                        - E
                        - T
                        - I
                        - ''
                        - C
                VSMODISRC:
                  type: array
                  items:
                    type: object
                    properties:
                      RELID:
                        type: string
                        maxLength: 2
                        description: Relation ID
                      OBJ_TYPE:
                        type: string
                        maxLength: 4
                        description: Object Type
                      OBJ_NAME:
                        type: string
                        maxLength: 40
                        description: Development Environment TADIR Name
                      SUB_TYPE:
                        type: string
                        maxLength: 4
                        description: Object Type
                      SUB_NAME:
                        type: string
                        maxLength: 120
                        description: 'ABAP Workbench: LIMU Name'
                      INT_TYPE:
                        type: string
                        maxLength: 4
                        description: Object Type
                      INT_NAME:
                        type: string
                        maxLength: 40
                        description: Development Environment TADIR Name
                      OPERATION:
                        type: string
                        maxLength: 4
                        description: 'Customer enhancement: Operation  enumValues: ORIG=Object Reset to Original,REPA=Modification without support,MIGR=Matchcode object migration,NOTE=Note Corrections,POST=Exit at end of modularization unit,MOD=Modifications to sources,TORI=Translation Entry Reset to Original,IMP=Business Add-In - Implementation,ALL=Unit overlay,PRE=Exit at start of modularization unit,TRSL=Translation entry,NEW=New unit'
                        enum:
                        - ORIG
                        - REPA
                        - MIGR
                        - NOTE
                        - POST
                        - MOD
                        - TORI
                        - IMP
                        - ALL
                        - PRE
                        - TRSL
                        - NEW
                      SORTFIELD:
                        type: integer
                        format: int32
                        description: Continuation ID
                      VERSION:
                        type: string
                        maxLength: 6
                        description: Version number
                      CLUSTR:
                        type: integer
                        format: int32
                        description: BIN2 data element for SYST
                      CLUSTD:
                        type: string
                        format: byte
                        description: EU cluster field 3500 for INDX-like tables
              required:
              - OBJECT_NAME
              - VERSNO
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  INFO_LINE:
                    type: string
                    maxLength: 72
                  CHCMP_TAB:
                    type: array
                    items:
                      type: object
                      properties:
                        ENHCOMPOSITE:
                          type: string
                          maxLength: 30
                          description: ID of a Composite Enhancement Implementation
                        VERSION:
                          type: string
                          maxLength: 1
                          description: 'ABAP: Program Status (Active, Saved, Transported...)'
                        CHILDCOMPOSITE:
                          type: string
                          maxLength: 30
                          description: ID of a Composite Enhancement Implementation
                  CHENH_TAB:
                    type: array
                    items:
                      type: object
                      properties:
                        ENHCOMPOSITE:
                          type: string
                          maxLength: 30
                          description: ID of a Composite Enhancement Implementation
                        VERSION:
                          type: string
                          maxLength: 1
                          description: 'ABAP: Program Status (Active, Saved, Transported...)'
                        CHILDENH:
                          type: string
                          maxLength: 30
                          description: ID of an Enhancement
                  ENHTEXTV_TAB:
                    type: array
                    items:
                      type: object
                      properties:
                        ENHOBJECT:
                          type: string
                          maxLength: 30
                          description: ID of an Enhancement
                        VERSION:
                          type: string
                          maxLength: 1
                          description: 'ABAP: Program Status (Active, Saved, Transported...)'
                        ID:
                          type: string
                          maxLength: 40
                          description: Abstraction of Possible Doc. Tool Objects
                        DATA_INDEX:
                          type: integer
                          format: int32
                          description: 'Version Management Enhancement Spots: Counter for DATA Stge'
                        DATA:
                          type: string
                          maxLength: 255
                          description: Conversions for Version Management of Enhancement Spots
                        DATA_HEX_LEN:
                          type: integer
                          format: int32
                          description: Natural number
                        DATA_HEX:
                          type: string
                          format: byte
                          description: Split xstring
                  ENHTEXT_TAB:
                    type: array
                    items:
                      type: object
                      properties:
                        ENHOBJECT:
                          type: string
                          maxLength: 30
                          description: ID of an Enhancement
                        VERSION:
                          type: string
                          maxLength: 1
                          description: 'ABAP: Program Status (Active, Saved, Transported...)'
                        ID:
                          type: string
                          maxLength: 40
                          description: Abstraction of Possible Doc. Tool Objects
                  HEADER_TAB:
                    type: array
                    items:
                      type: object
                      properties:
                        ENHCOMPOSITE:
                          type: string
                          maxLength: 30
                          description: ID of a Composite Enhancement Implementation
                        VERSION:
                          type: string
                          maxLength: 1
                          description: 'ABAP: Program Status (Active, Saved, Transported...)'
                        SHORTTEXTID:
                          type: string
                          maxLength: 40
                          description: Abstraction of Possible Doc. Tool Objects
                        DOCUID:
                          type: string
                          maxLength: 40
                          description: Abstraction of Possible Doc. Tool Objects
                        AUTHOR:
                          type: string
                          maxLength: 12
                          description: Author
                        CREATEDON:
                          type: string
                          format: date
                          description: Created on
                        CHANGEDBY:
                          type: string
                          maxLength: 12
                          description: Last changed by
                        CHANGEDON:
                          type: string
                          format: date
                          description: Changed On
                        ENHCOMPTYPE:
                          type: string
                          maxLength: 10
                          description: For future use
                  MDLOG_TAB:
                    type: array
                    items:
                      type: object
                      properties:
                        OBJ_TYPE:
                          type: string
                          maxLength: 4
                          description: Object Type
                        OBJ_NAME:
                          type: string
                          maxLength: 40
                          description: Development Environment TADIR Name
                        SUB_TYPE:
                          type: string
                          maxLength: 4
                          description: Object Type
                        SUB_NAME:
                          type: string
                          maxLength: 120
                          description: 'ABAP Workbench: LIMU Name'
                        INT_TYPE:
                          type: string
                          maxLength: 4
                          description: Object Type
                        INT_NAME:
                          type: string
                          maxLength: 40
                          description: Development Environment TADIR Name
                        OPERATION:
                          type: string
                          maxLength: 4
                          description: 'Customer enhancement: Operation  enumValues: ORIG=Object Reset to Original,REPA=Modification without support,MIGR=Matchcode object migration,NOTE=Note Corrections,POST=Exit at end of modularization unit,MOD=Modifications to sources,TORI=Translation Entry Reset to Original,IMP=Business Add-In - Implementation,ALL=Unit overlay,PRE=Exit at start of modularization unit,TRSL=Translation entry,NEW=New unit'
                          enum:
                          - ORIG
                          - REPA
                          - MIGR
                          - NOTE
                          - POST
                          - MOD
                          - TORI
                          - IMP
                          - ALL
                          - PRE
                          - TRSL
                          - NEW
                        MAIN_PROG:
                          type: string
                          maxLength: 40
                          description: Development Environment TADIR Name
                        INCLUDE:
                          type: string
                          maxLength: 40
                          description: Development Environment TADIR Name
                        MOD_NAME:
                          type: string
                          maxLength: 40
                          description: Development Environment TADIR Name
                        MOD_LANGU:
                          type: string
                          maxLength: 1
                          description: Language Key of Current Text Environment
                        MOD_USER:
                          type: string
                          maxLength: 12
                          description: 'Customer Enhancement/Modification: Last Changed By'
                        MOD_DATE:
                          type: string
                          format: date
                          description: 'Cuzstomer Enhancement/Modification: Date of Last Change'
                        MOD_TIME:
                          type: string
                          maxLength: 6
                          description: 'Customer Enhancement/Modification: Time of Last Change'
                        ACTIVE:
                          type: string
                          maxLength: 1
                          description: 'Customer Enhancement: Attributes of Objects to be Adjusted  enumValues: W=Post-processing required,""=Default; post-processing completed,P=Dummy entries in SMODILOG: PROT_ONLY entry already existed,X=Obsolete entry,R=Dummy entries in SMODILOG: RESET entry already existed,U=SAP Note correction not adjusted yet'
                          enum:
                          - W
                          - ''
                          - P
                          - X
                          - R
                          - U
                        INACTIVE:
                          type: string
                          maxLength: 1
                          description: 'Customer Enhancement: Object Attributes  enumValues: ""=Modifications and enhancements, SAP Note corrections,D=Deleted objects,R=Reset objects and SAP Note corrections,X=Obsolete entry,1=UXX includes are not displayed'
                          enum:
                          - ''
                          - D
                          - R
                          - X
                          - '1'
                        UPGRADE:
                          type: string
                          maxLength: 1
                          description: 'Customer enhancement: Upgrade not yet edited'
                        PRE_CORR:
                          type: string
                          maxLength: 1
                          description: 'Installation Mode for Corrections to Note  enumValues: M=Manually implemented SAP Note correction,A=Automatically implemented SAP Note correction,C=Confirmation of SAP Note implementation,""=No SAP Note correction'
                          enum:
                          - M
                          - A
                          - C
                          - ''
                        PROT_ONLY:
                          type: string
                          maxLength: 1
                          description: Modification is being logged without upgrade support
                        UPG_MODE:
                          type: string
                          maxLength: 1
                          description: 'Upgrade Mode: automatic/semi-automatic/manual  enumValues: O=Obsolete note,A=Automatically,M=Manually,S=Semi-automatic,""=Unspecified'
                          enum:
                          - O
                          - A
                          - M
                          - S
                          - ''
                        MARK:
                          type: string
                          maxLength: 1
                          description: 'New Objects in Support Package Queue  enumValues: X=Customer Objects Only,""=All Objects'
                          enum:
                          - X
                          - ''
                        SPAU:
                          type: string
                          maxLength: 1
                          description: 'Indicator object in SPAU  enumValues: X=Customer Objects Only,""=All Objects'
                          enum:
                          - X
                          - ''
                        TRKORR:
                          type: string
                          maxLength: 20
                          description: Request/Task
                        SPAU_CODE:
                          type: string
                          maxLength: 1
                          description: 'SPAU: Adjustment Return Code and Post-Processing Status  enumValues: F=Subsequent test completed for UPGRADE = SPACE,Z=Intermediate status of adjustment for UPGRADE = X,E=Syntax error in UPGRADE = SPACE,T=Subsequent test required for UPGRADE = SPACE,I=Incompletely adjusted for UPGRADE = SPACE,""=Adjusted for UPGRADE = SPACE,C=Conflicts after adjusting UPGRADE = SPACE'
                          enum:
                          - F
                          - Z
                          - E
                          - T
                          - I
                          - ''
                          - C
                  VSMODISRC:
                    type: array
                    items:
                      type: object
                      properties:
                        RELID:
                          type: string
                          maxLength: 2
                          description: Relation ID
                        OBJ_TYPE:
                          type: string
                          maxLength: 4
                          description: Object Type
                        OBJ_NAME:
                          type: string
                          maxLength: 40
                          description: Development Environment TADIR Name
                        SUB_TYPE:
                          type: string
                          maxLength: 4
                          description: Object Type
                        SUB_NAME:
                          type: string
                          maxLength: 120
                          description: 'ABAP Workbench: LIMU Name'
                        INT_TYPE:
                          type: string
                          maxLength: 4
                          description: Object Type
                        INT_NAME:
                          type: string
                          maxLength: 40
                          description: Development Environment TADIR Name
                        OPERATION:
                          type: string
                          maxLength: 4
                          description: 'Customer enhancement: Operation  enumValues: ORIG=Object Reset to Original,REPA=Modification without support,MIGR=Matchcode object migration,NOTE=Note Corrections,POST=Exit at end of modularization unit,MOD=Modifications to sources,TORI=Translation Entry Reset to Original,IMP=Business Add-In - Implementation,ALL=Unit overlay,PRE=Exit at start of modularization unit,TRSL=Translation entry,NEW=New unit'
                          enum:
                          - ORIG
                          - REPA
                          - MIGR
                          - NOTE
                          - POST
                          - MOD
                          - TORI
                          - IMP
                          - ALL
                          - PRE
                          - TRSL
                          - NEW
                        SORTFIELD:
                          type: integer
                          format: int32
                          description: Continuation ID
                        VERSION:
                          type: string
                          maxLength: 6
                          description: Version number
                        CLUSTR:
                          type: integer
                          format: int32
                          description: BIN2 data element for SYST
                        CLUSTD:
                          type: string
                          format: byte
                          description: EU cluster field 3500 for INDX-like tables
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
