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

Function HRIQ_READ_STUDENT_REGINFO 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_READ_STUDENT_REGINFO'"Read student registration information.
EXPORTING
IV_STUDENT = "Student
IV_PERYR = "Academic Year
IV_PERID = "Academic Session
* IV_EDATE = SY-DATUM "Date and time, current (application server) date
IMPORTING
ES_PKEY_CTRL = "Fee Calculation Period Control
ES_ST_INFO = "Student information
ET_SCINFO = "(temp)Program of study table
ET_SMINFO = "(temp)Module table
CHANGING
* CT_ERROR_TAB = "Error Structure Table
IMPORTING Parameters details for HRIQ_READ_STUDENT_REGINFO
IV_STUDENT - Student
Data type: PIQSTUDENTOptional: No
Call by Reference: No ( called with pass by value option)
IV_PERYR - Academic Year
Data type: PIQPERYROptional: No
Call by Reference: No ( called with pass by value option)
IV_PERID - Academic Session
Data type: PIQPERIDOptional: No
Call by Reference: No ( called with pass by value option)
IV_EDATE - Date and time, current (application server) date
Data type: SYDATUMDefault: SY-DATUM
Optional: No
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for HRIQ_READ_STUDENT_REGINFO
ES_PKEY_CTRL - Fee Calculation Period Control
Data type: PIQ_PKEY_CTRLOptional: No
Call by Reference: No ( called with pass by value option)
ES_ST_INFO - Student information
Data type: CMAC_STOptional: No
Call by Reference: No ( called with pass by value option)
ET_SCINFO - (temp)Program of study table
Data type: CMAC_SC_TABOptional: No
Call by Reference: No ( called with pass by value option)
ET_SMINFO - (temp)Module table
Data type: CMAC_SM_TABOptional: No
Call by Reference: No ( called with pass by value option)
CHANGING Parameters details for HRIQ_READ_STUDENT_REGINFO
CT_ERROR_TAB - Error Structure Table
Data type: HRIQ_ERROR_STRUCTUREOptional: Yes
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for HRIQ_READ_STUDENT_REGINFO 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_student | TYPE PIQSTUDENT, " | |||
| lv_ct_error_tab | TYPE HRIQ_ERROR_STRUCTURE, " | |||
| lv_es_pkey_ctrl | TYPE PIQ_PKEY_CTRL, " | |||
| lv_iv_peryr | TYPE PIQPERYR, " | |||
| lv_es_st_info | TYPE CMAC_ST, " | |||
| lv_iv_perid | TYPE PIQPERID, " | |||
| lv_et_scinfo | TYPE CMAC_SC_TAB, " | |||
| lv_iv_edate | TYPE SYDATUM, " SY-DATUM | |||
| lv_et_sminfo | TYPE CMAC_SM_TAB. " |
|   CALL FUNCTION 'HRIQ_READ_STUDENT_REGINFO' "Read student registration information |
| EXPORTING | ||
| IV_STUDENT | = lv_iv_student | |
| IV_PERYR | = lv_iv_peryr | |
| IV_PERID | = lv_iv_perid | |
| IV_EDATE | = lv_iv_edate | |
| IMPORTING | ||
| ES_PKEY_CTRL | = lv_es_pkey_ctrl | |
| ES_ST_INFO | = lv_es_st_info | |
| ET_SCINFO | = lv_et_scinfo | |
| ET_SMINFO | = lv_et_sminfo | |
| CHANGING | ||
| CT_ERROR_TAB | = lv_ct_error_tab | |
| . " HRIQ_READ_STUDENT_REGINFO | ||
ABAP code using 7.40 inline data declarations to call FM HRIQ_READ_STUDENT_REGINFO
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_edate) | = SY-DATUM. | |||
Search for further information about these or an SAP related objects