BAPI_APPRAISAL_CREATE is a standard SAP function module available within R/3 SAP systems depending on your version and release level. Below is the pattern details for this FM showing its interface including any import and export parameters, exceptions etc as well as any documentation contributions (Comments) specific to the object.
See here to view full function module documentation and code listing, simply by entering the name BAPI_APPRAISAL_CREATE into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
RH_APPRAISAL_BAPI
Released Date:
16.06.1999
Processing type: Remote-Enabled
CALL FUNCTION 'BAPI_APPRAISAL_CREATE' "Create appraisals
EXPORTING
plan_version = " bapiappraisal-plan_version Plan version
appraisal_model_id = " bapiappmodel-id Appraisal model ID
start_date = " bapiperiodapp-start_date Validity start date of appraisal
end_date = " bapiperiodapp-end_date Validity end date of appraisal
* text = " bapiappraisal-text Name of appraisal model
* creation_date = SY-DATUM " bapiapphead-creation_date Created On
* anonymous = ' ' " bapiapphead-anonymous Anonymous
* nocommit = " bapi_stand-no_commit COMMIT Control at BAPI Interface
* appraisalstatus = '02' " bapiapphead-status Appraisal status
IMPORTING
appraisal_id = " bapiappraisal-id Individual or overall appraisal ID
return = " bapireturn1 Return
* TABLES
* appraisers = " bapiappraiser Appraisers
* appraisees = " bapiappraisee Appraisees
. " BAPI_APPRAISAL_CREATE
The ABAP code below is a full code listing to execute function module BAPI_APPRAISAL_CREATE including all data declarations. The code uses 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 original method of declaring data variables up front. 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).
| ld_appraisal_id | TYPE BAPIAPPRAISAL-ID , |
| ld_return | TYPE BAPIRETURN1 , |
| it_appraisers | TYPE STANDARD TABLE OF BAPIAPPRAISER,"TABLES PARAM |
| wa_appraisers | LIKE LINE OF it_appraisers , |
| it_appraisees | TYPE STANDARD TABLE OF BAPIAPPRAISEE,"TABLES PARAM |
| wa_appraisees | LIKE LINE OF it_appraisees . |
The below ABAP code uses the older none in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. It may also be useful if you are using an older version of SAP as some of the newer syntax above, such as the @DATA is not available until 4.70 EHP 8.
DATA:
| ld_appraisal_id | TYPE BAPIAPPRAISAL-ID , |
| ld_plan_version | TYPE BAPIAPPRAISAL-PLAN_VERSION , |
| it_appraisers | TYPE STANDARD TABLE OF BAPIAPPRAISER , |
| wa_appraisers | LIKE LINE OF it_appraisers, |
| ld_return | TYPE BAPIRETURN1 , |
| ld_appraisal_model_id | TYPE BAPIAPPMODEL-ID , |
| it_appraisees | TYPE STANDARD TABLE OF BAPIAPPRAISEE , |
| wa_appraisees | LIKE LINE OF it_appraisees, |
| ld_start_date | TYPE BAPIPERIODAPP-START_DATE , |
| ld_end_date | TYPE BAPIPERIODAPP-END_DATE , |
| ld_text | TYPE BAPIAPPRAISAL-TEXT , |
| ld_creation_date | TYPE BAPIAPPHEAD-CREATION_DATE , |
| ld_anonymous | TYPE BAPIAPPHEAD-ANONYMOUS , |
| ld_nocommit | TYPE BAPI_STAND-NO_COMMIT , |
| ld_appraisalstatus | TYPE BAPIAPPHEAD-STATUS . |
You can use this method to create appraisals using an
Please help keep this info upto date and use the comments section below to add useful hints, tips and information specific to this SAP function. This will then be available for you and other users to easily find by simply searching on the object name BAPI_APPRAISAL_CREATE or its description.
BAPI_APPRAISAL_CREATE - Create appraisals BAPI_APPRAISAL_CHANGE - Change appraisals BAPI_APPLICATION_CREATE - Create Application BAPI_APPLICATIONLOG_GETDETAIL - Read Details of Entries in Application Log BAPI_APPLICANT_INITPASSWORD - Initialize applicant password BAPI_APPLICANT_GET_PW_REG - Read entry for applicant password