openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/BAPI_HELPVALUES_GET_SEARCHHELP:
    post:
      tags:
      - BFHV
      summary: Determine Search Help for F4 Process
      operationId: /rfc/BAPI_HELPVALUES_GET_SEARCHHELP
      requestBody:
        content:
          application/json:
            schema:
              properties:
                FIELD:
                  type: string
                  maxLength: 30
                  description: Field Name
                METHOD:
                  type: string
                  maxLength: 32
                  description: Verb
                OBJNAME:
                  type: string
                  maxLength: 32
                  description: Object Name
                OBJTYPE:
                  type: string
                  maxLength: 10
                  description: Object type
                PARAMETER:
                  type: string
                  maxLength: 32
                  description: Element
                DESCRIPTION_FOR_HELPVALUES:
                  type: array
                  items:
                    type: object
                    properties:
                      TABNAME:
                        type: string
                        maxLength: 30
                        description: Table Name
                      FIELDNAME:
                        type: string
                        maxLength: 30
                        description: Field Name
                      LANGU:
                        type: string
                        maxLength: 1
                        description: Language Key
                      POSITION:
                        type: integer
                        format: int64
                        description: Position of the field in the table
                      OFFSET:
                        type: integer
                        format: int64
                        description: Offset of a field
                      LENG:
                        type: integer
                        format: int64
                        description: Length (No. of Characters)
                      FIELDTEXT:
                        type: string
                        maxLength: 60
                        description: Short Description of Repository Objects
                      REPTEXT:
                        type: string
                        maxLength: 55
                        description: Heading
                      SCRTEXT_S:
                        type: string
                        maxLength: 10
                        description: Short Field Label
                      SCRTEXT_M:
                        type: string
                        maxLength: 20
                        description: Medium Field Label
                      SCRTEXT_L:
                        type: string
                        maxLength: 40
                        description: Long Field Label
                      SHLPNAME:
                        type: string
                        maxLength: 30
                        description: Name of a Search Help
                SHLP_FOR_HELPVALUES_GET:
                  type: array
                  items:
                    type: object
                    properties:
                      SHLPNAME:
                        type: string
                        maxLength: 30
                        description: Name of a Search Help
                      SHLPTYPE:
                        type: string
                        maxLength: 2
                        description: Version Number Component
                      TITLE:
                        type: string
                        maxLength: 60
                        description: Explanatory short text
                      REPTEXT:
                        type: string
                        maxLength: 55
                        description: Heading
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  RETURN:
                    type: object
                    properties:
                      TYPE:
                        type: string
                        maxLength: 1
                        description: 'Message type: S Success, E Error, W Warning, I Info, A Abort'
                      CODE:
                        type: string
                        maxLength: 5
                        description: Message code
                      MESSAGE:
                        type: string
                        maxLength: 220
                        description: Message Text
                      LOG_NO:
                        type: string
                        maxLength: 20
                        description: 'Application log: log number'
                      LOG_MSG_NO:
                        type: integer
                        format: int64
                        description: 'Application log: Internal message serial number'
                      MESSAGE_V1:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      MESSAGE_V2:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      MESSAGE_V3:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      MESSAGE_V4:
                        type: string
                        maxLength: 50
                        description: Message Variable
                  DESCRIPTION_FOR_HELPVALUES:
                    type: array
                    items:
                      type: object
                      properties:
                        TABNAME:
                          type: string
                          maxLength: 30
                          description: Table Name
                        FIELDNAME:
                          type: string
                          maxLength: 30
                          description: Field Name
                        LANGU:
                          type: string
                          maxLength: 1
                          description: Language Key
                        POSITION:
                          type: integer
                          format: int64
                          description: Position of the field in the table
                        OFFSET:
                          type: integer
                          format: int64
                          description: Offset of a field
                        LENG:
                          type: integer
                          format: int64
                          description: Length (No. of Characters)
                        FIELDTEXT:
                          type: string
                          maxLength: 60
                          description: Short Description of Repository Objects
                        REPTEXT:
                          type: string
                          maxLength: 55
                          description: Heading
                        SCRTEXT_S:
                          type: string
                          maxLength: 10
                          description: Short Field Label
                        SCRTEXT_M:
                          type: string
                          maxLength: 20
                          description: Medium Field Label
                        SCRTEXT_L:
                          type: string
                          maxLength: 40
                          description: Long Field Label
                        SHLPNAME:
                          type: string
                          maxLength: 30
                          description: Name of a Search Help
                  SHLP_FOR_HELPVALUES_GET:
                    type: array
                    items:
                      type: object
                      properties:
                        SHLPNAME:
                          type: string
                          maxLength: 30
                          description: Name of a Search Help
                        SHLPTYPE:
                          type: string
                          maxLength: 2
                          description: Version Number Component
                        TITLE:
                          type: string
                          maxLength: 60
                          description: Explanatory short text
                        REPTEXT:
                          type: string
                          maxLength: 55
                          description: Heading
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
