openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/CABA_HR_GET_F4_HELP:
    post:
      tags:
      - BAPI_CABA_HR
      summary: Search Help for an HR Field
      operationId: /rfc/CABA_HR_GET_F4_HELP
      requestBody:
        content:
          application/json:
            schema:
              properties:
                IM_FROM_DATE:
                  type: string
                  format: date
                  description: Date and Time, Current (Application Server) Date
                IM_LANGUAGE:
                  type: string
                  maxLength: 1
                  description: SAP R/3 System, Current Language
                IM_PERSON_NO:
                  type: integer
                  format: int64
                  description: Personnel Number
                IM_SEARCH_HELP_NAME:
                  type: string
                  maxLength: 30
                  description: Name of Input Help to Be Used
                IM_SEARCH_HELP_VALUE:
                  type: string
                  maxLength: 30
                  description: Field for Which Input Help Is to Be Created
                IM_TO_DATE:
                  type: string
                  format: date
                  description: Date and Time, Current (Application Server) Date
                EX_F4_RESULT_TAB:
                  type: array
                  items:
                    type: object
                    properties:
                      ITEMNO:
                        type: integer
                        format: int32
                        description: Lines in parameter
                      FIELDNAME:
                        type: string
                        maxLength: 30
                        description: Field Name
                      FIELD_DESCR:
                        type: string
                        maxLength: 64
                        description: Parameter value
                      FIELDVALUE:
                        type: string
                        maxLength: 64
                        description: Parameter value
                EX_RETURN:
                  type: array
                  items:
                    type: object
                    properties:
                      TYPE:
                        type: string
                        maxLength: 1
                        description: 'Message type: S Success, E Error, W Warning, I Info, A Abort'
                      ID:
                        type: string
                        maxLength: 20
                        description: Message Class
                      NUMBER:
                        type: integer
                        format: int64
                        description: Message Number
                      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
                      PARAMETER:
                        type: string
                        maxLength: 32
                        description: Parameter Name
                      ROW:
                        type: integer
                        format: int32
                        description: Lines in parameter
                      FIELD:
                        type: string
                        maxLength: 30
                        description: Field in parameter
                      SYSTEM:
                        type: string
                        maxLength: 10
                        description: Logical system from which message originates
                IM_CONTEXT_TAB:
                  type: array
                  items:
                    type: object
                    properties:
                      ITEMNO:
                        type: integer
                        format: int32
                        description: Lines in parameter
                      CONTEXTFIELD:
                        type: string
                        maxLength: 30
                        description: Field Name
                      CONTEXTVALUE:
                        type: string
                        maxLength: 64
                        description: Parameter value
              required:
              - IM_FROM_DATE
              - IM_LANGUAGE
              - IM_PERSON_NO
              - IM_SEARCH_HELP_NAME
              - IM_SEARCH_HELP_VALUE
              - IM_TO_DATE
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  EX_F4_RESULT_TAB:
                    type: array
                    items:
                      type: object
                      properties:
                        ITEMNO:
                          type: integer
                          format: int32
                          description: Lines in parameter
                        FIELDNAME:
                          type: string
                          maxLength: 30
                          description: Field Name
                        FIELD_DESCR:
                          type: string
                          maxLength: 64
                          description: Parameter value
                        FIELDVALUE:
                          type: string
                          maxLength: 64
                          description: Parameter value
                  EX_RETURN:
                    type: array
                    items:
                      type: object
                      properties:
                        TYPE:
                          type: string
                          maxLength: 1
                          description: 'Message type: S Success, E Error, W Warning, I Info, A Abort'
                        ID:
                          type: string
                          maxLength: 20
                          description: Message Class
                        NUMBER:
                          type: integer
                          format: int64
                          description: Message Number
                        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
                        PARAMETER:
                          type: string
                          maxLength: 32
                          description: Parameter Name
                        ROW:
                          type: integer
                          format: int32
                          description: Lines in parameter
                        FIELD:
                          type: string
                          maxLength: 30
                          description: Field in parameter
                        SYSTEM:
                          type: string
                          maxLength: 10
                          description: Logical system from which message originates
                  IM_CONTEXT_TAB:
                    type: array
                    items:
                      type: object
                      properties:
                        ITEMNO:
                          type: integer
                          format: int32
                          description: Lines in parameter
                        CONTEXTFIELD:
                          type: string
                          maxLength: 30
                          description: Field Name
                        CONTEXTVALUE:
                          type: string
                          maxLength: 64
                          description: Parameter value
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
