SAP HRHAP_HEAD_APPRAISEE_GET_LIST Function Module for
HRHAP_HEAD_APPRAISEE_GET_LIST is a standard hrhap head appraisee get list 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 hrhap head appraisee get list FM, simply by entering the name HRHAP_HEAD_APPRAISEE_GET_LIST into the relevant SAP transaction such as SE37 or SE38.
Function Group: HRHAP_IF_DOCUMENT
Program Name: SAPLHRHAP_IF_DOCUMENT
Main Program: SAPLHRHAP_IF_DOCUMENT
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function HRHAP_HEAD_APPRAISEE_GET_LIST 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 'HRHAP_HEAD_APPRAISEE_GET_LIST'".
EXPORTING
ADD_ON_APPLICATION = "
* T_APPRAISER = "
* T_PART_APPRAISERS = "
* T_OTHERS = "
* NO_SELF_APPRAISAL = ' ' "Flag: Self Appraisal not Allowed
* S_HEADER_TEXTS = "Header - Texts
PLAN_VERSION = "Plan Version
OBJECT_TYPE = "Appraiser Type
TEMPLATE_ID = "Appraisal Template
* START_DATE = '19000101' "Start date of the appraisal period
* END_DATE = '99991231' "End date of the appraisal period
* SEARCH_STRING = '*' "Search String
* R3_NO_DIALOG = 'X' "R/3-Dialog: 'X'=no Dialog(give list back); ' '=R/3 Dialog; '4'= R/3 F4-Dialog
* R3_MULTI_SELECT = ' ' "'X'=multiple objects can be choosen; ' '=just one object can be choosen
IMPORTING
T_SELECTED_APPRAISEE = "Header - Appraisee
S_RETURN = "Application Log: Message Data
IMPORTING Parameters details for HRHAP_HEAD_APPRAISEE_GET_LIST
ADD_ON_APPLICATION -
Data type: HAP_ADD_ON_APPLICATIONOptional: No
Call by Reference: Yes
T_APPRAISER -
Data type: HAP_T_HEADER_APPRAISEROptional: Yes
Call by Reference: Yes
T_PART_APPRAISERS -
Data type: HAP_T_HEADER_PART_APPRAISERSOptional: Yes
Call by Reference: Yes
T_OTHERS -
Data type: HAP_T_HEADER_OTHERSOptional: Yes
Call by Reference: Yes
NO_SELF_APPRAISAL - Flag: Self Appraisal not Allowed
Data type: HAP_NO_SELFAPPRAISALDefault: ' '
Optional: Yes
Call by Reference: Yes
S_HEADER_TEXTS - Header - Texts
Data type: HAP_S_HEADER_TEXTSOptional: Yes
Call by Reference: Yes
PLAN_VERSION - Plan Version
Data type: HAP_PLAN_VERSIONOptional: No
Call by Reference: Yes
OBJECT_TYPE - Appraiser Type
Data type: HAP_APPRAISER_TYPEOptional: No
Call by Reference: Yes
TEMPLATE_ID - Appraisal Template
Data type: HAP_TEMPLATE_IDOptional: No
Call by Reference: Yes
START_DATE - Start date of the appraisal period
Data type: HAP_AP_START_DATEDefault: '19000101'
Optional: Yes
Call by Reference: Yes
END_DATE - End date of the appraisal period
Data type: HAP_AP_END_DATEDefault: '99991231'
Optional: Yes
Call by Reference: Yes
SEARCH_STRING - Search String
Data type: CDefault: '*'
Optional: Yes
Call by Reference: Yes
R3_NO_DIALOG - R/3-Dialog: 'X'=no Dialog(give list back); ' '=R/3 Dialog; '4'= R/3 F4-Dialog
Data type: CHAR1Default: 'X'
Optional: Yes
Call by Reference: Yes
R3_MULTI_SELECT - 'X'=multiple objects can be choosen; ' '=just one object can be choosen
Data type: CHAR1Default: ' '
Optional: Yes
Call by Reference: Yes
EXPORTING Parameters details for HRHAP_HEAD_APPRAISEE_GET_LIST
T_SELECTED_APPRAISEE - Header - Appraisee
Data type: HAP_T_HEADER_APPRAISEEOptional: No
Call by Reference: Yes
S_RETURN - Application Log: Message Data
Data type: BAL_S_MSGOptional: No
Call by Reference: Yes
Copy and paste ABAP code example for HRHAP_HEAD_APPRAISEE_GET_LIST 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_add_on_application | TYPE HAP_ADD_ON_APPLICATION, " | |||
| lv_t_selected_appraisee | TYPE HAP_T_HEADER_APPRAISEE, " | |||
| lv_t_appraiser | TYPE HAP_T_HEADER_APPRAISER, " | |||
| lv_t_part_appraisers | TYPE HAP_T_HEADER_PART_APPRAISERS, " | |||
| lv_t_others | TYPE HAP_T_HEADER_OTHERS, " | |||
| lv_no_self_appraisal | TYPE HAP_NO_SELFAPPRAISAL, " ' ' | |||
| lv_s_header_texts | TYPE HAP_S_HEADER_TEXTS, " | |||
| lv_s_return | TYPE BAL_S_MSG, " | |||
| lv_plan_version | TYPE HAP_PLAN_VERSION, " | |||
| lv_object_type | TYPE HAP_APPRAISER_TYPE, " | |||
| lv_template_id | TYPE HAP_TEMPLATE_ID, " | |||
| lv_start_date | TYPE HAP_AP_START_DATE, " '19000101' | |||
| lv_end_date | TYPE HAP_AP_END_DATE, " '99991231' | |||
| lv_search_string | TYPE C, " '*' | |||
| lv_r3_no_dialog | TYPE CHAR1, " 'X' | |||
| lv_r3_multi_select | TYPE CHAR1. " ' ' |
|   CALL FUNCTION 'HRHAP_HEAD_APPRAISEE_GET_LIST' " |
| EXPORTING | ||
| ADD_ON_APPLICATION | = lv_add_on_application | |
| T_APPRAISER | = lv_t_appraiser | |
| T_PART_APPRAISERS | = lv_t_part_appraisers | |
| T_OTHERS | = lv_t_others | |
| NO_SELF_APPRAISAL | = lv_no_self_appraisal | |
| S_HEADER_TEXTS | = lv_s_header_texts | |
| PLAN_VERSION | = lv_plan_version | |
| OBJECT_TYPE | = lv_object_type | |
| TEMPLATE_ID | = lv_template_id | |
| START_DATE | = lv_start_date | |
| END_DATE | = lv_end_date | |
| SEARCH_STRING | = lv_search_string | |
| R3_NO_DIALOG | = lv_r3_no_dialog | |
| R3_MULTI_SELECT | = lv_r3_multi_select | |
| IMPORTING | ||
| T_SELECTED_APPRAISEE | = lv_t_selected_appraisee | |
| S_RETURN | = lv_s_return | |
| . " HRHAP_HEAD_APPRAISEE_GET_LIST | ||
ABAP code using 7.40 inline data declarations to call FM HRHAP_HEAD_APPRAISEE_GET_LIST
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.| DATA(ld_no_self_appraisal) | = ' '. | |||
| DATA(ld_start_date) | = '19000101'. | |||
| DATA(ld_end_date) | = '99991231'. | |||
| DATA(ld_search_string) | = '*'. | |||
| DATA(ld_r3_no_dialog) | = 'X'. | |||
| DATA(ld_r3_multi_select) | = ' '. | |||
Search for further information about these or an SAP related objects