SAP BAPI_APPRAISAL_MODEL_GETLIST Function Module for Display Appraisal Model
BAPI_APPRAISAL_MODEL_GETLIST is a standard bapi appraisal model getlist SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Display Appraisal Model processing and below is the pattern details for this FM, 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 bapi appraisal model getlist FM, simply by entering the name BAPI_APPRAISAL_MODEL_GETLIST into the relevant SAP transaction such as SE37 or SE38.
Function Group: RH_APPRAISAL_MODEL_BAPI
Program Name: SAPLRH_APPRAISAL_MODEL_BAPI
Main Program:
Appliation area: H
Release date: 16-Jun-1999
Mode(Normal, Remote etc): Remote-Enabled
Update:

Function BAPI_APPRAISAL_MODEL_GETLIST 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 'BAPI_APPRAISAL_MODEL_GETLIST'"Display Appraisal Model.
EXPORTING
PLAN_VERSION = "Plan version
* FROM_DATE = '19000101' "Start of reporting period
* TO_DATE = '99991231' "End of reporting period
* SEARCH_STRING = '*' "Search term
* FORM_ID = "Appraisal form ID
IMPORTING
RETURN = "Return
TABLES
* APPRAISERS = "Appraisers
* APPRAISEES = "Appraisees
APPRAISAL_MODELS = "Appraisal model
IMPORTING Parameters details for BAPI_APPRAISAL_MODEL_GETLIST
PLAN_VERSION - Plan version
Data type: BAPIAPPRAISAL-PLAN_VERSIONOptional: No
Call by Reference: No ( called with pass by value option)
FROM_DATE - Start of reporting period
Data type: BAPIEVALUATION-FROM_DATEDefault: '19000101'
Optional: Yes
Call by Reference: No ( called with pass by value option)
TO_DATE - End of reporting period
Data type: BAPIEVALUATION-TO_DATEDefault: '99991231'
Optional: Yes
Call by Reference: No ( called with pass by value option)
SEARCH_STRING - Search term
Data type: BAPIEVALUATION-SEARKDefault: '*'
Optional: Yes
Call by Reference: No ( called with pass by value option)
FORM_ID - Appraisal form ID
Data type: BAPIAPMHEAD-FORM_IDOptional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for BAPI_APPRAISAL_MODEL_GETLIST
RETURN - Return
Data type: BAPIRETURN1Optional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for BAPI_APPRAISAL_MODEL_GETLIST
APPRAISERS - Appraisers
Data type: BAPIAPPRAISEROptional: Yes
Call by Reference: No ( called with pass by value option)
APPRAISEES - Appraisees
Data type: BAPIAPPRAISEEOptional: Yes
Call by Reference: No ( called with pass by value option)
APPRAISAL_MODELS - Appraisal model
Data type: BAPIAPPMODELOptional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for BAPI_APPRAISAL_MODEL_GETLIST 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_return | TYPE BAPIRETURN1, " | |||
| lt_appraisers | TYPE STANDARD TABLE OF BAPIAPPRAISER, " | |||
| lv_plan_version | TYPE BAPIAPPRAISAL-PLAN_VERSION, " | |||
| lv_from_date | TYPE BAPIEVALUATION-FROM_DATE, " '19000101' | |||
| lt_appraisees | TYPE STANDARD TABLE OF BAPIAPPRAISEE, " | |||
| lv_to_date | TYPE BAPIEVALUATION-TO_DATE, " '99991231' | |||
| lt_appraisal_models | TYPE STANDARD TABLE OF BAPIAPPMODEL, " | |||
| lv_search_string | TYPE BAPIEVALUATION-SEARK, " '*' | |||
| lv_form_id | TYPE BAPIAPMHEAD-FORM_ID. " |
|   CALL FUNCTION 'BAPI_APPRAISAL_MODEL_GETLIST' "Display Appraisal Model |
| EXPORTING | ||
| PLAN_VERSION | = lv_plan_version | |
| FROM_DATE | = lv_from_date | |
| TO_DATE | = lv_to_date | |
| SEARCH_STRING | = lv_search_string | |
| FORM_ID | = lv_form_id | |
| IMPORTING | ||
| RETURN | = lv_return | |
| TABLES | ||
| APPRAISERS | = lt_appraisers | |
| APPRAISEES | = lt_appraisees | |
| APPRAISAL_MODELS | = lt_appraisal_models | |
| . " BAPI_APPRAISAL_MODEL_GETLIST | ||
ABAP code using 7.40 inline data declarations to call FM BAPI_APPRAISAL_MODEL_GETLIST
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 PLAN_VERSION FROM BAPIAPPRAISAL INTO @DATA(ld_plan_version). | ||||
| "SELECT single FROM_DATE FROM BAPIEVALUATION INTO @DATA(ld_from_date). | ||||
| DATA(ld_from_date) | = '19000101'. | |||
| "SELECT single TO_DATE FROM BAPIEVALUATION INTO @DATA(ld_to_date). | ||||
| DATA(ld_to_date) | = '99991231'. | |||
| "SELECT single SEARK FROM BAPIEVALUATION INTO @DATA(ld_search_string). | ||||
| DATA(ld_search_string) | = '*'. | |||
| "SELECT single FORM_ID FROM BAPIAPMHEAD INTO @DATA(ld_form_id). | ||||
Search for further information about these or an SAP related objects