openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/ME_JSP_SMOMO_F4:
    post:
      tags:
      - BWAF_MOMO
      operationId: /rfc/ME_JSP_SMOMO_F4
      requestBody:
        content:
          application/json:
            schema:
              properties:
                PURPOSE:
                  type: string
                  maxLength: 20
                  description: Char 20
                VALUE:
                  type: string
                  maxLength: 255
                  description: Screen Field Contents
                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:
              - PURPOSE
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  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.
