openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SVRS_GET_VERSION_TABD:
    post:
      tags:
      - SVRR
      summary: Table structure version
      operationId: /rfc/SVRS_GET_VERSION_TABD
      requestBody:
        content:
          application/json:
            schema:
              properties:
                OBJECT_NAME:
                  type: string
                  maxLength: 34
                  description: Object name
                VERSNO:
                  type: integer
                  format: int64
                  description: Number of the version
                DD02V_TAB:
                  type: array
                  items:
                    type: object
                    properties:
                      TABNAME:
                        type: string
                        maxLength: 10
                        description: ''
                      DDLANGUAGE:
                        type: string
                        maxLength: 1
                        description: ''
                      TABCLASS:
                        type: string
                        maxLength: 8
                        description: ''
                      SQLTAB:
                        type: string
                        maxLength: 10
                        description: ''
                      DATMIN:
                        type: integer
                        format: int64
                        description: ''
                      DATMAX:
                        type: integer
                        format: int64
                        description: ''
                      DATAVG:
                        type: integer
                        format: int64
                        description: ''
                      CLIDEP:
                        type: string
                        maxLength: 1
                        description: ''
                      BUFFERED:
                        type: string
                        maxLength: 1
                        description: ''
                      COMPRFLAG:
                        type: string
                        maxLength: 1
                        description: ''
                      LANGDEP:
                        type: string
                        maxLength: 1
                        description: ''
                      DDTEXT:
                        type: string
                        maxLength: 60
                        description: ''
                      ACTFLAG:
                        type: string
                        maxLength: 1
                        description: ''
                      APPLCLASS:
                        type: string
                        maxLength: 4
                        description: ''
                      AUTHCLASS:
                        type: integer
                        format: int64
                        description: ''
                      AS4USER:
                        type: string
                        maxLength: 12
                        description: ''
                      AS4DATE:
                        type: string
                        format: date
                        description: ''
                      AS4TIME:
                        type: string
                        maxLength: 6
                        description: ''
                      MASTERLANG:
                        type: string
                        maxLength: 1
                        description: ''
                      MAINFLAG:
                        type: string
                        maxLength: 1
                        description: ''
                      CONTFLAG:
                        type: string
                        maxLength: 1
                        description: ''
                      RESERVETAB:
                        type: string
                        maxLength: 4
                        description: ''
                      GLOBALFLAG:
                        type: string
                        maxLength: 1
                        description: ''
                      PROZPUFF:
                        type: integer
                        format: int64
                        description: ''
                      VIEWCLASS:
                        type: string
                        maxLength: 1
                        description: ''
                      VIEWGRANT:
                        type: string
                        maxLength: 1
                        description: ''
                      MULTIPLEX:
                        type: string
                        maxLength: 1
                        description: ''
                DD03V_TAB:
                  type: array
                  items:
                    type: object
                    properties:
                      TABNAME:
                        type: string
                        maxLength: 10
                        description: Table Name
                      FIELDNAME:
                        type: string
                        maxLength: 10
                        description: Local Field Name
                      DDLANGUAGE:
                        type: string
                        maxLength: 1
                        description: Language Key
                      POSITION:
                        type: integer
                        format: int64
                        description: Position of Field in Table
                      KEYFLAG:
                        type: string
                        maxLength: 1
                        description: Version Management
                      MANDATORY:
                        type: string
                        maxLength: 1
                        description: Version Management
                      ROLLNAME:
                        type: string
                        maxLength: 10
                        description: Data element (semantic domain)
                      CHECKTABLE:
                        type: string
                        maxLength: 10
                        description: Name of check table for foreign key
                      ADMINFIELD:
                        type: string
                        maxLength: 1
                        description: Version Management
                      INTTYPE:
                        type: string
                        maxLength: 1
                        description: ABAP Data Type (C,D,N,...)
                      INTLEN:
                        type: integer
                        format: int64
                        description: Internal Length in Bytes
                      REFTABLE:
                        type: string
                        maxLength: 10
                        description: Table for reference field
                      PRECFIELD:
                        type: string
                        maxLength: 10
                        description: Accuracy Field for UNIT Field
                      REFFIELD:
                        type: string
                        maxLength: 10
                        description: Reference Field for Currency and Quantity Fields
                      CONROUT:
                        type: string
                        maxLength: 10
                        description: Version Management
                      NOTNULL:
                        type: string
                        maxLength: 1
                        description: Version Management
                      DATATYPE:
                        type: string
                        maxLength: 4
                        description: ABAP Dictionary Data Type
                      LENG:
                        type: integer
                        format: int64
                        description: Version Management
                      DECIMALS:
                        type: integer
                        format: int64
                        description: Number of Decimal Places
                      DDTEXT:
                        type: string
                        maxLength: 60
                        description: Explanatory Short Text
                      DOMNAME:
                        type: string
                        maxLength: 10
                        description: Domain Name
                DD05V_TAB:
                  type: array
                  items:
                    type: object
                    properties:
                      TABNAME:
                        type: string
                        maxLength: 10
                        description: Table Name
                      FIELDNAME:
                        type: string
                        maxLength: 10
                        description: Version Management
                      DDLANGUAGE:
                        type: string
                        maxLength: 1
                        description: Language Key
                      PRIMPOS:
                        type: integer
                        format: int64
                        description: Version Management
                      FORTABLE:
                        type: string
                        maxLength: 10
                        description: Version Management
                      FORKEY:
                        type: string
                        maxLength: 10
                        description: Version Management
                      FORSTRING:
                        type: string
                        maxLength: 60
                        description: Version Management
                DD08V_TAB:
                  type: array
                  items:
                    type: object
                    properties:
                      TABNAME:
                        type: string
                        maxLength: 10
                        description: ''
                      FIELDNAME:
                        type: string
                        maxLength: 10
                        description: ''
                      DDLANGUAGE:
                        type: string
                        maxLength: 1
                        description: ''
                      CHECKTABLE:
                        type: string
                        maxLength: 10
                        description: ''
                      FRKART:
                        type: string
                        maxLength: 4
                        description: ''
                      CLASFIELD:
                        type: string
                        maxLength: 10
                        description: ''
                      CLASVALUE:
                        type: string
                        maxLength: 10
                        description: ''
                      CARD:
                        type: string
                        maxLength: 2
                        description: ''
                      CHECKFLAG:
                        type: string
                        maxLength: 1
                        description: ''
                      DDTEXT:
                        type: string
                        maxLength: 60
                        description: ''
                      ARBGB:
                        type: string
                        maxLength: 2
                        description: ''
                      MSGNR:
                        type: string
                        maxLength: 3
                        description: ''
                      NOINHERIT:
                        type: string
                        maxLength: 1
                        description: ''
                      CARDLEFT:
                        type: string
                        maxLength: 2
                        description: ''
              required:
              - OBJECT_NAME
              - VERSNO
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  INFO_LINE:
                    type: string
                    maxLength: 72
                    description: Name + correction number + date + time + author
                  DD02V_TAB:
                    type: array
                    items:
                      type: object
                      properties:
                        TABNAME:
                          type: string
                          maxLength: 10
                          description: ''
                        DDLANGUAGE:
                          type: string
                          maxLength: 1
                          description: ''
                        TABCLASS:
                          type: string
                          maxLength: 8
                          description: ''
                        SQLTAB:
                          type: string
                          maxLength: 10
                          description: ''
                        DATMIN:
                          type: integer
                          format: int64
                          description: ''
                        DATMAX:
                          type: integer
                          format: int64
                          description: ''
                        DATAVG:
                          type: integer
                          format: int64
                          description: ''
                        CLIDEP:
                          type: string
                          maxLength: 1
                          description: ''
                        BUFFERED:
                          type: string
                          maxLength: 1
                          description: ''
                        COMPRFLAG:
                          type: string
                          maxLength: 1
                          description: ''
                        LANGDEP:
                          type: string
                          maxLength: 1
                          description: ''
                        DDTEXT:
                          type: string
                          maxLength: 60
                          description: ''
                        ACTFLAG:
                          type: string
                          maxLength: 1
                          description: ''
                        APPLCLASS:
                          type: string
                          maxLength: 4
                          description: ''
                        AUTHCLASS:
                          type: integer
                          format: int64
                          description: ''
                        AS4USER:
                          type: string
                          maxLength: 12
                          description: ''
                        AS4DATE:
                          type: string
                          format: date
                          description: ''
                        AS4TIME:
                          type: string
                          maxLength: 6
                          description: ''
                        MASTERLANG:
                          type: string
                          maxLength: 1
                          description: ''
                        MAINFLAG:
                          type: string
                          maxLength: 1
                          description: ''
                        CONTFLAG:
                          type: string
                          maxLength: 1
                          description: ''
                        RESERVETAB:
                          type: string
                          maxLength: 4
                          description: ''
                        GLOBALFLAG:
                          type: string
                          maxLength: 1
                          description: ''
                        PROZPUFF:
                          type: integer
                          format: int64
                          description: ''
                        VIEWCLASS:
                          type: string
                          maxLength: 1
                          description: ''
                        VIEWGRANT:
                          type: string
                          maxLength: 1
                          description: ''
                        MULTIPLEX:
                          type: string
                          maxLength: 1
                          description: ''
                  DD03V_TAB:
                    type: array
                    items:
                      type: object
                      properties:
                        TABNAME:
                          type: string
                          maxLength: 10
                          description: Table Name
                        FIELDNAME:
                          type: string
                          maxLength: 10
                          description: Local Field Name
                        DDLANGUAGE:
                          type: string
                          maxLength: 1
                          description: Language Key
                        POSITION:
                          type: integer
                          format: int64
                          description: Position of Field in Table
                        KEYFLAG:
                          type: string
                          maxLength: 1
                          description: Version Management
                        MANDATORY:
                          type: string
                          maxLength: 1
                          description: Version Management
                        ROLLNAME:
                          type: string
                          maxLength: 10
                          description: Data element (semantic domain)
                        CHECKTABLE:
                          type: string
                          maxLength: 10
                          description: Name of check table for foreign key
                        ADMINFIELD:
                          type: string
                          maxLength: 1
                          description: Version Management
                        INTTYPE:
                          type: string
                          maxLength: 1
                          description: ABAP Data Type (C,D,N,...)
                        INTLEN:
                          type: integer
                          format: int64
                          description: Internal Length in Bytes
                        REFTABLE:
                          type: string
                          maxLength: 10
                          description: Table for reference field
                        PRECFIELD:
                          type: string
                          maxLength: 10
                          description: Accuracy Field for UNIT Field
                        REFFIELD:
                          type: string
                          maxLength: 10
                          description: Reference Field for Currency and Quantity Fields
                        CONROUT:
                          type: string
                          maxLength: 10
                          description: Version Management
                        NOTNULL:
                          type: string
                          maxLength: 1
                          description: Version Management
                        DATATYPE:
                          type: string
                          maxLength: 4
                          description: ABAP Dictionary Data Type
                        LENG:
                          type: integer
                          format: int64
                          description: Version Management
                        DECIMALS:
                          type: integer
                          format: int64
                          description: Number of Decimal Places
                        DDTEXT:
                          type: string
                          maxLength: 60
                          description: Explanatory Short Text
                        DOMNAME:
                          type: string
                          maxLength: 10
                          description: Domain Name
                  DD05V_TAB:
                    type: array
                    items:
                      type: object
                      properties:
                        TABNAME:
                          type: string
                          maxLength: 10
                          description: Table Name
                        FIELDNAME:
                          type: string
                          maxLength: 10
                          description: Version Management
                        DDLANGUAGE:
                          type: string
                          maxLength: 1
                          description: Language Key
                        PRIMPOS:
                          type: integer
                          format: int64
                          description: Version Management
                        FORTABLE:
                          type: string
                          maxLength: 10
                          description: Version Management
                        FORKEY:
                          type: string
                          maxLength: 10
                          description: Version Management
                        FORSTRING:
                          type: string
                          maxLength: 60
                          description: Version Management
                  DD08V_TAB:
                    type: array
                    items:
                      type: object
                      properties:
                        TABNAME:
                          type: string
                          maxLength: 10
                          description: ''
                        FIELDNAME:
                          type: string
                          maxLength: 10
                          description: ''
                        DDLANGUAGE:
                          type: string
                          maxLength: 1
                          description: ''
                        CHECKTABLE:
                          type: string
                          maxLength: 10
                          description: ''
                        FRKART:
                          type: string
                          maxLength: 4
                          description: ''
                        CLASFIELD:
                          type: string
                          maxLength: 10
                          description: ''
                        CLASVALUE:
                          type: string
                          maxLength: 10
                          description: ''
                        CARD:
                          type: string
                          maxLength: 2
                          description: ''
                        CHECKFLAG:
                          type: string
                          maxLength: 1
                          description: ''
                        DDTEXT:
                          type: string
                          maxLength: 60
                          description: ''
                        ARBGB:
                          type: string
                          maxLength: 2
                          description: ''
                        MSGNR:
                          type: string
                          maxLength: 3
                          description: ''
                        NOINHERIT:
                          type: string
                          maxLength: 1
                          description: ''
                        CARDLEFT:
                          type: string
                          maxLength: 2
                          description: ''
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
