openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/DD_EXTIDX_SEARCH:
    post:
      tags:
      - SF4E
      operationId: /rfc/DD_EXTIDX_SEARCH
      requestBody:
        content:
          application/json:
            schema:
              properties:
                CALLBACK_FORM:
                  type: string
                  maxLength: 30
                  description: Internal
                CALLBACK_PROGRAM:
                  type: string
                  maxLength: 40
                  description: 'ABAP Program: Current Main Program'
                DISPLAY:
                  type: string
                  maxLength: 1
                  description: 'DD: truth value'
                DYNPNR:
                  type: string
                  maxLength: 4
                  description: 'ABAP Program: Number of Current Screen'
                DYNPPROG:
                  type: string
                  maxLength: 40
                  description: 'ABAP Program: Current Main Program'
                DYNPROFIELD:
                  type: string
                  maxLength: 132
                  description: Field Name
                FIELDNAME:
                  type: string
                  maxLength: 30
                  description: Field Name
                INDEXNAME:
                  type: string
                  maxLength: 30
                  description: Logical name of an external index
                MULTIPLE_CHOICE:
                  type: string
                  maxLength: 1
                  description: 'DD: truth value'
                SEARCHHELP:
                  type: string
                  maxLength: 30
                  description: Name of a search help
                SHLPPARAM:
                  type: string
                  maxLength: 30
                  description: Name of a search help parameter
                STEPL:
                  type: integer
                  format: int32
                  description: Screens, current table line index
                SUPPRESS_RECORDLIST:
                  type: string
                  maxLength: 1
                  description: Suppress display of hit list
                TABNAME:
                  type: string
                  maxLength: 30
                  description: Table Name
                VALUE:
                  type: string
                  maxLength: 255
                  description: Text (length 132)
                DOCID_TAB:
                  type: array
                  items:
                    type: object
                    properties:
                      DOCID:
                        type: string
                        maxLength: 64
                        description: Document ID
                      LANGU:
                        type: string
                        maxLength: 1
                        description: Language Key
                      OPERATION:
                        type: string
                        maxLength: 1
                        description: DML Operation
                      DOCIDREF:
                        type: integer
                        format: int64
                        description: Reference of a Document Attribute to a Document
                      STATUSID:
                        type: integer
                        format: int64
                        description: Return code
                      RANKV:
                        type: integer
                        format: int64
                        description: Rank of a hit for external search machines
                RECORD_TAB:
                  type: array
                  items:
                    type: object
                    properties:
                      STRING:
                        type: string
                        maxLength: 1000
                        description: Text of length 1000
                      DUMMY:
                        type: number
                        description: Ensures maximum alignment of STRING field
                      PACK_NO:
                        type: integer
                        format: int64
                        description: Number of Package
                      PACK_KIND:
                        type: string
                        maxLength: 1
                        description: 'Type of Package for Hit List Display  enumValues: H=Historical Values,I=Valid number range,P=Personal Values'
                        enum:
                        - H
                        - I
                        - P
                RETURN_TAB:
                  type: array
                  items:
                    type: object
                    properties:
                      SHLPNAME:
                        type: string
                        maxLength: 30
                        description: Name of a search help
                      FIELDNAME:
                        type: string
                        maxLength: 30
                        description: Field Name
                      RECORDPOS:
                        type: integer
                        format: int64
                        description: Record position in the matchcode F4 output table
                      FIELDVAL:
                        type: string
                        maxLength: 132
                        description: Field contents, min./max. value
                      RETFIELD:
                        type: string
                        maxLength: 132
                        description: Field name
                SE_SELOPT_TAB:
                  type: array
                  items:
                    type: object
                    properties:
                      SHLPNAME:
                        type: string
                        maxLength: 30
                        description: Name of a Search Help
                      SHLPFIELD:
                        type: string
                        maxLength: 30
                        description: Name of a search help parameter
                      SIGN:
                        type: string
                        maxLength: 1
                        description: 'ABAP: ID: I/E (include/exclude values)'
                      OPTION:
                        type: string
                        maxLength: 2
                        description: 'ABAP: Selection option (EQ/BT/CP/...)'
                      LOW:
                        type: string
                        maxLength: 45
                        description: '''Generic'' SELECT-OPTION for Dynamic Selections'
                      HIGH:
                        type: string
                        maxLength: 45
                        description: '''Generic'' SELECT-OPTION for Dynamic Selections'
                      SETYPE:
                        type: string
                        maxLength: 1
                        description: 'Search type for search engines  enumValues: E=Exact search,S=Very good match,G=Good match,M=Average match,F=Fuzzy search,L=Linguistic search,T=Terminology search'
                        enum:
                        - E
                        - S
                        - G
                        - M
                        - F
                        - L
                        - T
                      SEDB:
                        type: string
                        maxLength: 1
                        description: 'Flag: Parameter for external index or database'
                      SECNTTYPE:
                        type: string
                        maxLength: 7
                        description: 'String/nat. language text in fuzzy F4 help  enumValues: S=Contents,N=Word(s)'
                        enum:
                        - S
                        - N
              required:
              - FIELDNAME
              - TABNAME
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  DOCID_TAB:
                    type: array
                    items:
                      type: object
                      properties:
                        DOCID:
                          type: string
                          maxLength: 64
                          description: Document ID
                        LANGU:
                          type: string
                          maxLength: 1
                          description: Language Key
                        OPERATION:
                          type: string
                          maxLength: 1
                          description: DML Operation
                        DOCIDREF:
                          type: integer
                          format: int64
                          description: Reference of a Document Attribute to a Document
                        STATUSID:
                          type: integer
                          format: int64
                          description: Return code
                        RANKV:
                          type: integer
                          format: int64
                          description: Rank of a hit for external search machines
                  RECORD_TAB:
                    type: array
                    items:
                      type: object
                      properties:
                        STRING:
                          type: string
                          maxLength: 1000
                          description: Text of length 1000
                        DUMMY:
                          type: number
                          description: Ensures maximum alignment of STRING field
                        PACK_NO:
                          type: integer
                          format: int64
                          description: Number of Package
                        PACK_KIND:
                          type: string
                          maxLength: 1
                          description: 'Type of Package for Hit List Display  enumValues: H=Historical Values,I=Valid number range,P=Personal Values'
                          enum:
                          - H
                          - I
                          - P
                  RETURN_TAB:
                    type: array
                    items:
                      type: object
                      properties:
                        SHLPNAME:
                          type: string
                          maxLength: 30
                          description: Name of a search help
                        FIELDNAME:
                          type: string
                          maxLength: 30
                          description: Field Name
                        RECORDPOS:
                          type: integer
                          format: int64
                          description: Record position in the matchcode F4 output table
                        FIELDVAL:
                          type: string
                          maxLength: 132
                          description: Field contents, min./max. value
                        RETFIELD:
                          type: string
                          maxLength: 132
                          description: Field name
                  SE_SELOPT_TAB:
                    type: array
                    items:
                      type: object
                      properties:
                        SHLPNAME:
                          type: string
                          maxLength: 30
                          description: Name of a Search Help
                        SHLPFIELD:
                          type: string
                          maxLength: 30
                          description: Name of a search help parameter
                        SIGN:
                          type: string
                          maxLength: 1
                          description: 'ABAP: ID: I/E (include/exclude values)'
                        OPTION:
                          type: string
                          maxLength: 2
                          description: 'ABAP: Selection option (EQ/BT/CP/...)'
                        LOW:
                          type: string
                          maxLength: 45
                          description: '''Generic'' SELECT-OPTION for Dynamic Selections'
                        HIGH:
                          type: string
                          maxLength: 45
                          description: '''Generic'' SELECT-OPTION for Dynamic Selections'
                        SETYPE:
                          type: string
                          maxLength: 1
                          description: 'Search type for search engines  enumValues: E=Exact search,S=Very good match,G=Good match,M=Average match,F=Fuzzy search,L=Linguistic search,T=Terminology search'
                          enum:
                          - E
                          - S
                          - G
                          - M
                          - F
                          - L
                          - T
                        SEDB:
                          type: string
                          maxLength: 1
                          description: 'Flag: Parameter for external index or database'
                        SECNTTYPE:
                          type: string
                          maxLength: 7
                          description: 'String/nat. language text in fuzzy F4 help  enumValues: S=Contents,N=Word(s)'
                          enum:
                          - S
                          - N
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
