openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/HRHAP_0DOC_DISPLAY_LINK:
    post:
      tags:
      - HRHAP_C_IF_DOCUMENT
      operationId: /rfc/HRHAP_0DOC_DISPLAY_LINK
      requestBody:
        content:
          application/json:
            schema:
              properties:
                EXIT_LINK:
                  type: string
                  maxLength: 30
                  description: Button ID (LINK1, LINK2 or LINK3)
                PLAN_VERSION:
                  type: string
                  maxLength: 2
                  description: Plan Version
                S_APPRAISAL_ID:
                  type: object
                  properties:
                    APPRAISAL_ID:
                      type: string
                      maxLength: 32
                      description: Appraisal Document ID
                    PART_AP_ID:
                      type: integer
                      format: int64
                      description: Part Appraisal ID
                S_DOC_PROCESSING:
                  type: object
                  properties:
                    MODE:
                      type: string
                      maxLength: 1
                      description: Single-Character Flag
                    UI_MODE:
                      type: string
                      maxLength: 1
                      description: 'User Interface Mode  enumValues: P=SAP PDF,B=SAP BSP,""=SAP GUI,X=SAP Other,S=SAP Smart Forms'
                      enum:
                      - P
                      - B
                      - ''
                      - X
                      - S
                    DOCUMENT_MODE:
                      type: string
                      maxLength: 1
                      description: 'Appraisal Document: Output Mode  enumValues: H=Change Header Data, Display Body,B=Display Header Data, Change Body,X=Change Document, Header and Body Data,D=Display Document, Header and Body Data'
                      enum:
                      - H
                      - B
                      - X
                      - D
                    BUTTON_MODE:
                      type: string
                      maxLength: 1
                      description: Single-Character Flag
                    ADMINISTRATOR:
                      type: string
                      maxLength: 1
                      description: 'Flag: Administrator  enumValues: ""=Not Selected,X=Selected'
                      enum:
                      - ''
                      - X
                    ADD_ON_APPLICATION:
                      type: string
                      maxLength: 4
                      description: Add-On Application for Appraisal Systems
                    COMPLETE_DOCUMENT:
                      type: string
                      maxLength: 1
                      description: Single-Character Flag
                    TEMPLATE_MODE:
                      type: string
                      maxLength: 1
                      description: 'Appraisal Template Mode  enumValues: ""=Named,R=Anonymous with Registration,X=Make Anonymous When Closing with Registration,A=Anonymous Without Registration,C=Make Anonymous When Closing Without Registration'
                      enum:
                      - ''
                      - R
                      - X
                      - A
                      - C
                    ONLY_ONE_ALLOWED:
                      type: string
                      maxLength: 1
                      description: 'Appraisal Document Creation Check  enumValues: ""=Unlimited Appraisal Documents,X=Only One Appraisal Document,1=Only One Appraisal Document Without Appraiser Check'
                      enum:
                      - ''
                      - X
                      - '1'
                    NO_SELFAPPRAISAL:
                      type: string
                      maxLength: 1
                      description: 'Flag: Self Appraisal Not Allowed  enumValues: ""=Not Selected,X=Selected'
                      enum:
                      - ''
                      - X
                    NO_OBJECTIVE_PHASE:
                      type: string
                      maxLength: 1
                      description: 'Flag: No Objective Setting Period  enumValues: ""=Not Selected,X=Selected'
                      enum:
                      - ''
                      - X
                    NO_REVIEW_PHASE:
                      type: string
                      maxLength: 1
                      description: 'Flag: No Review Phase  enumValues: ""=Not Selected,X=Selected'
                      enum:
                      - ''
                      - X
                    NO_APPRAISAL_PHASE:
                      type: string
                      maxLength: 1
                      description: Single-Character Flag
                    NO_DATE_CHECK:
                      type: string
                      maxLength: 1
                      description: 'Flag: Do Not Check Appraisal Date  enumValues: ""=Not Selected,X=Selected'
                      enum:
                      - ''
                      - X
                    WORKFLOW_ACTIVE:
                      type: string
                      maxLength: 1
                      description: 'Flag: Approval Process Activated  enumValues: ""=Not Selected,X=Selected'
                      enum:
                      - ''
                      - X
                    ATTACHMENT_ALLOW:
                      type: string
                      maxLength: 1
                      description: 'Flag: Attachment Allowed  enumValues: ""=Not Selected,X=Selected'
                      enum:
                      - ''
                      - X
                    MULTI_APPRAISERS:
                      type: string
                      maxLength: 1
                      description: 'Flag: Multiple Appraisers Allowed  enumValues: ""=Not Selected,X=Selected'
                      enum:
                      - ''
                      - X
                    MULTI_APPRAISEES:
                      type: string
                      maxLength: 1
                      description: 'Flag: Multiple Appraisees Allowed  enumValues: ""=Not Selected,X=Selected'
                      enum:
                      - ''
                      - X
                    ACTIONLOG_ACTIVE:
                      type: string
                      maxLength: 1
                      description: 'Action Log  enumValues: R=Special Reporting,D=Detailed, Can Be Displayed for All Appraisals,""=Not Activated,X=Can Be Displayed for All Appraisals,S=Detailed, Special Reporting'
                      enum:
                      - R
                      - D
                      - ''
                      - X
                      - S
                    ARCHIVED_PROCESS:
                      type: string
                      maxLength: 1
                      description: 'Processing of Archived Appraisal Documents  enumValues: X=Delete,B=Reset and Delete,""=Do Not Reset or Delete,A=Reset'
                      enum:
                      - X
                      - B
                      - ''
                      - A
                    NO_APPERS_AUTH:
                      type: string
                      maxLength: 1
                      description: 'Flag: No Authorization Check for Appraiser  enumValues: ""=Not Selected,X=Selected'
                      enum:
                      - ''
                      - X
                    DYNAMIC_TEMPLATE:
                      type: string
                      maxLength: 1
                      description: 'Flag: Dynamic Template  enumValues: ""=Not Selected,X=Selected'
                      enum:
                      - ''
                      - X
                    DOC_ENQUEUE:
                      type: string
                      maxLength: 1
                      description: 'Type of Appraisal Enqueue  enumValues: P=Part Appraisal Enqueued,F=Entire Appraisal Document Enqueued (First Time),C=Entire Appraisal Document Enqueued,""=Appraisal Document Not Enqueued'
                      enum:
                      - P
                      - F
                      - C
                      - ''
                    NUMBER_OF_PART_APPERS:
                      type: integer
                      format: int64
                      description: Maximum Number of Part Appraisers Allowed
                    REAL_360:
                      type: string
                      maxLength: 1
                      description: Single-Character Flag
                    DYNAMIC_EVENT:
                      type: string
                      maxLength: 1
                      description: 'Flag: Dynamic Event  enumValues: ""=Not Selected,X=Selected'
                      enum:
                      - ''
                      - X
                    ATTACHMENT_MODE:
                      type: string
                      maxLength: 1
                      description: 'Attachment(s) Mode  enumValues: H=Hide,X=Change,""=Display'
                      enum:
                      - H
                      - X
                      - ''
                    DRAFT_NOTES_ALLOWED:
                      type: string
                      maxLength: 1
                      description: 'Yes/No Option  enumValues: ""=No,X=Yes'
                      enum:
                      - ''
                      - X
                    OFFLINE_DEQUEUE:
                      type: string
                      maxLength: 32
                      description: Offline Document ID
                S_HEADER_DATES:
                  type: object
                  properties:
                    AP_START_DATE:
                      type: string
                      format: date
                      description: Start Date of the Appraisal Period
                    AP_END_DATE:
                      type: string
                      format: date
                      description: End Date of Appraisal Period
                    AP_DATE_EARLIEST:
                      type: string
                      format: date
                      description: Earliest Appraisal Date
                    AP_DATE_LATEST:
                      type: string
                      format: date
                      description: Latest Appraisal Date
                    OBJ_DATE_SET:
                      type: string
                      format: date
                      description: Objective Setting Date
                    REVIEW_DATE_SET:
                      type: string
                      format: date
                      description: Review Date
                    AP_DATE_SET:
                      type: string
                      format: date
                      description: Appraisal Date
                S_HEADER_STATUS:
                  type: object
                  properties:
                    AP_STATUS:
                      type: integer
                      format: int64
                      description: 'Appraisal Status  enumValues: 4=In Process,2=In Planning,3=In Review,5=Completed,6=Approved,7=Closed Approved,8=Rejected,9=Closed Rejected,1=In Preparation'
                      enum:
                      - '4'
                      - '2'
                      - '3'
                      - '5'
                      - '6'
                      - '7'
                      - '8'
                      - '9'
                      - '1'
                    AP_STATUS_NAME:
                      type: string
                      maxLength: 40
                      description: Appraisal Template Status
                    AP_STATUS_SUB:
                      type: string
                      maxLength: 1
                      description: Appraisal Substatus
                    AP_STATUS_SUB_NAME:
                      type: string
                      maxLength: 40
                      description: Name of Appraisal Substatus
                T_BODY_ELEMENTS:
                  type: array
                  items:
                    type: object
                    properties:
                      ROW_IID:
                        type: integer
                        format: int64
                        description: Internal Row ID (Fixed - Foreign Key for Cell Tables)
                      PARENT:
                        type: integer
                        format: int64
                        description: Internal Row ID (Fixed - Foreign Key for Cell Tables)
                      CHILD:
                        type: integer
                        format: int64
                        description: Internal Row ID (Fixed - Foreign Key for Cell Tables)
                      BROTHER:
                        type: integer
                        format: int64
                        description: Internal Row ID (Fixed - Foreign Key for Cell Tables)
                      AP_LEVEL:
                        type: integer
                        format: int64
                        description: Hierarchy Level
                      ROW_SORT:
                        type: integer
                        format: int64
                        description: Sort Elements
                      ELEMENT_TYPE:
                        type: string
                        maxLength: 2
                        description: Appraisal Element Type
                      ELEMENT_ID:
                        type: integer
                        format: int64
                        description: Appraisal Element ID
                      FOREIGN_TYPE:
                        type: string
                        maxLength: 2
                        description: Appraisal Element - External Type
                      FOREIGN_ID:
                        type: string
                        maxLength: 45
                        description: Appraisal Element - External ID
                      NUMBERING:
                        type: string
                        maxLength: 40
                        description: Appraisal Element Numbering
                      NAME:
                        type: string
                        maxLength: 80
                        description: Name of Appraisal Element
                      FREE_INPUT:
                        type: string
                        maxLength: 1
                        description: 'Flag: Free Input for Appraisal Element Name'
                      LAYOUT_TEXT:
                        type: string
                        maxLength: 1
                        description: Text Layout
                      LAYOUT_VALUES:
                        type: string
                        maxLength: 1
                        description: 'Flag: Layout of Values (Dropdown List)'
                      LAYOUT_NOTE_LINE:
                        type: integer
                        format: int64
                        description: 'Layout: Lines Reserved for Note'
                      LAYOUT_MAX_CHAR:
                        type: integer
                        format: int64
                        description: 'Layout: Maximum Number of Characters in Note'
                      EXIT_ADD_FIX:
                        type: string
                        maxLength: 30
                        description: 'Enhancement: Fixed Enhancement'
                      EXIT_ADD_FREE:
                        type: string
                        maxLength: 30
                        description: 'Enhancement: Free Enhancement'
                      EXIT_DELETE:
                        type: string
                        maxLength: 30
                        description: 'Enhancement: Deletion of an Element'
                      USED_COLUMNS:
                        type: integer
                        format: int64
                        description: Two digit number
                      AVAILABILITY:
                        type: string
                        maxLength: 1
                        description: Element Availability
                T_HEADER_APPRAISEE:
                  type: array
                  items:
                    type: object
                    properties:
                      PLAN_VERSION:
                        type: string
                        maxLength: 2
                        description: Plan Version
                      TYPE:
                        type: string
                        maxLength: 2
                        description: Appraisee Type
                      ID:
                        type: string
                        maxLength: 45
                        description: Extended Object ID
                      NAME:
                        type: string
                        maxLength: 40
                        description: Appraisee Name
                      SHORT:
                        type: string
                        maxLength: 12
                        description: Appraisee Short Name
                T_HEADER_APPRAISER:
                  type: array
                  items:
                    type: object
                    properties:
                      PLAN_VERSION:
                        type: string
                        maxLength: 2
                        description: Plan Version
                      TYPE:
                        type: string
                        maxLength: 2
                        description: Appraiser Type
                      ID:
                        type: string
                        maxLength: 45
                        description: Extended Object ID
                      NAME:
                        type: string
                        maxLength: 40
                        description: Appraiser Name
                      SHORT:
                        type: string
                        maxLength: 12
                        description: Appraiser Short Name
                T_HEADER_OTHERS:
                  type: array
                  items:
                    type: object
                    properties:
                      PLAN_VERSION:
                        type: string
                        maxLength: 2
                        description: Plan Version
                      TYPE:
                        type: string
                        maxLength: 2
                        description: Further Participants Type
                      ID:
                        type: string
                        maxLength: 45
                        description: Extended Object ID
                      NAME:
                        type: string
                        maxLength: 40
                        description: Name of Further Participants
                      SHORT:
                        type: string
                        maxLength: 12
                        description: Further Participants Short Name
                      ROLE_ID:
                        type: string
                        maxLength: 2
                        description: Appraisal Role ID
                T_HEADER_PART_APPRAISERS:
                  type: array
                  items:
                    type: object
                    properties:
                      PLAN_VERSION:
                        type: string
                        maxLength: 2
                        description: Plan Version
                      APPRAISAL_ID:
                        type: string
                        maxLength: 32
                        description: Appraisal Document ID
                      PART_AP_ID:
                        type: integer
                        format: int64
                        description: Part Appraisal ID
                      TYPE:
                        type: string
                        maxLength: 2
                        description: Part Appraiser Type
                      ID:
                        type: string
                        maxLength: 45
                        description: Extended Object ID
                      NAME:
                        type: string
                        maxLength: 40
                        description: Part Appraiser Name
                      SHORT:
                        type: string
                        maxLength: 12
                        description: Part Appraiser Short Name
                      ROLE_ID:
                        type: string
                        maxLength: 2
                        description: Appraisal Role ID
                      PART_WEIGHTING:
                        type: integer
                        format: int64
                        description: Part Appraisal Weighting
                      PART_SEQUENCE:
                        type: integer
                        format: int64
                        description: Sequence of Part Appraisers
                      AP_DATE_EARLIEST:
                        type: string
                        format: date
                        description: Earliest Appraisal Date
                      AP_DATE_LATEST:
                        type: string
                        format: date
                        description: Latest Appraisal Date
                      PART_AP_DATE_SET:
                        type: string
                        format: date
                        description: Part Appraisal Date
                      AP_COMPLETED:
                        type: string
                        maxLength: 1
                        description: 'Flag: (Part) Appraisal Document Completed'
                      MANDATORY:
                        type: string
                        maxLength: 1
                        description: 'Flag: Mandatory Part Appraisers'
              required:
              - EXIT_LINK
              - PLAN_VERSION
              - T_HEADER_APPRAISEE
      responses:
        '200':
          description: OK
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
