SAP HRIQ_HS_STATUSIND_READ Function Module for CM: Read All Status Indicators for Student Inc. Texts
HRIQ_HS_STATUSIND_READ is a standard hriq hs statusind 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 CM: Read All Status Indicators for Student Inc. Texts 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 hs statusind read FM, simply by entering the name HRIQ_HS_STATUSIND_READ into the relevant SAP transaction such as SE37 or SE38.
Function Group: HRPIQ00HS_STATUSINDIC
Program Name: SAPLHRPIQ00HS_STATUSINDIC
Main Program: SAPLHRPIQ00HS_STATUSINDIC
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function HRIQ_HS_STATUSIND_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_HS_STATUSIND_READ'"CM: Read All Status Indicators for Student Inc. Texts.
EXPORTING
IV_ST_OBJID = "Object ID of Student
* IV_WITH_STRU_AUTH = 'X' "General Indicator
* IV_CS_OBJID = "
* IV_PLVAR = "Plan Version
* IV_BEGDA = '01011900' "Valid-From Date
* IV_ENDDA = '31129999' "Valid-To Date
* IV_LANGU = SY-LANGU "Language Key
* IT_STATE = "Table Type for Status Indicators
* IV_HS_STATE = ' ' "
* IV_READTEXT = 'X' "Read texts
* IV_AUTHORITY = 'DISP' "
IMPORTING
ET_HOLD = "Holds
ET_HOLDT = "Table Type for Status Interface
ET_STATUST = "Status
ET_STATUS = "Table Type for Status Interface
EXCEPTIONS
NOTHING_FOUND = 1
IMPORTING Parameters details for HRIQ_HS_STATUSIND_READ
IV_ST_OBJID - Object ID of Student
Data type: PIQST_OBJIDOptional: No
Call by Reference: Yes
IV_WITH_STRU_AUTH - General Indicator
Data type: XFELDDefault: 'X'
Optional: Yes
Call by Reference: Yes
IV_CS_OBJID -
Data type: PIQCSOBJIDOptional: Yes
Call by Reference: Yes
IV_PLVAR - Plan Version
Data type: PLVAROptional: Yes
Call by Reference: Yes
IV_BEGDA - Valid-From Date
Data type: BEGDADefault: '01011900'
Optional: Yes
Call by Reference: Yes
IV_ENDDA - Valid-To Date
Data type: ENDDADefault: '31129999'
Optional: Yes
Call by Reference: Yes
IV_LANGU - Language Key
Data type: SPRASDefault: SY-LANGU
Optional: Yes
Call by Reference: Yes
IT_STATE - Table Type for Status Indicators
Data type: PIQHS_STATUS_TOptional: Yes
Call by Reference: Yes
IV_HS_STATE -
Data type: PIQHS_STATEDefault: ' '
Optional: Yes
Call by Reference: Yes
IV_READTEXT - Read texts
Data type: PIQFLAGDefault: 'X'
Optional: Yes
Call by Reference: Yes
IV_AUTHORITY -
Data type:Default: 'DISP'
Optional: Yes
Call by Reference: Yes
EXPORTING Parameters details for HRIQ_HS_STATUSIND_READ
ET_HOLD - Holds
Data type: PIQHS_STAT_TOptional: No
Call by Reference: Yes
ET_HOLDT - Table Type for Status Interface
Data type: PIQHS_STATIND_TOptional: No
Call by Reference: Yes
ET_STATUST - Status
Data type: PIQHS_STATIND_TOptional: No
Call by Reference: Yes
ET_STATUS - Table Type for Status Interface
Data type: PIQHS_STAT_TOptional: No
Call by Reference: Yes
EXCEPTIONS details
NOTHING_FOUND - No Status Indicators Exist
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for HRIQ_HS_STATUSIND_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_et_hold | TYPE PIQHS_STAT_T, " | |||
| lv_iv_st_objid | TYPE PIQST_OBJID, " | |||
| lv_nothing_found | TYPE PIQST_OBJID, " | |||
| lv_iv_with_stru_auth | TYPE XFELD, " 'X' | |||
| lv_iv_cs_objid | TYPE PIQCSOBJID, " | |||
| lv_et_holdt | TYPE PIQHS_STATIND_T, " | |||
| lv_iv_plvar | TYPE PLVAR, " | |||
| lv_iv_begda | TYPE BEGDA, " '01011900' | |||
| lv_et_statust | TYPE PIQHS_STATIND_T, " | |||
| lv_iv_endda | TYPE ENDDA, " '31129999' | |||
| lv_et_status | TYPE PIQHS_STAT_T, " | |||
| lv_iv_langu | TYPE SPRAS, " SY-LANGU | |||
| lv_it_state | TYPE PIQHS_STATUS_T, " | |||
| lv_iv_hs_state | TYPE PIQHS_STATE, " ' ' | |||
| lv_iv_readtext | TYPE PIQFLAG, " 'X' | |||
| lv_iv_authority | TYPE PIQFLAG. " 'DISP' |
|   CALL FUNCTION 'HRIQ_HS_STATUSIND_READ' "CM: Read All Status Indicators for Student Inc. Texts |
| EXPORTING | ||
| IV_ST_OBJID | = lv_iv_st_objid | |
| IV_WITH_STRU_AUTH | = lv_iv_with_stru_auth | |
| IV_CS_OBJID | = lv_iv_cs_objid | |
| IV_PLVAR | = lv_iv_plvar | |
| IV_BEGDA | = lv_iv_begda | |
| IV_ENDDA | = lv_iv_endda | |
| IV_LANGU | = lv_iv_langu | |
| IT_STATE | = lv_it_state | |
| IV_HS_STATE | = lv_iv_hs_state | |
| IV_READTEXT | = lv_iv_readtext | |
| IV_AUTHORITY | = lv_iv_authority | |
| IMPORTING | ||
| ET_HOLD | = lv_et_hold | |
| ET_HOLDT | = lv_et_holdt | |
| ET_STATUST | = lv_et_statust | |
| ET_STATUS | = lv_et_status | |
| EXCEPTIONS | ||
| NOTHING_FOUND = 1 | ||
| . " HRIQ_HS_STATUSIND_READ | ||
ABAP code using 7.40 inline data declarations to call FM HRIQ_HS_STATUSIND_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_with_stru_auth) | = 'X'. | |||
| DATA(ld_iv_begda) | = '01011900'. | |||
| DATA(ld_iv_endda) | = '31129999'. | |||
| DATA(ld_iv_langu) | = SY-LANGU. | |||
| DATA(ld_iv_hs_state) | = ' '. | |||
| DATA(ld_iv_readtext) | = 'X'. | |||
| DATA(ld_iv_authority) | = 'DISP'. | |||
Search for further information about these or an SAP related objects