openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RSAQ_REMOTE_FUNCAREA_FIELDLIST:
    post:
      tags:
      - AQRC
      operationId: /rfc/RSAQ_REMOTE_FUNCAREA_FIELDLIST
      requestBody:
        content:
          application/json:
            schema:
              properties:
                FUNCAREA:
                  type: string
                  maxLength: 24
                  description: InfoSet
                WITH_SYSTEM_OBJECTS:
                  type: string
                  default: ' '
                  maxLength: 1
                WORKSPACE:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: Work Area
                FIELDLIST:
                  type: array
                  items:
                    type: object
                    properties:
                      NUMB:
                        type: string
                        maxLength: 2
                        description: 'SAP Query (S): Field group name'
                      SGNA:
                        type: string
                        maxLength: 30
                        description: 'SAP Query (S): Table name'
                      NAME:
                        type: string
                        maxLength: 70
                        description: 'SAP Query (S): Field name (table field)'
                      FTEXT:
                        type: string
                        maxLength: 60
                        description: 'SAP Query (S): Long text for a field'
                      TYPE:
                        type: string
                        maxLength: 1
                        description: 'SAP Query (S): ABAP type'
                      OLENG:
                        type: string
                        maxLength: 3
                        description: 'SAP Query (S): Length'
                      DECIMALS:
                        type: string
                        maxLength: 2
                        description: 'SAP Query (S): Decimal places'
                      CURRY:
                        type: string
                        maxLength: 1
                        description: 'SAP Query (S): Flag'
                      LENG:
                        type: string
                        maxLength: 3
                        description: 'SAP Query (S): Length'
                      LIKEFIELD:
                        type: string
                        maxLength: 70
                        description: 'SAP Query (S): Field name (table field)'
                GROUP_LIST:
                  type: array
                  items:
                    type: object
                    properties:
                      NUMB:
                        type: string
                        maxLength: 2
                        description: 'SAP Query (S): Field group name'
                      NUMBT:
                        type: string
                        maxLength: 24
                        description: 'SAP Query (S): Field group text'
                SEL_FIELDS:
                  type: array
                  items:
                    type: object
                    properties:
                      KIND:
                        type: string
                        maxLength: 1
                        description: 'SAP Query (S): Flag'
                      SPNAME:
                        type: string
                        maxLength: 8
                        description: 'SAP Query (S): Name of parameter/select-option'
                      FNAME:
                        type: string
                        maxLength: 70
                        description: 'SAP Query (S): Field name (table field)'
                      FTEXT:
                        type: string
                        maxLength: 60
                        description: 'SAP Query (S): Long text for a field'
                      STDSEL:
                        type: string
                        maxLength: 1
                        description: 'SAP Query (S): Flag'
                      TYPE:
                        type: string
                        maxLength: 1
                        description: 'SAP Query (S): ABAP type'
                      LENGTH:
                        type: string
                        maxLength: 3
                        description: 'SAP Query (S): Length'
                      CHE_RAD:
                        type: string
                        maxLength: 1
                        description: 'SAP Query (S): Flag'
                      RGROUP:
                        type: string
                        maxLength: 4
                        description: 'SAP Query (L): Group name (selection screen)'
                      NODISPLAY:
                        type: string
                        maxLength: 1
                        description: 'SAP Query (S): Flag'
                      OBLIGATORY:
                        type: string
                        maxLength: 1
                        description: 'SAP Query (S): Flag'
              required:
              - FUNCAREA
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  FIELDLIST:
                    type: array
                    items:
                      type: object
                      properties:
                        NUMB:
                          type: string
                          maxLength: 2
                          description: 'SAP Query (S): Field group name'
                        SGNA:
                          type: string
                          maxLength: 30
                          description: 'SAP Query (S): Table name'
                        NAME:
                          type: string
                          maxLength: 70
                          description: 'SAP Query (S): Field name (table field)'
                        FTEXT:
                          type: string
                          maxLength: 60
                          description: 'SAP Query (S): Long text for a field'
                        TYPE:
                          type: string
                          maxLength: 1
                          description: 'SAP Query (S): ABAP type'
                        OLENG:
                          type: string
                          maxLength: 3
                          description: 'SAP Query (S): Length'
                        DECIMALS:
                          type: string
                          maxLength: 2
                          description: 'SAP Query (S): Decimal places'
                        CURRY:
                          type: string
                          maxLength: 1
                          description: 'SAP Query (S): Flag'
                        LENG:
                          type: string
                          maxLength: 3
                          description: 'SAP Query (S): Length'
                        LIKEFIELD:
                          type: string
                          maxLength: 70
                          description: 'SAP Query (S): Field name (table field)'
                  GROUP_LIST:
                    type: array
                    items:
                      type: object
                      properties:
                        NUMB:
                          type: string
                          maxLength: 2
                          description: 'SAP Query (S): Field group name'
                        NUMBT:
                          type: string
                          maxLength: 24
                          description: 'SAP Query (S): Field group text'
                  SEL_FIELDS:
                    type: array
                    items:
                      type: object
                      properties:
                        KIND:
                          type: string
                          maxLength: 1
                          description: 'SAP Query (S): Flag'
                        SPNAME:
                          type: string
                          maxLength: 8
                          description: 'SAP Query (S): Name of parameter/select-option'
                        FNAME:
                          type: string
                          maxLength: 70
                          description: 'SAP Query (S): Field name (table field)'
                        FTEXT:
                          type: string
                          maxLength: 60
                          description: 'SAP Query (S): Long text for a field'
                        STDSEL:
                          type: string
                          maxLength: 1
                          description: 'SAP Query (S): Flag'
                        TYPE:
                          type: string
                          maxLength: 1
                          description: 'SAP Query (S): ABAP type'
                        LENGTH:
                          type: string
                          maxLength: 3
                          description: 'SAP Query (S): Length'
                        CHE_RAD:
                          type: string
                          maxLength: 1
                          description: 'SAP Query (S): Flag'
                        RGROUP:
                          type: string
                          maxLength: 4
                          description: 'SAP Query (L): Group name (selection screen)'
                        NODISPLAY:
                          type: string
                          maxLength: 1
                          description: 'SAP Query (S): Flag'
                        OBLIGATORY:
                          type: string
                          maxLength: 1
                          description: 'SAP Query (S): Flag'
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
