SAP RHPA_APPRAISALS_SEARCH_ENGINE Function Module for
RHPA_APPRAISALS_SEARCH_ENGINE is a standard rhpa appraisals search engine SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.
See here to view full function module documentation and code listing for rhpa appraisals search engine FM, simply by entering the name RHPA_APPRAISALS_SEARCH_ENGINE into the relevant SAP transaction such as SE37 or SE38.
Function Group: RHPA
Program Name: SAPLRHPA
Main Program: SAPLRHPA
Appliation area: H
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:

Function RHPA_APPRAISALS_SEARCH_ENGINE pattern details
In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.CALL FUNCTION 'RHPA_APPRAISALS_SEARCH_ENGINE'".
EXPORTING
PLVAR = "Plan Version
* APP_S_REJECTED_X = 'X' "Appraisals that have been rejected
* APP_S_HISTO_X = 'X' "Appraisals that have been completed
* WITH_STEXT_X = 'X' "
* VALIDITY_PERIOD = "Validity Period
* SET_DATE_PERIOD = "Creation Period
* APPOR_OR_APPEE_X = ' ' "
* APP_FINAL_X = 'X' "Individual and Overall Appraisals
* APP_PARTS_X = ' ' "Subappraisals
* APP_S_PLANNED_X = ' ' "Planned appraisals
* APP_S_ACTIVE_X = ' ' "Appraisals currently being processed
* APP_S_APPROVED_X = 'X' "Appraisals that have been approved
TABLES
* APPSEL_CRIT = "
* APPSCHEMES = "
* APPRAISORS = "
* APPRAISEES = "
* APPRAISALS = "
EXCEPTIONS
NOTHING_FOUND = 1
IMPORTING Parameters details for RHPA_APPRAISALS_SEARCH_ENGINE
PLVAR - Plan Version
Data type: P1000-PLVAROptional: No
Call by Reference: No ( called with pass by value option)
APP_S_REJECTED_X - Appraisals that have been rejected
Data type: CHAR1Default: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
APP_S_HISTO_X - Appraisals that have been completed
Data type: CHAR1Default: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
WITH_STEXT_X -
Data type: CHAR1Default: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
VALIDITY_PERIOD - Validity Period
Data type: HRSEL_PERIODOptional: Yes
Call by Reference: No ( called with pass by value option)
SET_DATE_PERIOD - Creation Period
Data type: HRSEL_PERIODOptional: Yes
Call by Reference: No ( called with pass by value option)
APPOR_OR_APPEE_X -
Data type: CHAR1Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)
APP_FINAL_X - Individual and Overall Appraisals
Data type: CHAR1Default: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
APP_PARTS_X - Subappraisals
Data type: CHAR1Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)
APP_S_PLANNED_X - Planned appraisals
Data type: CHAR1Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)
APP_S_ACTIVE_X - Appraisals currently being processed
Data type: CHAR1Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)
APP_S_APPROVED_X - Appraisals that have been approved
Data type: CHAR1Default: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for RHPA_APPRAISALS_SEARCH_ENGINE
APPSEL_CRIT -
Data type: HRPE_SEL_CRITOptional: Yes
Call by Reference: No ( called with pass by value option)
APPSCHEMES -
Data type: HRPE_TXOBJOptional: Yes
Call by Reference: No ( called with pass by value option)
APPRAISORS -
Data type: HRPE_APPRAISORSOptional: Yes
Call by Reference: No ( called with pass by value option)
APPRAISEES -
Data type: HRPE_APPRAISEESOptional: Yes
Call by Reference: No ( called with pass by value option)
APPRAISALS -
Data type: HRPE_APPRAISALSOptional: Yes
Call by Reference: Yes
EXCEPTIONS details
NOTHING_FOUND -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for RHPA_APPRAISALS_SEARCH_ENGINE Function Module
The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the newer method of declaring data variables on the fly. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8), which i why i have stuck to the origianl for this example.| DATA: | ||||
| lv_plvar | TYPE P1000-PLVAR, " | |||
| lt_appsel_crit | TYPE STANDARD TABLE OF HRPE_SEL_CRIT, " | |||
| lv_nothing_found | TYPE HRPE_SEL_CRIT, " | |||
| lv_app_s_rejected_x | TYPE CHAR1, " 'X' | |||
| lv_app_s_histo_x | TYPE CHAR1, " 'X' | |||
| lv_with_stext_x | TYPE CHAR1, " 'X' | |||
| lt_appschemes | TYPE STANDARD TABLE OF HRPE_TXOBJ, " | |||
| lv_validity_period | TYPE HRSEL_PERIOD, " | |||
| lt_appraisors | TYPE STANDARD TABLE OF HRPE_APPRAISORS, " | |||
| lv_set_date_period | TYPE HRSEL_PERIOD, " | |||
| lt_appraisees | TYPE STANDARD TABLE OF HRPE_APPRAISEES, " | |||
| lv_appor_or_appee_x | TYPE CHAR1, " ' ' | |||
| lt_appraisals | TYPE STANDARD TABLE OF HRPE_APPRAISALS, " | |||
| lv_app_final_x | TYPE CHAR1, " 'X' | |||
| lv_app_parts_x | TYPE CHAR1, " ' ' | |||
| lv_app_s_planned_x | TYPE CHAR1, " ' ' | |||
| lv_app_s_active_x | TYPE CHAR1, " ' ' | |||
| lv_app_s_approved_x | TYPE CHAR1. " 'X' |
|   CALL FUNCTION 'RHPA_APPRAISALS_SEARCH_ENGINE' " |
| EXPORTING | ||
| PLVAR | = lv_plvar | |
| APP_S_REJECTED_X | = lv_app_s_rejected_x | |
| APP_S_HISTO_X | = lv_app_s_histo_x | |
| WITH_STEXT_X | = lv_with_stext_x | |
| VALIDITY_PERIOD | = lv_validity_period | |
| SET_DATE_PERIOD | = lv_set_date_period | |
| APPOR_OR_APPEE_X | = lv_appor_or_appee_x | |
| APP_FINAL_X | = lv_app_final_x | |
| APP_PARTS_X | = lv_app_parts_x | |
| APP_S_PLANNED_X | = lv_app_s_planned_x | |
| APP_S_ACTIVE_X | = lv_app_s_active_x | |
| APP_S_APPROVED_X | = lv_app_s_approved_x | |
| TABLES | ||
| APPSEL_CRIT | = lt_appsel_crit | |
| APPSCHEMES | = lt_appschemes | |
| APPRAISORS | = lt_appraisors | |
| APPRAISEES | = lt_appraisees | |
| APPRAISALS | = lt_appraisals | |
| EXCEPTIONS | ||
| NOTHING_FOUND = 1 | ||
| . " RHPA_APPRAISALS_SEARCH_ENGINE | ||
ABAP code using 7.40 inline data declarations to call FM RHPA_APPRAISALS_SEARCH_ENGINE
The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8.| "SELECT single PLVAR FROM P1000 INTO @DATA(ld_plvar). | ||||
| DATA(ld_app_s_rejected_x) | = 'X'. | |||
| DATA(ld_app_s_histo_x) | = 'X'. | |||
| DATA(ld_with_stext_x) | = 'X'. | |||
| DATA(ld_appor_or_appee_x) | = ' '. | |||
| DATA(ld_app_final_x) | = 'X'. | |||
| DATA(ld_app_parts_x) | = ' '. | |||
| DATA(ld_app_s_planned_x) | = ' '. | |||
| DATA(ld_app_s_active_x) | = ' '. | |||
| DATA(ld_app_s_approved_x) | = 'X'. | |||
Search for further information about these or an SAP related objects