openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RFC_FUNCTION_SEARCH_WITHGROUP:
    post:
      tags:
      - RFC2
      operationId: /rfc/RFC_FUNCTION_SEARCH_WITHGROUP
      requestBody:
        content:
          application/json:
            schema:
              properties:
                FUNCNAME:
                  type: string
                  maxLength: 30
                GROUPNAME:
                  type: string
                  default: ' '
                  maxLength: 26
                LANGUAGE:
                  type: string
                  default: SY-LANGU
                  maxLength: 1
                FUNCTIONS:
                  type: array
                  items:
                    type: object
                    properties:
                      FUNCNAME:
                        type: string
                        maxLength: 30
                        description: Name of Function Module
                      GROUPNAME:
                        type: string
                        maxLength: 26
                        description: Function group, to which the function module belongs
                      APPL:
                        type: string
                        maxLength: 1
                        description: Application to which function module is assigned
                      HOST:
                        type: string
                        maxLength: 32
                        description: Remote host (CPIC)
                      STEXT:
                        type: string
                        maxLength: 74
                        description: Short text for function module
                      DEVCLASS:
                        type: string
                        maxLength: 30
                        description: Package
                      COMPNAME:
                        type: string
                        maxLength: 24
                        description: Application component ID
                      COMPID:
                        type: string
                        maxLength: 20
                        description: Application Component
                      FREEDATE:
                        type: string
                        format: date
                        description: Release date of function module
                      INTREL:
                        type: string
                        maxLength: 1
                        description: Single-Character Flag
                      EXTREL:
                        type: string
                        maxLength: 1
                        description: Single-Character Flag
                      OBSOLETE:
                        type: string
                        maxLength: 1
                        description: Single-Character Flag
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  FUNCTIONS:
                    type: array
                    items:
                      type: object
                      properties:
                        FUNCNAME:
                          type: string
                          maxLength: 30
                          description: Name of Function Module
                        GROUPNAME:
                          type: string
                          maxLength: 26
                          description: Function group, to which the function module belongs
                        APPL:
                          type: string
                          maxLength: 1
                          description: Application to which function module is assigned
                        HOST:
                          type: string
                          maxLength: 32
                          description: Remote host (CPIC)
                        STEXT:
                          type: string
                          maxLength: 74
                          description: Short text for function module
                        DEVCLASS:
                          type: string
                          maxLength: 30
                          description: Package
                        COMPNAME:
                          type: string
                          maxLength: 24
                          description: Application component ID
                        COMPID:
                          type: string
                          maxLength: 20
                          description: Application Component
                        FREEDATE:
                          type: string
                          format: date
                          description: Release date of function module
                        INTREL:
                          type: string
                          maxLength: 1
                          description: Single-Character Flag
                        EXTREL:
                          type: string
                          maxLength: 1
                          description: Single-Character Flag
                        OBSOLETE:
                          type: string
                          maxLength: 1
                          description: Single-Character Flag
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
