SAP HRIQ_STUDENT_REGIST_READ Function Module for Get (Re-)registrations of Student for Study Object









HRIQ_STUDENT_REGIST_READ is a standard hriq student regist read SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Get (Re-)registrations of Student for Study Object 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 student regist read FM, simply by entering the name HRIQ_STUDENT_REGIST_READ into the relevant SAP transaction such as SE37 or SE38.

Function Group: HRPIQ00STUDENT_REGIST_GET
Program Name: SAPLHRPIQ00STUDENT_REGIST_GET
Main Program: SAPLHRPIQ00STUDENT_REGIST_GET
Appliation area:
Release date: 03-Jul-2002
Mode(Normal, Remote etc): Normal Function Module
Update:



Function HRIQ_STUDENT_REGIST_READ 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_STUDENT_REGIST_READ'"Get (Re-)registrations of Student for Study Object
EXPORTING
IV_PLVAR = "Plan Version
* IV_LAST_PERYR = "Academic Year
* IV_STATUS_ATTEND = 'X' "General Indicator
* IV_STATUS_LEAVE = 'X' "General Indicator
* IV_ALL_STATE = "General Indicator
* IV_ALL_SUBTY = "General Indicator
* IV_WITH_TEXTS = "Checkbox
* IV_BASE_AUTH = 'DISP' "Check Basis Authorization (PLOG)
* IV_WITH_STRU_AUTH = 'X' "Check Structural Authorization
IV_ST_OBJID = "Object ID of Student
* IV_CS_OBJID = "Object ID
* IV_SC_OBJID = "Program ID
* IV_BEGDA = "Start Date of Staffing Period
* IV_ENDDA = "End Date of Validity Period
* IV_FIRST_PERID = "Academic Session
* IV_FIRST_PERYR = "Academic Year
* IV_LAST_PERID = "Academic Session

IMPORTING
ET_REGISTRATIONS = "Registrations (Table)
ET_REG_P = "
ET_MESSAGE_RETURN = "Return Parameter Table
.



IMPORTING Parameters details for HRIQ_STUDENT_REGIST_READ

IV_PLVAR - Plan Version

Data type: PLVAR
Optional: No
Call by Reference: No ( called with pass by value option)

IV_LAST_PERYR - Academic Year

Data type: PIQPERYR
Optional: Yes
Call by Reference: No ( called with pass by value option)

IV_STATUS_ATTEND - General Indicator

Data type: FLAG
Default: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)

IV_STATUS_LEAVE - General Indicator

Data type: FLAG
Default: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)

IV_ALL_STATE - General Indicator

Data type: FLAG
Optional: Yes
Call by Reference: No ( called with pass by value option)

IV_ALL_SUBTY - General Indicator

Data type: FLAG
Optional: Yes
Call by Reference: No ( called with pass by value option)

IV_WITH_TEXTS - Checkbox

Data type: XFELD
Optional: Yes
Call by Reference: No ( called with pass by value option)

IV_BASE_AUTH - Check Basis Authorization (PLOG)

Data type:
Default: 'DISP'
Optional: Yes
Call by Reference: No ( called with pass by value option)

IV_WITH_STRU_AUTH - Check Structural Authorization

Data type: XFELD
Default: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)

IV_ST_OBJID - Object ID of Student

Data type: PIQSTUDENT
Optional: No
Call by Reference: No ( called with pass by value option)

IV_CS_OBJID - Object ID

Data type: HROBJID
Optional: Yes
Call by Reference: No ( called with pass by value option)

IV_SC_OBJID - Program ID

Data type: PIQSCOBJID
Optional: Yes
Call by Reference: No ( called with pass by value option)

IV_BEGDA - Start Date of Staffing Period

Data type: BEGDAT
Optional: Yes
Call by Reference: No ( called with pass by value option)

IV_ENDDA - End Date of Validity Period

Data type: ENDDAT
Optional: Yes
Call by Reference: No ( called with pass by value option)

IV_FIRST_PERID - Academic Session

Data type: PIQPERID
Optional: Yes
Call by Reference: No ( called with pass by value option)

IV_FIRST_PERYR - Academic Year

Data type: PIQPERYR
Optional: Yes
Call by Reference: No ( called with pass by value option)

IV_LAST_PERID - Academic Session

Data type: PIQPERID
Optional: Yes
Call by Reference: No ( called with pass by value option)

EXPORTING Parameters details for HRIQ_STUDENT_REGIST_READ

ET_REGISTRATIONS - Registrations (Table)

Data type: PIQSTREG_T
Optional: No
Call by Reference: Yes

ET_REG_P -

Data type: PIQSTREG_P_T
Optional: No
Call by Reference: Yes

ET_MESSAGE_RETURN - Return Parameter Table

Data type: BAPIRET2_T
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for HRIQ_STUDENT_REGIST_READ 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, "   
lv_et_registrations  TYPE PIQSTREG_T, "   
lv_iv_last_peryr  TYPE PIQPERYR, "   
lv_iv_status_attend  TYPE FLAG, "   'X'
lv_iv_status_leave  TYPE FLAG, "   'X'
lv_iv_all_state  TYPE FLAG, "   
lv_iv_all_subty  TYPE FLAG, "   
lv_iv_with_texts  TYPE XFELD, "   
lv_iv_base_auth  TYPE XFELD, "   'DISP'
lv_iv_with_stru_auth  TYPE XFELD, "   'X'
lv_et_reg_p  TYPE PIQSTREG_P_T, "   
lv_iv_st_objid  TYPE PIQSTUDENT, "   
lv_iv_cs_objid  TYPE HROBJID, "   
lv_et_message_return  TYPE BAPIRET2_T, "   
lv_iv_sc_objid  TYPE PIQSCOBJID, "   
lv_iv_begda  TYPE BEGDAT, "   
lv_iv_endda  TYPE ENDDAT, "   
lv_iv_first_perid  TYPE PIQPERID, "   
lv_iv_first_peryr  TYPE PIQPERYR, "   
lv_iv_last_perid  TYPE PIQPERID. "   

  CALL FUNCTION 'HRIQ_STUDENT_REGIST_READ'  "Get (Re-)registrations of Student for Study Object
    EXPORTING
         IV_PLVAR = lv_iv_plvar
         IV_LAST_PERYR = lv_iv_last_peryr
         IV_STATUS_ATTEND = lv_iv_status_attend
         IV_STATUS_LEAVE = lv_iv_status_leave
         IV_ALL_STATE = lv_iv_all_state
         IV_ALL_SUBTY = lv_iv_all_subty
         IV_WITH_TEXTS = lv_iv_with_texts
         IV_BASE_AUTH = lv_iv_base_auth
         IV_WITH_STRU_AUTH = lv_iv_with_stru_auth
         IV_ST_OBJID = lv_iv_st_objid
         IV_CS_OBJID = lv_iv_cs_objid
         IV_SC_OBJID = lv_iv_sc_objid
         IV_BEGDA = lv_iv_begda
         IV_ENDDA = lv_iv_endda
         IV_FIRST_PERID = lv_iv_first_perid
         IV_FIRST_PERYR = lv_iv_first_peryr
         IV_LAST_PERID = lv_iv_last_perid
    IMPORTING
         ET_REGISTRATIONS = lv_et_registrations
         ET_REG_P = lv_et_reg_p
         ET_MESSAGE_RETURN = lv_et_message_return
. " HRIQ_STUDENT_REGIST_READ




ABAP code using 7.40 inline data declarations to call FM HRIQ_STUDENT_REGIST_READ

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_status_attend) = 'X'.
 
DATA(ld_iv_status_leave) = 'X'.
 
 
 
 
DATA(ld_iv_base_auth) = 'DISP'.
 
DATA(ld_iv_with_stru_auth) = 'X'.
 
 
 
 
 
 
 
 
 
 
 


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!