SAP HRIQ_APPR_CREATE_BUFFER_UPDATE Function Module for CM: Generate Buffer Tables for Appraisal Update
HRIQ_APPR_CREATE_BUFFER_UPDATE is a standard hriq appr create buffer update SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for CM: Generate Buffer Tables for Appraisal Update 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 hriq appr create buffer update FM, simply by entering the name HRIQ_APPR_CREATE_BUFFER_UPDATE into the relevant SAP transaction such as SE37 or SE38.
Function Group: HRPIQ00GRADING_BUFFER
Program Name: SAPLHRPIQ00GRADING_BUFFER
Main Program: SAPLHRPIQ00GRADING_BUFFER
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function HRIQ_APPR_CREATE_BUFFER_UPDATE 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 'HRIQ_APPR_CREATE_BUFFER_UPDATE'"CM: Generate Buffer Tables for Appraisal Update.
EXPORTING
* IS_GEN = "DB Table for Appraisals
* IS_NOTE = "Appraisal Notes
* IS_ELEMENT = "Appraisal Element
* IS_UPDATE = "Indicatore for Update Tables T7PIQAGR*
* IS_UPDATE_STRUC = "Indicator for Appraisal Element Update
* IS_APPR = "Appraisal
* IS_APPEE = "Appraisee
* IS_ADDATTR = "
* IS_ASSIGNM = "Appraised Object
* IS_FOLL_UP = "Appraisal Additional Data
* IS_APPSER = "Appraiser
* IS_APPTEXT = "Appraisal Text
* IS_LOG = "Activity Document: Appraisal Change
TABLES
* IT_APPSER_I = "Appraiser
* IT_APPSER_U = "Appraiser
* IT_APPSER_D = "Appraiser
IMPORTING Parameters details for HRIQ_APPR_CREATE_BUFFER_UPDATE
IS_GEN - DB Table for Appraisals
Data type: PIQDBAGR_GENOptional: Yes
Call by Reference: Yes
IS_NOTE - Appraisal Notes
Data type: PIQDBAGR_NOTEOptional: Yes
Call by Reference: Yes
IS_ELEMENT - Appraisal Element
Data type: PIQDBAGR_ELEMENTOptional: Yes
Call by Reference: Yes
IS_UPDATE - Indicatore for Update Tables T7PIQAGR*
Data type: PIQAGRUPDATEOptional: Yes
Call by Reference: Yes
IS_UPDATE_STRUC - Indicator for Appraisal Element Update
Data type: PIQAGRUPDATE_TABOptional: Yes
Call by Reference: Yes
IS_APPR - Appraisal
Data type: PIQDBAGR_APPROptional: Yes
Call by Reference: Yes
IS_APPEE - Appraisee
Data type: PIQDBAGR_APPEEOptional: Yes
Call by Reference: Yes
IS_ADDATTR -
Data type: PIQDBAGR_ADDATTROptional: Yes
Call by Reference: Yes
IS_ASSIGNM - Appraised Object
Data type: PIQDBAGR_ASSIGNMOptional: Yes
Call by Reference: Yes
IS_FOLL_UP - Appraisal Additional Data
Data type: PIQDBAGR_FOLL_UPOptional: Yes
Call by Reference: Yes
IS_APPSER - Appraiser
Data type: PIQDBAGR_APPSEROptional: Yes
Call by Reference: Yes
IS_APPTEXT - Appraisal Text
Data type: PIQDBAGR_TEXTOptional: Yes
Call by Reference: Yes
IS_LOG - Activity Document: Appraisal Change
Data type: PIQDBAGR_LOGOptional: Yes
Call by Reference: Yes
TABLES Parameters details for HRIQ_APPR_CREATE_BUFFER_UPDATE
IT_APPSER_I - Appraiser
Data type: PIQDBAGR_APPSEROptional: Yes
Call by Reference: Yes
IT_APPSER_U - Appraiser
Data type: PIQDBAGR_APPSEROptional: Yes
Call by Reference: Yes
IT_APPSER_D - Appraiser
Data type: PIQDBAGR_APPSEROptional: Yes
Call by Reference: Yes
Copy and paste ABAP code example for HRIQ_APPR_CREATE_BUFFER_UPDATE 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_is_gen | TYPE PIQDBAGR_GEN, " | |||
| lt_it_appser_i | TYPE STANDARD TABLE OF PIQDBAGR_APPSER, " | |||
| lv_is_note | TYPE PIQDBAGR_NOTE, " | |||
| lv_is_element | TYPE PIQDBAGR_ELEMENT, " | |||
| lv_is_update | TYPE PIQAGRUPDATE, " | |||
| lv_is_update_struc | TYPE PIQAGRUPDATE_TAB, " | |||
| lv_is_appr | TYPE PIQDBAGR_APPR, " | |||
| lt_it_appser_u | TYPE STANDARD TABLE OF PIQDBAGR_APPSER, " | |||
| lv_is_appee | TYPE PIQDBAGR_APPEE, " | |||
| lt_it_appser_d | TYPE STANDARD TABLE OF PIQDBAGR_APPSER, " | |||
| lv_is_addattr | TYPE PIQDBAGR_ADDATTR, " | |||
| lv_is_assignm | TYPE PIQDBAGR_ASSIGNM, " | |||
| lv_is_foll_up | TYPE PIQDBAGR_FOLL_UP, " | |||
| lv_is_appser | TYPE PIQDBAGR_APPSER, " | |||
| lv_is_apptext | TYPE PIQDBAGR_TEXT, " | |||
| lv_is_log | TYPE PIQDBAGR_LOG. " |
|   CALL FUNCTION 'HRIQ_APPR_CREATE_BUFFER_UPDATE' "CM: Generate Buffer Tables for Appraisal Update |
| EXPORTING | ||
| IS_GEN | = lv_is_gen | |
| IS_NOTE | = lv_is_note | |
| IS_ELEMENT | = lv_is_element | |
| IS_UPDATE | = lv_is_update | |
| IS_UPDATE_STRUC | = lv_is_update_struc | |
| IS_APPR | = lv_is_appr | |
| IS_APPEE | = lv_is_appee | |
| IS_ADDATTR | = lv_is_addattr | |
| IS_ASSIGNM | = lv_is_assignm | |
| IS_FOLL_UP | = lv_is_foll_up | |
| IS_APPSER | = lv_is_appser | |
| IS_APPTEXT | = lv_is_apptext | |
| IS_LOG | = lv_is_log | |
| TABLES | ||
| IT_APPSER_I | = lt_it_appser_i | |
| IT_APPSER_U | = lt_it_appser_u | |
| IT_APPSER_D | = lt_it_appser_d | |
| . " HRIQ_APPR_CREATE_BUFFER_UPDATE | ||
ABAP code using 7.40 inline data declarations to call FM HRIQ_APPR_CREATE_BUFFER_UPDATE
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.Search for further information about these or an SAP related objects