openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RHPA_CALC_VALUE_PATTERN:
    post:
      tags:
      - RHPA_CALCULATE
      operationId: /rfc/RHPA_CALC_VALUE_PATTERN
      requestBody:
        content:
          application/json:
            schema:
              properties:
                APP_ATTRIBUTES:
                  type: object
                  properties:
                    PLVAR:
                      type: string
                      maxLength: 2
                      description: Plan Version
                    BS_STEXT:
                      type: string
                      maxLength: 40
                      description: Object Name
                    BS_OBJID:
                      type: integer
                      format: int64
                      description: Object ID
                    BS_BEGDA:
                      type: string
                      format: date
                      description: Start Date
                    BS_ENDDA:
                      type: string
                      format: date
                      description: End Date
                    BS_AFORM_ID:
                      type: integer
                      format: int64
                      description: Appraisal form ID
                    BS_APPFORM:
                      type: string
                      maxLength: 40
                      description: Name of form of appraisal
                    BS_AKIND_ID:
                      type: integer
                      format: int64
                      description: 'Appraisal type ID  enumValues: 3=Multisource appraisal,1=Individual appraisal,2=Anonymous individual appraisal,4=Anonymous multisource appraisal'
                      enum:
                      - '3'
                      - '1'
                      - '2'
                      - '4'
                    BS_APPKIND:
                      type: string
                      maxLength: 40
                      description: Appraisal type
                    BA_OTYPE:
                      type: string
                      maxLength: 2
                      description: Object Type
                    BA_OTEXT:
                      type: string
                      maxLength: 25
                      description: Object Type Text
                    BA_STEXT:
                      type: string
                      maxLength: 40
                      description: Object Name
                    BA_OBJID:
                      type: integer
                      format: int64
                      description: Object ID
                    APPVIEW1:
                      type: string
                      maxLength: 1
                      description: 'View for Generating ''To-Do'' List (Appraisal)  enumValues: ""=Not Selected,X=Selected'
                      enum:
                      - ''
                      - X
                    APPVIEW2:
                      type: string
                      maxLength: 1
                      description: 'View for Generating ''To-Do'' List (Appraisal)  enumValues: ""=Not Selected,X=Selected'
                      enum:
                      - ''
                      - X
                    DTEXT1:
                      type: string
                      maxLength: 40
                      description: Name or Description of Appraisers
                    OTYPE1:
                      type: string
                      maxLength: 2
                      description: Object Type
                    OTEXT1:
                      type: string
                      maxLength: 25
                      description: Object Type Text
                    OBJID1:
                      type: string
                      maxLength: 45
                      description: Extended Object ID
                    SEARK1:
                      type: string
                      maxLength: 12
                      description: Search Term
                    SHORT1:
                      type: string
                      maxLength: 12
                      description: Object Abbreviation
                    STEXT1:
                      type: string
                      maxLength: 40
                      description: Object Name
                    ANONYMOUS_COUNT:
                      type: integer
                      format: int64
                      description: Number of anonymous appraisers
                    ANONYMOUS:
                      type: string
                      maxLength: 1
                      description: 'Flag: Anonymous appraiser  enumValues: ""=Not Selected,X=Selected'
                      enum:
                      - ''
                      - X
                    JUST_ONE:
                      type: string
                      maxLength: 1
                      description: 'Flag: Only One Appraisal Allowed  enumValues: ""=Not Selected,X=Selected'
                      enum:
                      - ''
                      - X
                    LAYOUT_DESCRIPT:
                      type: string
                      maxLength: 1
                      description: 'Flag: Sheet will display descriptions  enumValues: D=Description,""=Text,X=Text and Description'
                      enum:
                      - D
                      - ''
                      - X
                    LAYOUT_NOTELINES:
                      type: integer
                      format: int64
                      description: 'Sheet will be formatted with n lines for notes  enumValues: 1='
                      enum:
                      - '1'
                    LAYOUT_CHECKBOX:
                      type: integer
                      format: int64
                      description: 'Display Scale Proficiencies of Quality Scale as Checkbox  enumValues: 1='
                      enum:
                      - '1'
                    APPRAISER_INPUT:
                      type: string
                      maxLength: 1
                      description: 'Flag: Input Option for Appraiser  enumValues: ""=Not ready for input,H=Do not display,X=Ready for input'
                      enum:
                      - ''
                      - H
                      - X
                    DTEXT2:
                      type: string
                      maxLength: 40
                      description: Names or Descriptions of Appraisee(s)
                    OTYPE2:
                      type: string
                      maxLength: 2
                      description: Object Type
                    OTEXT2:
                      type: string
                      maxLength: 25
                      description: Object Type Text
                    OBJID2:
                      type: string
                      maxLength: 45
                      description: Extended Object ID
                    SEARK2:
                      type: string
                      maxLength: 12
                      description: Search Term
                    SHORT2:
                      type: string
                      maxLength: 12
                      description: Object Abbreviation
                    STEXT2:
                      type: string
                      maxLength: 40
                      description: Object Name
                    APP_BEGDA:
                      type: string
                      format: date
                      description: Start date of period to be appraised
                    APP_BEGDA_WWW:
                      type: string
                      maxLength: 10
                      description: Start date of period to be appraised
                    APP_ENDDA:
                      type: string
                      format: date
                      description: End Date of Period To Be Appraised
                    APP_ENDDA_WWW:
                      type: string
                      maxLength: 10
                      description: End date of period to be appraised
                    APP_ADATE:
                      type: string
                      format: date
                      description: Creation date of appraisal
                    APP_ADATE_WWW:
                      type: string
                      maxLength: 10
                      description: End date of period to be appraised
                    APP_ISTAT:
                      type: string
                      maxLength: 1
                      description: Planning Status
                    APP_HISTO:
                      type: string
                      maxLength: 1
                      description: Historical Record Flag
                    APP_ITEXT:
                      type: string
                      maxLength: 25
                      description: Appraisal Status Text
                    FRAME1:
                      type: string
                      maxLength: 60
                      description: Text Field of Length 60
                    FRAME2:
                      type: string
                      maxLength: 60
                      description: Text Field of Length 60
                    APPMULTI_SOURCE:
                      type: string
                      maxLength: 1
                      description: 'Flag: Individual, Overall, or Sub-Appraisal'
                    ATEXT:
                      type: string
                      maxLength: 25
                      description: Individual appraisal, overall appraisal, or subappraisal
                    APPMULTI_AUTOCALC:
                      type: string
                      maxLength: 1
                      description: 'Flag: Calculate overall appraisal automatically  enumValues: ""=Not Selected,X=Selected'
                      enum:
                      - ''
                      - X
                    APP_PROCESSING:
                      type: string
                      maxLength: 1
                      description: 'Flag: Follow-up Processing Possible (Indiv./Overall Apprsl.)  enumValues: ""=Not Selected,X=Selected'
                      enum:
                      - ''
                      - X
                RANK_BASE:
                  type: integer
                  format: int64
                  description: Ranking of the object for which the calculation is to be performed
                APPRAISEES:
                  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
                      SHORT:
                        type: string
                        maxLength: 12
                        description: Object Abbreviation
                      STEXT:
                        type: string
                        maxLength: 40
                        description: Object Name
                      MARK_X:
                        type: string
                        maxLength: 1
                        description: Single-Character Flag
                      APPRAISAL_ID:
                        type: integer
                        format: int64
                        description: Object ID
                      APPRAISAL_PLANNED:
                        type: string
                        maxLength: 1
                        description: 'Flag: Appraisal in Preparation  enumValues: ""=Not Selected,X=Selected'
                        enum:
                        - ''
                        - X
                      APPRAISAL_ACTIV:
                        type: string
                        maxLength: 1
                        description: 'Flag: Appraisal Being Held  enumValues: ""=Not Selected,X=Selected'
                        enum:
                        - ''
                        - X
                      APPRAISAL_HISTO:
                        type: string
                        maxLength: 1
                        description: 'Flag: Appraisal Completed  enumValues: ""=Not Selected,X=Selected'
                        enum:
                        - ''
                        - X
                      APPRAISAL_APPROVED:
                        type: string
                        maxLength: 1
                        description: 'Flag: Appraisal Approved  enumValues: ""=Not Selected,X=Selected'
                        enum:
                        - ''
                        - X
                      APPRAISAL_REJECTED:
                        type: string
                        maxLength: 1
                        description: 'Flag: Appraisal Rejected  enumValues: ""=Not Selected,X=Selected'
                        enum:
                        - ''
                        - X
                      APPRAISAL_STATUS:
                        type: string
                        maxLength: 25
                        description: Appraisal Status Text
                APPRAISERS:
                  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
                      SHORT:
                        type: string
                        maxLength: 12
                        description: Object Abbreviation
                      STEXT:
                        type: string
                        maxLength: 40
                        description: Object Name
                      MARK_X:
                        type: string
                        maxLength: 1
                        description: Single-Character Flag
                      ABEGDA:
                        type: string
                        format: date
                        description: Earliest appraisal date
                      AENDDA:
                        type: string
                        format: date
                        description: Latest appraisal date
                      ADATE:
                        type: string
                        format: date
                        description: Creation date of appraisal
                      EVALUATION:
                        type: integer
                        format: int64
                        description: Weighting (multisource appraisal)
                      APPRAISAL_PLANNED:
                        type: string
                        maxLength: 1
                        description: 'Flag: Appraisal in Preparation  enumValues: ""=Not Selected,X=Selected'
                        enum:
                        - ''
                        - X
                      APPRAISAL_ACTIV:
                        type: string
                        maxLength: 1
                        description: 'Flag: Appraisal Being Held  enumValues: ""=Not Selected,X=Selected'
                        enum:
                        - ''
                        - X
                      APPRAISAL_HISTO:
                        type: string
                        maxLength: 1
                        description: 'Flag: Appraisal Completed  enumValues: ""=Not Selected,X=Selected'
                        enum:
                        - ''
                        - X
                      APPRAISAL_APPROVED:
                        type: string
                        maxLength: 1
                        description: 'Flag: Appraisal Approved  enumValues: ""=Not Selected,X=Selected'
                        enum:
                        - ''
                        - X
                      APPRAISAL_REJECTED:
                        type: string
                        maxLength: 1
                        description: 'Flag: Appraisal Rejected  enumValues: ""=Not Selected,X=Selected'
                        enum:
                        - ''
                        - X
                      APPRAISAL_STATUS:
                        type: string
                        maxLength: 25
                        description: Appraisal Status Text
                      ANONYMOUS:
                        type: string
                        maxLength: 1
                        description: 'Flag: Anonymous appraiser  enumValues: ""=Not Selected,X=Selected'
                        enum:
                        - ''
                        - X
                      APPRAISAL_ID:
                        type: integer
                        format: int64
                        description: Object ID
                      DYNP_CHANGES:
                        type: string
                        maxLength: 1
                        description: Single-Character Flag
                APP_PT1045:
                  type: array
                  items:
                    type: object
                    properties:
                      RANK:
                        type: integer
                        format: int64
                        description: Define sorting
                      SLEVL:
                        type: integer
                        format: int64
                        description: Hierarchy level
                      APP_OTYPE:
                        type: string
                        maxLength: 2
                        description: Object Type (Personnel Development)
                      APP_OBJID:
                        type: integer
                        format: int64
                        description: Object ID
                      APP_STEXT:
                        type: string
                        maxLength: 40
                        description: Object Name
                      EVALUAT:
                        type: integer
                        format: int64
                        description: Weighting
                      RATING:
                        type: integer
                        format: int64
                        description: Rating of an Appraisal Element
                      RTEXT:
                        type: string
                        maxLength: 40
                        description: Rating text of an appraisal element
                      NOT_RATED:
                        type: string
                        maxLength: 1
                        description: 'Flag: Without Rating  enumValues: ""=Not Selected,X=Selected'
                        enum:
                        - ''
                        - X
                      PARENT:
                        type: integer
                        format: int64
                        description: Define sorting
                      CHILD:
                        type: integer
                        format: int64
                        description: Define sorting
                      BROTHER:
                        type: integer
                        format: int64
                        description: Define sorting
                      RATING_OPTION:
                        type: string
                        maxLength: 2
                        description: 'ABAP: Selection option (EQ/BT/CP/...)'
                      RATING_NO_INPUT:
                        type: string
                        maxLength: 1
                        description: 'Flag: rating cannot be entered  enumValues: ""=Not Selected,X=Selected'
                        enum:
                        - ''
                        - X
                      SCALE_ID:
                        type: integer
                        format: int64
                        description: Scale ID
                      FUNCNAME:
                        type: string
                        maxLength: 30
                        description: Function module for calculating (partial) appraisal results
                      OBJECTIVE:
                        type: string
                        maxLength: 1
                        description: 'Flag: Can be used for setting objectives  enumValues: ""=Not Selected,X=Selected'
                        enum:
                        - ''
                        - X
                      APP_INPUT:
                        type: string
                        maxLength: 1
                        description: 'Flag: Type of input option for appraisal result  enumValues: ""=Optional entry,D=Required entry,M=No entry'
                        enum:
                        - ''
                        - D
                        - M
                      NO_NOTE:
                        type: string
                        maxLength: 1
                        description: 'Flag: Note cannot be stored  enumValues: ""=Not Selected,X=Selected'
                        enum:
                        - ''
                        - X
                      SCALE_TEXT:
                        type: string
                        maxLength: 40
                        description: Name of Scale
                      APP_STEXT2:
                        type: string
                        maxLength: 80
                        description: Text (80 Characters)
                      NUMBERING:
                        type: string
                        maxLength: 20
                        description: Char 20
                      RATING_TXT:
                        type: string
                        maxLength: 19
                        description: Rating of an Appraisal Element
                      NOTE:
                        type: string
                        maxLength: 1
                        description: 'Flag: Object Has a Note  enumValues: ""=Not Selected,X=Selected'
                        enum:
                        - ''
                        - X
                      COMP:
                        type: string
                        maxLength: 1
                        description: 'Flag: Hidden  enumValues: ""=Not Selected,X=Selected'
                        enum:
                        - ''
                        - X
                      CALC_RESULT:
                        type: integer
                        format: int64
                        description: Result Calculated (= Weighting * Rating)
                      MARK_Y:
                        type: string
                        maxLength: 1
                        description: Single-Character Flag
              required:
              - RANK_BASE
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  NEW_CALCULATED:
                    type: string
                    maxLength: 1
                    description: '''X''= the result was recalculated'
                  APPRAISEES:
                    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
                        SHORT:
                          type: string
                          maxLength: 12
                          description: Object Abbreviation
                        STEXT:
                          type: string
                          maxLength: 40
                          description: Object Name
                        MARK_X:
                          type: string
                          maxLength: 1
                          description: Single-Character Flag
                        APPRAISAL_ID:
                          type: integer
                          format: int64
                          description: Object ID
                        APPRAISAL_PLANNED:
                          type: string
                          maxLength: 1
                          description: 'Flag: Appraisal in Preparation  enumValues: ""=Not Selected,X=Selected'
                          enum:
                          - ''
                          - X
                        APPRAISAL_ACTIV:
                          type: string
                          maxLength: 1
                          description: 'Flag: Appraisal Being Held  enumValues: ""=Not Selected,X=Selected'
                          enum:
                          - ''
                          - X
                        APPRAISAL_HISTO:
                          type: string
                          maxLength: 1
                          description: 'Flag: Appraisal Completed  enumValues: ""=Not Selected,X=Selected'
                          enum:
                          - ''
                          - X
                        APPRAISAL_APPROVED:
                          type: string
                          maxLength: 1
                          description: 'Flag: Appraisal Approved  enumValues: ""=Not Selected,X=Selected'
                          enum:
                          - ''
                          - X
                        APPRAISAL_REJECTED:
                          type: string
                          maxLength: 1
                          description: 'Flag: Appraisal Rejected  enumValues: ""=Not Selected,X=Selected'
                          enum:
                          - ''
                          - X
                        APPRAISAL_STATUS:
                          type: string
                          maxLength: 25
                          description: Appraisal Status Text
                  APPRAISERS:
                    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
                        SHORT:
                          type: string
                          maxLength: 12
                          description: Object Abbreviation
                        STEXT:
                          type: string
                          maxLength: 40
                          description: Object Name
                        MARK_X:
                          type: string
                          maxLength: 1
                          description: Single-Character Flag
                        ABEGDA:
                          type: string
                          format: date
                          description: Earliest appraisal date
                        AENDDA:
                          type: string
                          format: date
                          description: Latest appraisal date
                        ADATE:
                          type: string
                          format: date
                          description: Creation date of appraisal
                        EVALUATION:
                          type: integer
                          format: int64
                          description: Weighting (multisource appraisal)
                        APPRAISAL_PLANNED:
                          type: string
                          maxLength: 1
                          description: 'Flag: Appraisal in Preparation  enumValues: ""=Not Selected,X=Selected'
                          enum:
                          - ''
                          - X
                        APPRAISAL_ACTIV:
                          type: string
                          maxLength: 1
                          description: 'Flag: Appraisal Being Held  enumValues: ""=Not Selected,X=Selected'
                          enum:
                          - ''
                          - X
                        APPRAISAL_HISTO:
                          type: string
                          maxLength: 1
                          description: 'Flag: Appraisal Completed  enumValues: ""=Not Selected,X=Selected'
                          enum:
                          - ''
                          - X
                        APPRAISAL_APPROVED:
                          type: string
                          maxLength: 1
                          description: 'Flag: Appraisal Approved  enumValues: ""=Not Selected,X=Selected'
                          enum:
                          - ''
                          - X
                        APPRAISAL_REJECTED:
                          type: string
                          maxLength: 1
                          description: 'Flag: Appraisal Rejected  enumValues: ""=Not Selected,X=Selected'
                          enum:
                          - ''
                          - X
                        APPRAISAL_STATUS:
                          type: string
                          maxLength: 25
                          description: Appraisal Status Text
                        ANONYMOUS:
                          type: string
                          maxLength: 1
                          description: 'Flag: Anonymous appraiser  enumValues: ""=Not Selected,X=Selected'
                          enum:
                          - ''
                          - X
                        APPRAISAL_ID:
                          type: integer
                          format: int64
                          description: Object ID
                        DYNP_CHANGES:
                          type: string
                          maxLength: 1
                          description: Single-Character Flag
                  APP_PT1045:
                    type: array
                    items:
                      type: object
                      properties:
                        RANK:
                          type: integer
                          format: int64
                          description: Define sorting
                        SLEVL:
                          type: integer
                          format: int64
                          description: Hierarchy level
                        APP_OTYPE:
                          type: string
                          maxLength: 2
                          description: Object Type (Personnel Development)
                        APP_OBJID:
                          type: integer
                          format: int64
                          description: Object ID
                        APP_STEXT:
                          type: string
                          maxLength: 40
                          description: Object Name
                        EVALUAT:
                          type: integer
                          format: int64
                          description: Weighting
                        RATING:
                          type: integer
                          format: int64
                          description: Rating of an Appraisal Element
                        RTEXT:
                          type: string
                          maxLength: 40
                          description: Rating text of an appraisal element
                        NOT_RATED:
                          type: string
                          maxLength: 1
                          description: 'Flag: Without Rating  enumValues: ""=Not Selected,X=Selected'
                          enum:
                          - ''
                          - X
                        PARENT:
                          type: integer
                          format: int64
                          description: Define sorting
                        CHILD:
                          type: integer
                          format: int64
                          description: Define sorting
                        BROTHER:
                          type: integer
                          format: int64
                          description: Define sorting
                        RATING_OPTION:
                          type: string
                          maxLength: 2
                          description: 'ABAP: Selection option (EQ/BT/CP/...)'
                        RATING_NO_INPUT:
                          type: string
                          maxLength: 1
                          description: 'Flag: rating cannot be entered  enumValues: ""=Not Selected,X=Selected'
                          enum:
                          - ''
                          - X
                        SCALE_ID:
                          type: integer
                          format: int64
                          description: Scale ID
                        FUNCNAME:
                          type: string
                          maxLength: 30
                          description: Function module for calculating (partial) appraisal results
                        OBJECTIVE:
                          type: string
                          maxLength: 1
                          description: 'Flag: Can be used for setting objectives  enumValues: ""=Not Selected,X=Selected'
                          enum:
                          - ''
                          - X
                        APP_INPUT:
                          type: string
                          maxLength: 1
                          description: 'Flag: Type of input option for appraisal result  enumValues: ""=Optional entry,D=Required entry,M=No entry'
                          enum:
                          - ''
                          - D
                          - M
                        NO_NOTE:
                          type: string
                          maxLength: 1
                          description: 'Flag: Note cannot be stored  enumValues: ""=Not Selected,X=Selected'
                          enum:
                          - ''
                          - X
                        SCALE_TEXT:
                          type: string
                          maxLength: 40
                          description: Name of Scale
                        APP_STEXT2:
                          type: string
                          maxLength: 80
                          description: Text (80 Characters)
                        NUMBERING:
                          type: string
                          maxLength: 20
                          description: Char 20
                        RATING_TXT:
                          type: string
                          maxLength: 19
                          description: Rating of an Appraisal Element
                        NOTE:
                          type: string
                          maxLength: 1
                          description: 'Flag: Object Has a Note  enumValues: ""=Not Selected,X=Selected'
                          enum:
                          - ''
                          - X
                        COMP:
                          type: string
                          maxLength: 1
                          description: 'Flag: Hidden  enumValues: ""=Not Selected,X=Selected'
                          enum:
                          - ''
                          - X
                        CALC_RESULT:
                          type: integer
                          format: int64
                          description: Result Calculated (= Weighting * Rating)
                        MARK_Y:
                          type: string
                          maxLength: 1
                          description: Single-Character Flag
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
