SAP HRIQ_CMPR_CREATE_COMPL_REGIST Function Module for Create Logon for Students (CMPR)
HRIQ_CMPR_CREATE_COMPL_REGIST is a standard hriq cmpr create compl regist 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 Logon for Students (CMPR) 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 cmpr create compl regist FM, simply by entering the name HRIQ_CMPR_CREATE_COMPL_REGIST into the relevant SAP transaction such as SE37 or SE38.
Function Group: HRPIQ00EVALOBJ
Program Name: SAPLHRPIQ00EVALOBJ
Main Program: SAPLHRPIQ00EVALOBJ
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function HRIQ_CMPR_CREATE_COMPL_REGIST 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_CMPR_CREATE_COMPL_REGIST'"Create Logon for Students (CMPR).
EXPORTING
* IV_PLVAR = "Plan Version
* IV_CREATE_COMPL_AUD_PROF = "
* IV_AUDF_TYPE = "Requirement Profile Type
* IV_PROC_DOCID = "Activity Document Identification Key
* IV_REF_GUIDTYPE = "Unique Identification Type (GUID)
* IV_REF_GUID = "Unique Key (ID)
* IV_COMMIT = "
* IV_LOG_HANDLE = "Application Log: Log Handle
IV_ASSESSMENT_ID = "Assessment ID
IV_PERYR = "Academic Year
IV_PERID = "Academic Session
* IV_OFFERNO = "Scheduled Assessment Number
* IV_STATUS1 = '01' "System Status (Assessment Process)
* IV_STATUS2 = "
* IV_REASON = "Process Reason
* IV_CREATE_ADMIS_AUD_PROF = "
TABLES
IT_STUDENTS = "
ET_CMPRRECORDS = "
ET_RETURN = "Return Parameter(s)
IMPORTING Parameters details for HRIQ_CMPR_CREATE_COMPL_REGIST
IV_PLVAR - Plan Version
Data type: PLVAROptional: Yes
Call by Reference: Yes
IV_CREATE_COMPL_AUD_PROF -
Data type: XFELDOptional: Yes
Call by Reference: Yes
IV_AUDF_TYPE - Requirement Profile Type
Data type: PIQAUDF_TYPEOptional: Yes
Call by Reference: Yes
IV_PROC_DOCID - Activity Document Identification Key
Data type: PIQPROC_DOCIDOptional: Yes
Call by Reference: Yes
IV_REF_GUIDTYPE - Unique Identification Type (GUID)
Data type: PIQCMPR_GUIDTYPEOptional: Yes
Call by Reference: Yes
IV_REF_GUID - Unique Key (ID)
Data type: PIQCMPR_GUIDREFOptional: Yes
Call by Reference: Yes
IV_COMMIT -
Data type: PIQFLAGOptional: Yes
Call by Reference: Yes
IV_LOG_HANDLE - Application Log: Log Handle
Data type: BALLOGHNDLOptional: Yes
Call by Reference: Yes
IV_ASSESSMENT_ID - Assessment ID
Data type: PIQEVOB_OBJIDOptional: No
Call by Reference: Yes
IV_PERYR - Academic Year
Data type: PIQPERYROptional: No
Call by Reference: Yes
IV_PERID - Academic Session
Data type: PIQPERIDOptional: No
Call by Reference: Yes
IV_OFFERNO - Scheduled Assessment Number
Data type: PIQEVOBOFFNOOptional: Yes
Call by Reference: Yes
IV_STATUS1 - System Status (Assessment Process)
Data type: PIQCMPR_STAT1Default: '01'
Optional: Yes
Call by Reference: Yes
IV_STATUS2 -
Data type: PIQCMPR_STAT2Optional: Yes
Call by Reference: Yes
IV_REASON - Process Reason
Data type: PIQCMPR_REASONOptional: Yes
Call by Reference: Yes
IV_CREATE_ADMIS_AUD_PROF -
Data type: XFELDOptional: Yes
Call by Reference: Yes
TABLES Parameters details for HRIQ_CMPR_CREATE_COMPL_REGIST
IT_STUDENTS -
Data type: PIQCMPR_STUDENTOptional: No
Call by Reference: Yes
ET_CMPRRECORDS -
Data type: PIQCMPRRECORDSOptional: No
Call by Reference: Yes
ET_RETURN - Return Parameter(s)
Data type: BAPIRET2Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for HRIQ_CMPR_CREATE_COMPL_REGIST 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_iv_plvar | TYPE PLVAR, " | |||
| lt_it_students | TYPE STANDARD TABLE OF PIQCMPR_STUDENT, " | |||
| lv_iv_create_compl_aud_prof | TYPE XFELD, " | |||
| lv_iv_audf_type | TYPE PIQAUDF_TYPE, " | |||
| lv_iv_proc_docid | TYPE PIQPROC_DOCID, " | |||
| lv_iv_ref_guidtype | TYPE PIQCMPR_GUIDTYPE, " | |||
| lv_iv_ref_guid | TYPE PIQCMPR_GUIDREF, " | |||
| lv_iv_commit | TYPE PIQFLAG, " | |||
| lv_iv_log_handle | TYPE BALLOGHNDL, " | |||
| lt_et_cmprrecords | TYPE STANDARD TABLE OF PIQCMPRRECORDS, " | |||
| lv_iv_assessment_id | TYPE PIQEVOB_OBJID, " | |||
| lv_iv_peryr | TYPE PIQPERYR, " | |||
| lt_et_return | TYPE STANDARD TABLE OF BAPIRET2, " | |||
| lv_iv_perid | TYPE PIQPERID, " | |||
| lv_iv_offerno | TYPE PIQEVOBOFFNO, " | |||
| lv_iv_status1 | TYPE PIQCMPR_STAT1, " '01' | |||
| lv_iv_status2 | TYPE PIQCMPR_STAT2, " | |||
| lv_iv_reason | TYPE PIQCMPR_REASON, " | |||
| lv_iv_create_admis_aud_prof | TYPE XFELD. " |
|   CALL FUNCTION 'HRIQ_CMPR_CREATE_COMPL_REGIST' "Create Logon for Students (CMPR) |
| EXPORTING | ||
| IV_PLVAR | = lv_iv_plvar | |
| IV_CREATE_COMPL_AUD_PROF | = lv_iv_create_compl_aud_prof | |
| IV_AUDF_TYPE | = lv_iv_audf_type | |
| IV_PROC_DOCID | = lv_iv_proc_docid | |
| IV_REF_GUIDTYPE | = lv_iv_ref_guidtype | |
| IV_REF_GUID | = lv_iv_ref_guid | |
| IV_COMMIT | = lv_iv_commit | |
| IV_LOG_HANDLE | = lv_iv_log_handle | |
| IV_ASSESSMENT_ID | = lv_iv_assessment_id | |
| IV_PERYR | = lv_iv_peryr | |
| IV_PERID | = lv_iv_perid | |
| IV_OFFERNO | = lv_iv_offerno | |
| IV_STATUS1 | = lv_iv_status1 | |
| IV_STATUS2 | = lv_iv_status2 | |
| IV_REASON | = lv_iv_reason | |
| IV_CREATE_ADMIS_AUD_PROF | = lv_iv_create_admis_aud_prof | |
| TABLES | ||
| IT_STUDENTS | = lt_it_students | |
| ET_CMPRRECORDS | = lt_et_cmprrecords | |
| ET_RETURN | = lt_et_return | |
| . " HRIQ_CMPR_CREATE_COMPL_REGIST | ||
ABAP code using 7.40 inline data declarations to call FM HRIQ_CMPR_CREATE_COMPL_REGIST
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_iv_status1) | = '01'. | |||
Search for further information about these or an SAP related objects