openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RS_SCRP_GR_DDIC:
    post:
      tags:
      - SEUS
      operationId: /rfc/RS_SCRP_GR_DDIC
      requestBody:
        content:
          application/json:
            schema:
              properties:
                FIELD_NAME:
                  type: string
                  maxLength: 132
                  description: (Generic) field name to table from Dictionary
                LANGU:
                  type: string
                  default: SY-LANGU
                  maxLength: 1
                  description: Maintenance language
                TABLE_NAME:
                  type: string
                  maxLength: 30
                  description: Table name from Dictionary
                DFIELD:
                  type: array
                  items:
                    type: object
                    properties:
                      FNAM:
                        type: string
                        maxLength: 132
                        description: Field name
                      ITYP:
                        type: string
                        maxLength: 1
                        description: Internal type from ABAP Dictionary
                      TYPE:
                        type: string
                        maxLength: 4
                        description: Field Format
                      LENG:
                        type: string
                        format: byte
                        description: Text length
                      FLG1:
                        type: string
                        format: byte
                        description: Flag byte 1
                      FLG2:
                        type: string
                        format: byte
                        description: Flag byte 2
                      FLG3:
                        type: string
                        format: byte
                        description: Flag byte 3
                      FMB1:
                        type: string
                        format: byte
                        description: Format byte
                      FMB2:
                        type: string
                        format: byte
                        description: Format byte extension
                      ALLOWED:
                        type: string
                        maxLength: 1
                        description: 'Flag: Data type allowed in screen  enumValues: X='
                        enum:
                        - X
                      GTYP:
                        type: string
                        maxLength: 1
                        description: Graphical type ( space, 'C')
                      PAID:
                        type: string
                        maxLength: 20
                        description: Set/Get parameter ID
                      UCNV:
                        type: string
                        maxLength: 5
                        description: User conversion routine
                      AGLT:
                        type: string
                        format: byte
                        description: Number of valid positions
                      ADEZ:
                        type: string
                        format: byte
                        description: No. of decimal places
                      AUTH:
                        type: string
                        maxLength: 3
                        description: Authorization ID
                      WNAM:
                        type: string
                        maxLength: 132
                        description: Currency key field
                      RES1:
                        type: string
                        maxLength: 255
                        description: Screen source reserve field area without structure
                      FIELDTEXT:
                        type: string
                        maxLength: 60
                        description: Short Description of Repository Objects
                      HEADLEN:
                        type: integer
                        format: int64
                        description: Maximum length of heading
                      REPTEXT:
                        type: string
                        maxLength: 55
                        description: Heading
                      SCRLEN1:
                        type: integer
                        format: int64
                        description: Max. length for short field label
                      SCRTEXT_S:
                        type: string
                        maxLength: 10
                        description: Short Field Label
                      SCRLEN2:
                        type: integer
                        format: int64
                        description: Max. length for medium field label
                      SCRTEXT_M:
                        type: string
                        maxLength: 20
                        description: Medium Field Label
                      SCRLEN3:
                        type: integer
                        format: int64
                        description: Max. length for long field label
                      SCRTEXT_L:
                        type: string
                        maxLength: 40
                        description: Long Field Label
              required:
              - FIELD_NAME
              - TABLE_NAME
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  MESS_CODE:
                    type: string
                    maxLength: 6
                    description: Message code in the form 'abbccc'
                  MESS_TEXT:
                    type: string
                    maxLength: 158
                    description: Message text
                  DFIELD:
                    type: array
                    items:
                      type: object
                      properties:
                        FNAM:
                          type: string
                          maxLength: 132
                          description: Field name
                        ITYP:
                          type: string
                          maxLength: 1
                          description: Internal type from ABAP Dictionary
                        TYPE:
                          type: string
                          maxLength: 4
                          description: Field Format
                        LENG:
                          type: string
                          format: byte
                          description: Text length
                        FLG1:
                          type: string
                          format: byte
                          description: Flag byte 1
                        FLG2:
                          type: string
                          format: byte
                          description: Flag byte 2
                        FLG3:
                          type: string
                          format: byte
                          description: Flag byte 3
                        FMB1:
                          type: string
                          format: byte
                          description: Format byte
                        FMB2:
                          type: string
                          format: byte
                          description: Format byte extension
                        ALLOWED:
                          type: string
                          maxLength: 1
                          description: 'Flag: Data type allowed in screen  enumValues: X='
                          enum:
                          - X
                        GTYP:
                          type: string
                          maxLength: 1
                          description: Graphical type ( space, 'C')
                        PAID:
                          type: string
                          maxLength: 20
                          description: Set/Get parameter ID
                        UCNV:
                          type: string
                          maxLength: 5
                          description: User conversion routine
                        AGLT:
                          type: string
                          format: byte
                          description: Number of valid positions
                        ADEZ:
                          type: string
                          format: byte
                          description: No. of decimal places
                        AUTH:
                          type: string
                          maxLength: 3
                          description: Authorization ID
                        WNAM:
                          type: string
                          maxLength: 132
                          description: Currency key field
                        RES1:
                          type: string
                          maxLength: 255
                          description: Screen source reserve field area without structure
                        FIELDTEXT:
                          type: string
                          maxLength: 60
                          description: Short Description of Repository Objects
                        HEADLEN:
                          type: integer
                          format: int64
                          description: Maximum length of heading
                        REPTEXT:
                          type: string
                          maxLength: 55
                          description: Heading
                        SCRLEN1:
                          type: integer
                          format: int64
                          description: Max. length for short field label
                        SCRTEXT_S:
                          type: string
                          maxLength: 10
                          description: Short Field Label
                        SCRLEN2:
                          type: integer
                          format: int64
                          description: Max. length for medium field label
                        SCRTEXT_M:
                          type: string
                          maxLength: 20
                          description: Medium Field Label
                        SCRLEN3:
                          type: integer
                          format: int64
                          description: Max. length for long field label
                        SCRTEXT_L:
                          type: string
                          maxLength: 40
                          description: Long Field Label
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
