openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RHF4_RFC_FIELD_VALUE_REQUEST:
    post:
      tags:
      - RHF4
      operationId: /rfc/RHF4_RFC_FIELD_VALUE_REQUEST
      requestBody:
        content:
          application/json:
            schema:
              properties:
                CALLBACK_FORM:
                  type: string
                  default: ' '
                  maxLength: 30
                  description: Form for callback before F4 start (-> long docu)
                CALLBACK_PROGRAM:
                  type: string
                  default: ' '
                  maxLength: 40
                  description: Program for callback before F4 start
                CBK_OTYPE:
                  type: string
                  default: ' '
                  maxLength: 2
                  description: Target object type
                CBK_PLVAR:
                  type: string
                  default: ' '
                  maxLength: 2
                  description: Target plan version
                CBK_TITLE:
                  type: string
                  default: ' '
                  maxLength: 70
                  description: Title line
                DISPLAY:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: Override readiness for input
                DYNPNR:
                  type: string
                  default: ' '
                  maxLength: 4
                  description: Screen Number
                DYNPPROG:
                  type: string
                  default: ' '
                  maxLength: 40
                  description: Current Program
                DYNPROFIELD:
                  type: string
                  default: ' '
                  maxLength: 132
                  description: Name of screen field for value return
                FIELDNAME:
                  type: string
                  maxLength: 30
                  description: Field name from Dictionary
                MULTIPLE_CHOICE:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: Switch on multiple selection
                RETURN_ALL_FIELDS:
                  type: string
                  default: '*'
                  maxLength: 1
                SEARCHHELP:
                  type: string
                  default: ' '
                  maxLength: 30
                  description: Search help as screen field attribute
                SHLPPARAM:
                  type: string
                  default: ' '
                  maxLength: 30
                  description: Search help parameter in screen field
                STEPL:
                  type: integer
                  format: int32
                  default: 0
                  description: Steploop line of screen field
                SUPPRESS_RECORDLIST:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: Skip display of the hit list
                TABNAME:
                  type: string
                  maxLength: 30
                  description: Table/structure name from Dictionary
                VALUE:
                  type: string
                  default: ' '
                  maxLength: 255
                  description: Field contents for F4 call
                INTERFACE:
                  type: array
                  items:
                    type: object
                    properties:
                      SHLPFIELD:
                        type: string
                        maxLength: 30
                        description: Field name for value transfer to F4 help
                      VALTABNAME:
                        type: string
                        maxLength: 30
                        description: Structure to which an input help is assigned
                      VALFIELD:
                        type: string
                        maxLength: 132
                        description: Field to which an input help is assigned
                      VALUE:
                        type: string
                        maxLength: 132
                        description: Field contents on the screen
                      INTERNAL:
                        type: string
                        maxLength: 1
                        description: 'Flag: value is already converted to internal representation  enumValues: ""=No / FALSE,X=Yes / TRUE'
                        enum:
                        - ''
                        - X
                      DISPFIELD:
                        type: string
                        maxLength: 1
                        description: 'Screen field is pure display field  enumValues: ""=No / FALSE,X=Yes / TRUE'
                        enum:
                        - ''
                        - X
                      F4FIELD:
                        type: string
                        maxLength: 1
                        description: 'Flag: F4 was pressed for this field  enumValues: ""=No / FALSE,X=Yes / TRUE'
                        enum:
                        - ''
                        - X
                      TOPSHLPNAM:
                        type: string
                        maxLength: 30
                        description: Higher-Level Search Help (Top Level)
                      TOPSHLPFLD:
                        type: string
                        maxLength: 30
                        description: Feld of higher-level search help
                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
              required:
              - FIELDNAME
              - TABNAME
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  INTERFACE:
                    type: array
                    items:
                      type: object
                      properties:
                        SHLPFIELD:
                          type: string
                          maxLength: 30
                          description: Field name for value transfer to F4 help
                        VALTABNAME:
                          type: string
                          maxLength: 30
                          description: Structure to which an input help is assigned
                        VALFIELD:
                          type: string
                          maxLength: 132
                          description: Field to which an input help is assigned
                        VALUE:
                          type: string
                          maxLength: 132
                          description: Field contents on the screen
                        INTERNAL:
                          type: string
                          maxLength: 1
                          description: 'Flag: value is already converted to internal representation  enumValues: ""=No / FALSE,X=Yes / TRUE'
                          enum:
                          - ''
                          - X
                        DISPFIELD:
                          type: string
                          maxLength: 1
                          description: 'Screen field is pure display field  enumValues: ""=No / FALSE,X=Yes / TRUE'
                          enum:
                          - ''
                          - X
                        F4FIELD:
                          type: string
                          maxLength: 1
                          description: 'Flag: F4 was pressed for this field  enumValues: ""=No / FALSE,X=Yes / TRUE'
                          enum:
                          - ''
                          - X
                        TOPSHLPNAM:
                          type: string
                          maxLength: 30
                          description: Higher-Level Search Help (Top Level)
                        TOPSHLPFLD:
                          type: string
                          maxLength: 30
                          description: Feld of higher-level search help
                  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
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
