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

Function HRIQ_EVOBJINST_CREATE 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_EVOBJINST_CREATE'"Create Evaluation.
EXPORTING
* IS_CONTEXT_HROBJECT = "
* IV_EVOB_OBJID = "Assessment ID
* IS_YEARSESSION = "Academic Year and Session
* IV_HIDE_EVOBOFFNO = "
* IV_DATUM = SY-DATUM "Date
* IV_LANGU = SY-LANGU "Current Language
* IV_SAVE = PIQC_TRUE "
IMPORTING
ES_EVOBOFFER = "Scheduled Assessment
ET_EVOBOFFER2_ATTR = "Scheduled Assessment: Functions
ES_EVOBOFFER3_ATTR = "
E_SAVED = "
EXCEPTIONS
EVOB_NOT_DELIVERED = 1 EVOBOFFER_NOT_CREATED = 2
IMPORTING Parameters details for HRIQ_EVOBJINST_CREATE
IS_CONTEXT_HROBJECT -
Data type: HROBJECTOptional: Yes
Call by Reference: Yes
IV_EVOB_OBJID - Assessment ID
Data type: HROBJIDOptional: Yes
Call by Reference: Yes
IS_YEARSESSION - Academic Year and Session
Data type: PIQYRSESOptional: Yes
Call by Reference: Yes
IV_HIDE_EVOBOFFNO -
Data type: FLAGOptional: Yes
Call by Reference: Yes
IV_DATUM - Date
Data type: SY-DATUMDefault: SY-DATUM
Optional: Yes
Call by Reference: Yes
IV_LANGU - Current Language
Data type: SY-LANGUDefault: SY-LANGU
Optional: Yes
Call by Reference: Yes
IV_SAVE -
Data type: FLAGDefault: PIQC_TRUE
Optional: Yes
Call by Reference: Yes
EXPORTING Parameters details for HRIQ_EVOBJINST_CREATE
ES_EVOBOFFER - Scheduled Assessment
Data type: PIQEVOBOFFEROptional: No
Call by Reference: Yes
ET_EVOBOFFER2_ATTR - Scheduled Assessment: Functions
Data type: PIQEVOBOFFER2_ATTR_TOptional: No
Call by Reference: Yes
ES_EVOBOFFER3_ATTR -
Data type: PIQEVOBOFFER3_ATTROptional: No
Call by Reference: Yes
E_SAVED -
Data type: FLAGOptional: No
Call by Reference: Yes
EXCEPTIONS details
EVOB_NOT_DELIVERED -
Data type:Optional: No
Call by Reference: Yes
EVOBOFFER_NOT_CREATED -
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for HRIQ_EVOBJINST_CREATE 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_es_evoboffer | TYPE PIQEVOBOFFER, " | |||
| lv_evob_not_delivered | TYPE PIQEVOBOFFER, " | |||
| lv_is_context_hrobject | TYPE HROBJECT, " | |||
| lv_iv_evob_objid | TYPE HROBJID, " | |||
| lv_et_evoboffer2_attr | TYPE PIQEVOBOFFER2_ATTR_T, " | |||
| lv_evoboffer_not_created | TYPE PIQEVOBOFFER2_ATTR_T, " | |||
| lv_is_yearsession | TYPE PIQYRSES, " | |||
| lv_es_evoboffer3_attr | TYPE PIQEVOBOFFER3_ATTR, " | |||
| lv_e_saved | TYPE FLAG, " | |||
| lv_iv_hide_evoboffno | TYPE FLAG, " | |||
| lv_iv_datum | TYPE SY-DATUM, " SY-DATUM | |||
| lv_iv_langu | TYPE SY-LANGU, " SY-LANGU | |||
| lv_iv_save | TYPE FLAG. " PIQC_TRUE |
|   CALL FUNCTION 'HRIQ_EVOBJINST_CREATE' "Create Evaluation |
| EXPORTING | ||
| IS_CONTEXT_HROBJECT | = lv_is_context_hrobject | |
| IV_EVOB_OBJID | = lv_iv_evob_objid | |
| IS_YEARSESSION | = lv_is_yearsession | |
| IV_HIDE_EVOBOFFNO | = lv_iv_hide_evoboffno | |
| IV_DATUM | = lv_iv_datum | |
| IV_LANGU | = lv_iv_langu | |
| IV_SAVE | = lv_iv_save | |
| IMPORTING | ||
| ES_EVOBOFFER | = lv_es_evoboffer | |
| ET_EVOBOFFER2_ATTR | = lv_et_evoboffer2_attr | |
| ES_EVOBOFFER3_ATTR | = lv_es_evoboffer3_attr | |
| E_SAVED | = lv_e_saved | |
| EXCEPTIONS | ||
| EVOB_NOT_DELIVERED = 1 | ||
| EVOBOFFER_NOT_CREATED = 2 | ||
| . " HRIQ_EVOBJINST_CREATE | ||
ABAP code using 7.40 inline data declarations to call FM HRIQ_EVOBJINST_CREATE
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 DATUM FROM SY INTO @DATA(ld_iv_datum). | ||||
| DATA(ld_iv_datum) | = SY-DATUM. | |||
| "SELECT single LANGU FROM SY INTO @DATA(ld_iv_langu). | ||||
| DATA(ld_iv_langu) | = SY-LANGU. | |||
| DATA(ld_iv_save) | = PIQC_TRUE. | |||
Search for further information about these or an SAP related objects