openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/ECATT_READ_METHOD:
    post:
      tags:
      - ECATT_RTTI
      summary: Read Method Parameters
      operationId: /rfc/ECATT_READ_METHOD
      requestBody:
        content:
          application/json:
            schema:
              properties:
                IM_CLASSNAME:
                  type: string
                  maxLength: 30
                  description: Class Name
                IM_NAME:
                  type: string
                  maxLength: 61
                  description: Method Name
              required:
              - IM_CLASSNAME
              - IM_NAME
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  EX_METHDESC:
                    type: object
                    properties:
                      NAME:
                        type: string
                        maxLength: 61
                        description: Method Name
                      FOR_EVENT:
                        type: string
                        maxLength: 61
                        description: Method Name
                      OF_CLASS:
                        type: string
                        maxLength: 30
                        description: 30 Characters
                      VISIBILITY:
                        type: string
                        maxLength: 1
                        description: Single-Character Flag
                      IS_INTERFACE:
                        type: string
                        maxLength: 1
                        description: Single-Character Flag
                      IS_INHERITED:
                        type: string
                        maxLength: 1
                        description: Single-Character Flag
                      IS_REDEFINED:
                        type: string
                        maxLength: 1
                        description: Single-Character Flag
                      IS_ABSTRACT:
                        type: string
                        maxLength: 1
                        description: Single-Character Flag
                      IS_FINAL:
                        type: string
                        maxLength: 1
                        description: Single-Character Flag
                      IS_CLASS:
                        type: string
                        maxLength: 1
                        description: Single-Character Flag
                      ALIAS_FOR:
                        type: string
                        maxLength: 61
                        description: Method Name
                      EXCEPTIONS:
                        type: array
                        items:
                          type: object
                          properties:
                            NAME:
                              type: string
                              maxLength: 30
                              description: Exception
                      PARAMETERS:
                        type: array
                        items:
                          type: object
                          properties:
                            LENGTH:
                              type: integer
                              format: int32
                              description: Natural number
                            DECIMALS:
                              type: integer
                              format: int32
                              description: Natural number
                            TYPE_KIND:
                              type: string
                              maxLength: 1
                              description: Single-Character Flag
                            NAME:
                              type: string
                              maxLength: 30
                              description: 30 Characters
                            PARM_KIND:
                              type: string
                              maxLength: 1
                              description: Single-Character Flag
                            BY_VALUE:
                              type: string
                              maxLength: 1
                              description: Single-Character Flag
                            IS_OPTIONAL:
                              type: string
                              maxLength: 1
                              description: Single-Character Flag
                            PARM_DESC:
                              type: string
                              description: ''
                            PARM_DEFAULT:
                              type: string
                              description: ''
                  EX_METHOD_DESCR:
                    type: string
                    description: Name of a Node in DOM
                  EX_PARMDESCR:
                    type: array
                    items:
                      type: object
                      properties:
                        PARAM:
                          type: string
                          maxLength: 30
                          description: Parameter Name
                        PARAMCLASS:
                          type: string
                          maxLength: 1
                          description: Parameter type
                        SPRAS:
                          type: string
                          maxLength: 1
                          description: Language Key
                        STEXT:
                          type: string
                          maxLength: 79
                          description: Short text
                        PARPOS:
                          type: integer
                          format: int32
                          description: Position in Relevant IMPORT/EXPORT Parameter
                        DEFLT:
                          type: string
                          maxLength: 21
                          description: Default value for import parameter
                        TYPES:
                          type: string
                          maxLength: 1
                          description: Reference Structure is an ABAP/4 Type
                        OPTIONAL:
                          type: string
                          maxLength: 1
                          description: Optional parameters
                        REFERENCE:
                          type: string
                          maxLength: 1
                          description: Call by reference
                        CHANGING:
                          type: string
                          maxLength: 1
                          description: Changing a parameter allowed
                        TYP:
                          type: string
                          maxLength: 132
                          description: Associated Type of an Interface Parameter
                        CLASS:
                          type: string
                          maxLength: 1
                          description: Reference to a Class
                        REF_CLASS:
                          type: string
                          maxLength: 1
                          description: Reference to a Class
                        LINE_OF:
                          type: string
                          maxLength: 1
                          description: Parameter is 'LINE OF' table type
                        TABLE_OF:
                          type: string
                          maxLength: 1
                          description: Parameter Is Reference Type 'TABLE OF'
                        HAS_DBF:
                          type: string
                          maxLength: 1
                          description: Type Assignment in DBFIELD
                  EX_RC:
                    type: integer
                    format: int32
                    description: Return Value, Return Value After ABAP Statements
                  EX_TYPEDESCR:
                    type: array
                    items:
                      type: object
                      properties:
                        TABNAME:
                          type: string
                          maxLength: 30
                          description: Table Name
                        FIELDNAME:
                          type: string
                          maxLength: 30
                          description: Field Name
                        LANGU:
                          type: string
                          maxLength: 1
                          description: Language Key
                        POSITION:
                          type: integer
                          format: int64
                          description: Position of the field in the table
                        OFFSET:
                          type: integer
                          format: int64
                          description: Offset of a field
                        DOMNAME:
                          type: string
                          maxLength: 30
                          description: Domain name
                        ROLLNAME:
                          type: string
                          maxLength: 30
                          description: Data element (semantic domain)
                        CHECKTABLE:
                          type: string
                          maxLength: 30
                          description: Table Name
                        LENG:
                          type: integer
                          format: int64
                          description: Length (No. of Characters)
                        INTLEN:
                          type: integer
                          format: int64
                          description: Internal Length in Bytes
                        OUTPUTLEN:
                          type: integer
                          format: int64
                          description: Output Length
                        DECIMALS:
                          type: integer
                          format: int64
                          description: Number of Decimal Places
                        DATATYPE:
                          type: string
                          maxLength: 4
                          description: 'ABAP/4 Dictionary: Screen data type for Screen Painter'
                        INTTYPE:
                          type: string
                          maxLength: 1
                          description: ABAP data type (C,D,N,...)
                        REFTABLE:
                          type: string
                          maxLength: 30
                          description: Table for reference field
                        REFFIELD:
                          type: string
                          maxLength: 30
                          description: Reference field for currency and qty fields
                        PRECFIELD:
                          type: string
                          maxLength: 30
                          description: Name of included table
                        AUTHORID:
                          type: string
                          maxLength: 3
                          description: Authorization class
                        MEMORYID:
                          type: string
                          maxLength: 20
                          description: Set/Get parameter ID
                        LOGFLAG:
                          type: string
                          maxLength: 1
                          description: Indicator for writing change documents
                        MASK:
                          type: string
                          maxLength: 20
                          description: Template (not used)
                        MASKLEN:
                          type: integer
                          format: int64
                          description: Template length (not used)
                        CONVEXIT:
                          type: string
                          maxLength: 5
                          description: Conversion Routine
                        HEADLEN:
                          type: integer
                          format: int64
                          description: Maximum length of heading
                        SCRLEN1:
                          type: integer
                          format: int64
                          description: Max. length for short field label
                        SCRLEN2:
                          type: integer
                          format: int64
                          description: Max. length for medium field label
                        SCRLEN3:
                          type: integer
                          format: int64
                          description: Max. length for long field label
                        FIELDTEXT:
                          type: string
                          maxLength: 60
                          description: Short Description of Repository Objects
                        REPTEXT:
                          type: string
                          maxLength: 55
                          description: Heading
                        SCRTEXT_S:
                          type: string
                          maxLength: 10
                          description: Short Field Label
                        SCRTEXT_M:
                          type: string
                          maxLength: 20
                          description: Medium Field Label
                        SCRTEXT_L:
                          type: string
                          maxLength: 40
                          description: Long Field Label
                        KEYFLAG:
                          type: string
                          maxLength: 1
                          description: Identifies a key field of a table
                        LOWERCASE:
                          type: string
                          maxLength: 1
                          description: Lowercase letters allowed/not allowed
                        MAC:
                          type: string
                          maxLength: 1
                          description: Flag if search help is attached to the field
                        GENKEY:
                          type: string
                          maxLength: 1
                          description: Flag (X or Blank)
                        NOFORKEY:
                          type: string
                          maxLength: 1
                          description: Flag (X or Blank)
                        VALEXI:
                          type: string
                          maxLength: 1
                          description: Existence of fixed values
                        NOAUTHCH:
                          type: string
                          maxLength: 1
                          description: Flag (X or Blank)
                        SIGN:
                          type: string
                          maxLength: 1
                          description: Flag for sign in numerical fields
                        DYNPFLD:
                          type: string
                          maxLength: 1
                          description: 'Flag: field to be displayed on the screen'
                        F4AVAILABL:
                          type: string
                          maxLength: 1
                          description: Does the field have an input help
                        COMPTYPE:
                          type: string
                          maxLength: 1
                          description: 'DD: Component Type'
                        LFIELDNAME:
                          type: string
                          maxLength: 132
                          description: Field name
                        LTRFLDDIS:
                          type: string
                          maxLength: 1
                          description: Basic write direction has been defined LTR (left-to-right)
                        BIDICTRLC:
                          type: string
                          maxLength: 1
                          description: 'DD: No Filtering of BIDI Formatting Characters'
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
