openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/MDI_TTYP_INFO_GET:
    post:
      tags:
      - RFC2
      operationId: /rfc/MDI_TTYP_INFO_GET
      requestBody:
        content:
          application/json:
            schema:
              properties:
                GET_STATE:
                  type: object
                  properties:
                    TTYP:
                      type: string
                      maxLength: 1
                      description: 'Status of the ABAP Dictionary object  enumValues: A=Active object status,M=Latest object status (''N'' > ''A''),*=Any object status,""=Object does not exist or is not used,X=Object exists or is used,N=Revised object status'
                      enum:
                      - A
                      - M
                      - '*'
                      - ''
                      - X
                      - N
                    TTHD:
                      type: string
                      maxLength: 1
                      description: 'Status of the ABAP Dictionary object  enumValues: A=Active object status,M=Latest object status (''N'' > ''A''),*=Any object status,""=Object does not exist or is not used,X=Object exists or is used,N=Revised object status'
                      enum:
                      - A
                      - M
                      - '*'
                      - ''
                      - X
                      - N
                    TTKF:
                      type: string
                      maxLength: 1
                      description: 'Status of the ABAP Dictionary object  enumValues: A=Active object status,M=Latest object status (''N'' > ''A''),*=Any object status,""=Object does not exist or is not used,X=Object exists or is used,N=Revised object status'
                      enum:
                      - A
                      - M
                      - '*'
                      - ''
                      - X
                      - N
                LANGU:
                  type: string
                  default: SY-LANGU
                  maxLength: 1
                  description: Language in which Texts are Read
                TTYP_NAME:
                  type: string
                  maxLength: 30
                  description: Name of Table Type to be Read
                WITHTEXT:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: Name of Table Type to be Read
                DD42V_TAB_A:
                  type: array
                  items:
                    type: object
                    properties:
                      TYPENAME:
                        type: string
                        maxLength: 30
                        description: Name of table type
                      KEYFDPOS:
                        type: integer
                        format: int64
                        description: Position of key component in key of table type
                      ROWTYPEPOS:
                        type: integer
                        format: int64
                        description: Position of the field in the table
                      KEYFIELD:
                        type: string
                        maxLength: 132
                        description: Key component for table types
                DD42V_TAB_N:
                  type: array
                  items:
                    type: object
                    properties:
                      TYPENAME:
                        type: string
                        maxLength: 30
                        description: Name of table type
                      KEYFDPOS:
                        type: integer
                        format: int64
                        description: Position of key component in key of table type
                      ROWTYPEPOS:
                        type: integer
                        format: int64
                        description: Position of the field in the table
                      KEYFIELD:
                        type: string
                        maxLength: 132
                        description: Key component for table types
              required:
              - TTYP_NAME
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  DD40V_WA_A:
                    type: object
                    properties:
                      TYPENAME:
                        type: string
                        maxLength: 30
                        description: Name of table type
                      DDLANGUAGE:
                        type: string
                        maxLength: 1
                        description: Language Key
                      ROWTYPE:
                        type: string
                        maxLength: 30
                        description: Name of row type for table types
                      ROWKIND:
                        type: string
                        maxLength: 1
                        description: 'Category of Dictionary Type  enumValues: L=Table Type,E=Elementary Type,""=Direct Type Entry,D=Domain,R=Reference Type,S=Structured Type'
                        enum:
                        - L
                        - E
                        - ''
                        - D
                        - R
                        - S
                      DATATYPE:
                        type: string
                        maxLength: 4
                        description: 'Data Type in ABAP Dictionary  enumValues: NUMC=Character string with only digits,INT2=2-byte integer, only for length field before LCHR or LRAW,DEC=Counter or amount field with comma and sign,VARC=Long character string, no longer supported from Rel. 3.0,INT1=1-byte integer, integer number <= 255,RAW=Uninterpreted sequence of bytes,CUKY=Currency key, referenced by CURR fields,QUAN=Quantity field, points to a unit field with format UNIT,FLTP=Floating point number,
                          accurate to 8 bytes,LRAW=Long byte string, requires preceding INT2 field,PREC=Precision of a QUAN field,CHAR=Character String,ACCP=Posting period YYYYMM,INT4=4-byte integer, integer number with sign,RSTR=Byte String of Variable Length,STRG=Character String of Variable Length,LANG=Language key,TIMS=Time field (hhmmss), stored as char(6),UNIT=Unit key for QUAN fields,CLNT=Client,DATS=Date field (YYYYMMDD) stored as char(8),LCHR=Long character string, requires preceding INT2
                          field,CURR=Currency field, stored as DEC,SSTR=Short Character String of Variable Length'
                        enum:
                        - NUMC
                        - INT2
                        - DEC
                        - VARC
                        - INT1
                        - RAW
                        - CUKY
                        - QUAN
                        - FLTP
                        - LRAW
                        - PREC
                        - CHAR
                        - ACCP
                        - INT4
                        - RSTR
                        - STRG
                        - LANG
                        - TIMS
                        - UNIT
                        - CLNT
                        - DATS
                        - LCHR
                        - CURR
                        - SSTR
                      LENG:
                        type: integer
                        format: int64
                        description: Length (No. of Characters)
                      DECIMALS:
                        type: integer
                        format: int64
                        description: Number of Decimal Places
                      ACCESSMODE:
                        type: string
                        maxLength: 1
                        description: 'Access modes for table types  enumValues: A=Not Specified,I=Index Table,T=Standard Table,S=Sorted Table,H=Hashed Table'
                        enum:
                        - A
                        - I
                        - T
                        - S
                        - H
                      KEYDEF:
                        type: string
                        maxLength: 1
                        description: 'Key definition for table types  enumValues: G=Not specified,K=Key components,D=Standard key,T=Row Type'
                        enum:
                        - G
                        - K
                        - D
                        - T
                      KEYKIND:
                        type: string
                        maxLength: 1
                        description: 'Key category for table types  enumValues: G=Not specified,U=Unique,N=Non-unique'
                        enum:
                        - G
                        - U
                        - N
                      KEYFDCOUNT:
                        type: integer
                        format: int64
                        description: Number of key fields of a table type
                      GENERIC:
                        type: string
                        maxLength: 1
                        description: 'Generic table type  enumValues: X=TRUE,""=FALSE'
                        enum:
                        - X
                        - ''
                      AS4USER:
                        type: string
                        maxLength: 12
                        description: Last Changed by
                      AS4DATE:
                        type: string
                        format: date
                        description: Date of Last Change
                      AS4TIME:
                        type: string
                        maxLength: 6
                        description: Last changed at
                      DDTEXT:
                        type: string
                        maxLength: 60
                        description: Explanatory short text
                      TYPELEN:
                        type: integer
                        format: int64
                        description: Length (No. of Characters)
                      ACTFLAG:
                        type: string
                        maxLength: 4
                        description: Actions to be executed for a dependent DD object
                      TTYPKIND:
                        type: string
                        maxLength: 1
                        description: 'Category of table type (range or general table type)  enumValues: ""=General table type,R=Ranges table type'
                        enum:
                        - ''
                        - R
                      RANGE_CTYP:
                        type: string
                        maxLength: 30
                        description: Elem. type of LOW and HIGH components of a Ranges type
                      CTDATATYPE:
                        type: string
                        maxLength: 4
                        description: 'Data Type in ABAP Dictionary  enumValues: NUMC=Character string with only digits,INT2=2-byte integer, only for length field before LCHR or LRAW,DEC=Counter or amount field with comma and sign,VARC=Long character string, no longer supported from Rel. 3.0,INT1=1-byte integer, integer number <= 255,RAW=Uninterpreted sequence of bytes,CUKY=Currency key, referenced by CURR fields,QUAN=Quantity field, points to a unit field with format UNIT,FLTP=Floating point number,
                          accurate to 8 bytes,LRAW=Long byte string, requires preceding INT2 field,PREC=Precision of a QUAN field,CHAR=Character String,ACCP=Posting period YYYYMM,INT4=4-byte integer, integer number with sign,RSTR=Byte String of Variable Length,STRG=Character String of Variable Length,LANG=Language key,TIMS=Time field (hhmmss), stored as char(6),UNIT=Unit key for QUAN fields,CLNT=Client,DATS=Date field (YYYYMMDD) stored as char(8),LCHR=Long character string, requires preceding INT2
                          field,CURR=Currency field, stored as DEC,SSTR=Short Character String of Variable Length'
                        enum:
                        - NUMC
                        - INT2
                        - DEC
                        - VARC
                        - INT1
                        - RAW
                        - CUKY
                        - QUAN
                        - FLTP
                        - LRAW
                        - PREC
                        - CHAR
                        - ACCP
                        - INT4
                        - RSTR
                        - STRG
                        - LANG
                        - TIMS
                        - UNIT
                        - CLNT
                        - DATS
                        - LCHR
                        - CURR
                        - SSTR
                      CTLENG:
                        type: integer
                        format: int64
                        description: Length (No. of Characters)
                      CTDECIMALS:
                        type: integer
                        format: int64
                        description: Number of Decimal Places
                      REFTYPE:
                        type: string
                        maxLength: 1
                        description: 'Type of Object Referenced  enumValues: L=Table Type,""=No Information,D=DATA,E=Data Element,O=Object,C=Class,B=Built-In Dictionary Type,A=ANY,I=Interface,S=Structured Type'
                        enum:
                        - L
                        - ''
                        - D
                        - E
                        - O
                        - C
                        - B
                        - A
                        - I
                        - S
                      OCCURS:
                        type: integer
                        format: int64
                        description: Initial Line Number for Table Types
                      PROXYTYPE:
                        type: string
                        maxLength: 1
                        description: 'DD: Is a generated proxy object  enumValues: X=Is a generated proxy object,""=Is not proxy-generated'
                        enum:
                        - X
                        - ''
                  DD40V_WA_N:
                    type: object
                    properties:
                      TYPENAME:
                        type: string
                        maxLength: 30
                        description: Name of table type
                      DDLANGUAGE:
                        type: string
                        maxLength: 1
                        description: Language Key
                      ROWTYPE:
                        type: string
                        maxLength: 30
                        description: Name of row type for table types
                      ROWKIND:
                        type: string
                        maxLength: 1
                        description: 'Category of Dictionary Type  enumValues: L=Table Type,E=Elementary Type,""=Direct Type Entry,D=Domain,R=Reference Type,S=Structured Type'
                        enum:
                        - L
                        - E
                        - ''
                        - D
                        - R
                        - S
                      DATATYPE:
                        type: string
                        maxLength: 4
                        description: 'Data Type in ABAP Dictionary  enumValues: NUMC=Character string with only digits,INT2=2-byte integer, only for length field before LCHR or LRAW,DEC=Counter or amount field with comma and sign,VARC=Long character string, no longer supported from Rel. 3.0,INT1=1-byte integer, integer number <= 255,RAW=Uninterpreted sequence of bytes,CUKY=Currency key, referenced by CURR fields,QUAN=Quantity field, points to a unit field with format UNIT,FLTP=Floating point number,
                          accurate to 8 bytes,LRAW=Long byte string, requires preceding INT2 field,PREC=Precision of a QUAN field,CHAR=Character String,ACCP=Posting period YYYYMM,INT4=4-byte integer, integer number with sign,RSTR=Byte String of Variable Length,STRG=Character String of Variable Length,LANG=Language key,TIMS=Time field (hhmmss), stored as char(6),UNIT=Unit key for QUAN fields,CLNT=Client,DATS=Date field (YYYYMMDD) stored as char(8),LCHR=Long character string, requires preceding INT2
                          field,CURR=Currency field, stored as DEC,SSTR=Short Character String of Variable Length'
                        enum:
                        - NUMC
                        - INT2
                        - DEC
                        - VARC
                        - INT1
                        - RAW
                        - CUKY
                        - QUAN
                        - FLTP
                        - LRAW
                        - PREC
                        - CHAR
                        - ACCP
                        - INT4
                        - RSTR
                        - STRG
                        - LANG
                        - TIMS
                        - UNIT
                        - CLNT
                        - DATS
                        - LCHR
                        - CURR
                        - SSTR
                      LENG:
                        type: integer
                        format: int64
                        description: Length (No. of Characters)
                      DECIMALS:
                        type: integer
                        format: int64
                        description: Number of Decimal Places
                      ACCESSMODE:
                        type: string
                        maxLength: 1
                        description: 'Access modes for table types  enumValues: A=Not Specified,I=Index Table,T=Standard Table,S=Sorted Table,H=Hashed Table'
                        enum:
                        - A
                        - I
                        - T
                        - S
                        - H
                      KEYDEF:
                        type: string
                        maxLength: 1
                        description: 'Key definition for table types  enumValues: G=Not specified,K=Key components,D=Standard key,T=Row Type'
                        enum:
                        - G
                        - K
                        - D
                        - T
                      KEYKIND:
                        type: string
                        maxLength: 1
                        description: 'Key category for table types  enumValues: G=Not specified,U=Unique,N=Non-unique'
                        enum:
                        - G
                        - U
                        - N
                      KEYFDCOUNT:
                        type: integer
                        format: int64
                        description: Number of key fields of a table type
                      GENERIC:
                        type: string
                        maxLength: 1
                        description: 'Generic table type  enumValues: X=TRUE,""=FALSE'
                        enum:
                        - X
                        - ''
                      AS4USER:
                        type: string
                        maxLength: 12
                        description: Last Changed by
                      AS4DATE:
                        type: string
                        format: date
                        description: Date of Last Change
                      AS4TIME:
                        type: string
                        maxLength: 6
                        description: Last changed at
                      DDTEXT:
                        type: string
                        maxLength: 60
                        description: Explanatory short text
                      TYPELEN:
                        type: integer
                        format: int64
                        description: Length (No. of Characters)
                      ACTFLAG:
                        type: string
                        maxLength: 4
                        description: Actions to be executed for a dependent DD object
                      TTYPKIND:
                        type: string
                        maxLength: 1
                        description: 'Category of table type (range or general table type)  enumValues: ""=General table type,R=Ranges table type'
                        enum:
                        - ''
                        - R
                      RANGE_CTYP:
                        type: string
                        maxLength: 30
                        description: Elem. type of LOW and HIGH components of a Ranges type
                      CTDATATYPE:
                        type: string
                        maxLength: 4
                        description: 'Data Type in ABAP Dictionary  enumValues: NUMC=Character string with only digits,INT2=2-byte integer, only for length field before LCHR or LRAW,DEC=Counter or amount field with comma and sign,VARC=Long character string, no longer supported from Rel. 3.0,INT1=1-byte integer, integer number <= 255,RAW=Uninterpreted sequence of bytes,CUKY=Currency key, referenced by CURR fields,QUAN=Quantity field, points to a unit field with format UNIT,FLTP=Floating point number,
                          accurate to 8 bytes,LRAW=Long byte string, requires preceding INT2 field,PREC=Precision of a QUAN field,CHAR=Character String,ACCP=Posting period YYYYMM,INT4=4-byte integer, integer number with sign,RSTR=Byte String of Variable Length,STRG=Character String of Variable Length,LANG=Language key,TIMS=Time field (hhmmss), stored as char(6),UNIT=Unit key for QUAN fields,CLNT=Client,DATS=Date field (YYYYMMDD) stored as char(8),LCHR=Long character string, requires preceding INT2
                          field,CURR=Currency field, stored as DEC,SSTR=Short Character String of Variable Length'
                        enum:
                        - NUMC
                        - INT2
                        - DEC
                        - VARC
                        - INT1
                        - RAW
                        - CUKY
                        - QUAN
                        - FLTP
                        - LRAW
                        - PREC
                        - CHAR
                        - ACCP
                        - INT4
                        - RSTR
                        - STRG
                        - LANG
                        - TIMS
                        - UNIT
                        - CLNT
                        - DATS
                        - LCHR
                        - CURR
                        - SSTR
                      CTLENG:
                        type: integer
                        format: int64
                        description: Length (No. of Characters)
                      CTDECIMALS:
                        type: integer
                        format: int64
                        description: Number of Decimal Places
                      REFTYPE:
                        type: string
                        maxLength: 1
                        description: 'Type of Object Referenced  enumValues: L=Table Type,""=No Information,D=DATA,E=Data Element,O=Object,C=Class,B=Built-In Dictionary Type,A=ANY,I=Interface,S=Structured Type'
                        enum:
                        - L
                        - ''
                        - D
                        - E
                        - O
                        - C
                        - B
                        - A
                        - I
                        - S
                      OCCURS:
                        type: integer
                        format: int64
                        description: Initial Line Number for Table Types
                      PROXYTYPE:
                        type: string
                        maxLength: 1
                        description: 'DD: Is a generated proxy object  enumValues: X=Is a generated proxy object,""=Is not proxy-generated'
                        enum:
                        - X
                        - ''
                  GOT_STATE:
                    type: object
                    properties:
                      TTYP:
                        type: string
                        maxLength: 1
                        description: 'Status of the ABAP Dictionary object  enumValues: A=Active object status,M=Latest object status (''N'' > ''A''),*=Any object status,""=Object does not exist or is not used,X=Object exists or is used,N=Revised object status'
                        enum:
                        - A
                        - M
                        - '*'
                        - ''
                        - X
                        - N
                      TTHD:
                        type: string
                        maxLength: 1
                        description: 'Status of the ABAP Dictionary object  enumValues: A=Active object status,M=Latest object status (''N'' > ''A''),*=Any object status,""=Object does not exist or is not used,X=Object exists or is used,N=Revised object status'
                        enum:
                        - A
                        - M
                        - '*'
                        - ''
                        - X
                        - N
                      TTKF:
                        type: string
                        maxLength: 1
                        description: 'Status of the ABAP Dictionary object  enumValues: A=Active object status,M=Latest object status (''N'' > ''A''),*=Any object status,""=Object does not exist or is not used,X=Object exists or is used,N=Revised object status'
                        enum:
                        - A
                        - M
                        - '*'
                        - ''
                        - X
                        - N
                  DD42V_TAB_A:
                    type: array
                    items:
                      type: object
                      properties:
                        TYPENAME:
                          type: string
                          maxLength: 30
                          description: Name of table type
                        KEYFDPOS:
                          type: integer
                          format: int64
                          description: Position of key component in key of table type
                        ROWTYPEPOS:
                          type: integer
                          format: int64
                          description: Position of the field in the table
                        KEYFIELD:
                          type: string
                          maxLength: 132
                          description: Key component for table types
                  DD42V_TAB_N:
                    type: array
                    items:
                      type: object
                      properties:
                        TYPENAME:
                          type: string
                          maxLength: 30
                          description: Name of table type
                        KEYFDPOS:
                          type: integer
                          format: int64
                          description: Position of key component in key of table type
                        ROWTYPEPOS:
                          type: integer
                          format: int64
                          description: Position of the field in the table
                        KEYFIELD:
                          type: string
                          maxLength: 132
                          description: Key component for table types
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
