openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RH_FA_TASK_HELP:
    post:
      tags:
      - RHWL
      operationId: /rfc/RH_FA_TASK_HELP
      requestBody:
        content:
          application/json:
            schema:
              properties:
                ACT_BEGDA:
                  type: string
                  format: date
                  default: SY-DATUM
                  description: Start Date
                ACT_ENDDA:
                  type: string
                  format: date
                  default: '99991231'
                  description: End Date
                ACT_MODE:
                  type: string
                  maxLength: 1
                ACT_PLVAR:
                  type: string
                  maxLength: 2
                  description: Plan Version
                ACT_ROOT_FAREA:
                  type: string
                  maxLength: 20
                SEARCH_TASK_TYPE:
                  type: string
                  default: '*'
                  maxLength: 2
                SET_MODE:
                  type: string
                  maxLength: 1
                TASK_SEARCH_STRING:
                  type: string
                  maxLength: 12
                  description: Search Term
                SELECTED_OBJECTS:
                  type: array
                  items:
                    type: object
                    properties:
                      PLVAR:
                        type: string
                        maxLength: 2
                        description: Plan Version
                      OTYPE:
                        type: string
                        maxLength: 2
                        description: Object Type
                      SOBID:
                        type: string
                        maxLength: 45
                        description: ID of Related Object
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  SELECTED_OBJID:
                    type: string
                    maxLength: 45
                  SELECTED_OTYPE:
                    type: string
                    maxLength: 2
                  SELECTED_PLVAR:
                    type: string
                    maxLength: 2
                  SELECTED_OBJECTS:
                    type: array
                    items:
                      type: object
                      properties:
                        PLVAR:
                          type: string
                          maxLength: 2
                          description: Plan Version
                        OTYPE:
                          type: string
                          maxLength: 2
                          description: Object Type
                        SOBID:
                          type: string
                          maxLength: 45
                          description: ID of Related Object
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
