SAP RHPA_SHOW_APPRAISALS_SEARCH Function Module for
RHPA_SHOW_APPRAISALS_SEARCH is a standard rhpa show appraisals search 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 show appraisals search FM, simply by entering the name RHPA_SHOW_APPRAISALS_SEARCH into the relevant SAP transaction such as SE37 or SE38.
Function Group: RHPA_REPORTING
Program Name: SAPLRHPA_REPORTING
Main Program: SAPLRHPA_REPORTING
Appliation area: H
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function RHPA_SHOW_APPRAISALS_SEARCH 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_SHOW_APPRAISALS_SEARCH'".
EXPORTING
PLVAR = "Plan Version
* APP_S_ACTIVE_X = ' ' "SELECT: Currently Processed Appraisals
* APP_S_HISTO_X = 'X' "SELECT: Completed Appraisals
* APP_S_APPROVED_X = 'X' "SELECT: Approved Appraisals
* APP_S_REJECTED_X = 'X' "SELECT: Rejected Appraisals
* SHOW_DETAIL = ' ' "' ' = Without, 'X'= With Details
* EVALUATION_MODE = ' ' "
* VIA_SELECTION_SCREEN = ' ' "By Selection Screen
* VALIDITY_PERIOD = "Validity Period
* SET_DATE_PERIOD = "Creation Period
* APPOR_OR_APPEE_X = ' ' "
* APP_S_WITHOUT_X = ' ' "Lists Persons Without Appraisals
* APP_S_SHOW_X = ' ' "Lists Persons with Appraisals
* APP_RESULT_X = 'X' "SELECT: Individual Appraisals and Overall Appraisals
* APP_PARTS_X = ' ' "SELECT: Subappraisals
* APP_S_PLANNED_X = ' ' "SELECT: Planned Appraisals
IMPORTING
F15 = "
F12 = "
TABLES
* APPSCHEMES = "
* APPRAISORS = "
* APPRAISEES = "
EXCEPTIONS
NO_PLVAR = 1 NO_AUTHORITY = 2
IMPORTING Parameters details for RHPA_SHOW_APPRAISALS_SEARCH
PLVAR - Plan Version
Data type: P1000-PLVAROptional: No
Call by Reference: No ( called with pass by value option)
APP_S_ACTIVE_X - SELECT: Currently Processed Appraisals
Data type: CHAR1Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)
APP_S_HISTO_X - SELECT: Completed Appraisals
Data type: CHAR1Default: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
APP_S_APPROVED_X - SELECT: Approved Appraisals
Data type: CHAR1Default: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
APP_S_REJECTED_X - SELECT: Rejected Appraisals
Data type: CHAR1Default: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
SHOW_DETAIL - ' ' = Without, 'X'= With Details
Data type: CHAR1Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)
EVALUATION_MODE -
Data type: CHAR1Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)
VIA_SELECTION_SCREEN - By Selection Screen
Data type: CHAR1Default: ' '
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_S_WITHOUT_X - Lists Persons Without Appraisals
Data type: CHAR1Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)
APP_S_SHOW_X - Lists Persons with Appraisals
Data type: CHAR1Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)
APP_RESULT_X - SELECT: Individual Appraisals and Overall Appraisals
Data type: CHAR1Default: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
APP_PARTS_X - SELECT: Subappraisals
Data type: CHAR1Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)
APP_S_PLANNED_X - SELECT: Planned Appraisals
Data type: CHAR1Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for RHPA_SHOW_APPRAISALS_SEARCH
F15 -
Data type: CHAR1Optional: No
Call by Reference: No ( called with pass by value option)
F12 -
Data type: CHAR1Optional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for RHPA_SHOW_APPRAISALS_SEARCH
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)
EXCEPTIONS details
NO_PLVAR -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
NO_AUTHORITY - No Authorization
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for RHPA_SHOW_APPRAISALS_SEARCH 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_f15 | TYPE CHAR1, " | |||
| lv_plvar | TYPE P1000-PLVAR, " | |||
| lv_no_plvar | TYPE P1000, " | |||
| lt_appschemes | TYPE STANDARD TABLE OF HRPE_TXOBJ, " | |||
| lv_app_s_active_x | TYPE CHAR1, " ' ' | |||
| lv_app_s_histo_x | TYPE CHAR1, " 'X' | |||
| lv_app_s_approved_x | TYPE CHAR1, " 'X' | |||
| lv_app_s_rejected_x | TYPE CHAR1, " 'X' | |||
| lv_show_detail | TYPE CHAR1, " ' ' | |||
| lv_evaluation_mode | TYPE CHAR1, " ' ' | |||
| lv_via_selection_screen | TYPE CHAR1, " ' ' | |||
| lv_f12 | TYPE CHAR1, " | |||
| lt_appraisors | TYPE STANDARD TABLE OF HRPE_APPRAISORS, " | |||
| lv_no_authority | TYPE HRPE_APPRAISORS, " | |||
| lv_validity_period | TYPE HRSEL_PERIOD, " | |||
| lt_appraisees | TYPE STANDARD TABLE OF HRPE_APPRAISEES, " | |||
| lv_set_date_period | TYPE HRSEL_PERIOD, " | |||
| lv_appor_or_appee_x | TYPE CHAR1, " ' ' | |||
| lv_app_s_without_x | TYPE CHAR1, " ' ' | |||
| lv_app_s_show_x | TYPE CHAR1, " ' ' | |||
| lv_app_result_x | TYPE CHAR1, " 'X' | |||
| lv_app_parts_x | TYPE CHAR1, " ' ' | |||
| lv_app_s_planned_x | TYPE CHAR1. " ' ' |
|   CALL FUNCTION 'RHPA_SHOW_APPRAISALS_SEARCH' " |
| EXPORTING | ||
| PLVAR | = lv_plvar | |
| APP_S_ACTIVE_X | = lv_app_s_active_x | |
| APP_S_HISTO_X | = lv_app_s_histo_x | |
| APP_S_APPROVED_X | = lv_app_s_approved_x | |
| APP_S_REJECTED_X | = lv_app_s_rejected_x | |
| SHOW_DETAIL | = lv_show_detail | |
| EVALUATION_MODE | = lv_evaluation_mode | |
| VIA_SELECTION_SCREEN | = lv_via_selection_screen | |
| VALIDITY_PERIOD | = lv_validity_period | |
| SET_DATE_PERIOD | = lv_set_date_period | |
| APPOR_OR_APPEE_X | = lv_appor_or_appee_x | |
| APP_S_WITHOUT_X | = lv_app_s_without_x | |
| APP_S_SHOW_X | = lv_app_s_show_x | |
| APP_RESULT_X | = lv_app_result_x | |
| APP_PARTS_X | = lv_app_parts_x | |
| APP_S_PLANNED_X | = lv_app_s_planned_x | |
| IMPORTING | ||
| F15 | = lv_f15 | |
| F12 | = lv_f12 | |
| TABLES | ||
| APPSCHEMES | = lt_appschemes | |
| APPRAISORS | = lt_appraisors | |
| APPRAISEES | = lt_appraisees | |
| EXCEPTIONS | ||
| NO_PLVAR = 1 | ||
| NO_AUTHORITY = 2 | ||
| . " RHPA_SHOW_APPRAISALS_SEARCH | ||
ABAP code using 7.40 inline data declarations to call FM RHPA_SHOW_APPRAISALS_SEARCH
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_active_x) | = ' '. | |||
| DATA(ld_app_s_histo_x) | = 'X'. | |||
| DATA(ld_app_s_approved_x) | = 'X'. | |||
| DATA(ld_app_s_rejected_x) | = 'X'. | |||
| DATA(ld_show_detail) | = ' '. | |||
| DATA(ld_evaluation_mode) | = ' '. | |||
| DATA(ld_via_selection_screen) | = ' '. | |||
| DATA(ld_appor_or_appee_x) | = ' '. | |||
| DATA(ld_app_s_without_x) | = ' '. | |||
| DATA(ld_app_s_show_x) | = ' '. | |||
| DATA(ld_app_result_x) | = 'X'. | |||
| DATA(ld_app_parts_x) | = ' '. | |||
| DATA(ld_app_s_planned_x) | = ' '. | |||
Search for further information about these or an SAP related objects