SAP HRIQ_READ_OFFERPAT_FOR_OBJECTS Function Module for Read Sessional Pattern (Infotype 1751) for Object Set
HRIQ_READ_OFFERPAT_FOR_OBJECTS is a standard hriq read offerpat for objects 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 Sessional Pattern (Infotype 1751) for Object Set 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 offerpat for objects FM, simply by entering the name HRIQ_READ_OFFERPAT_FOR_OBJECTS into the relevant SAP transaction such as SE37 or SE38.
Function Group: HRPIQ00READMODULOFFER
Program Name: SAPLHRPIQ00READMODULOFFER
Main Program: SAPLHRPIQ00READMODULOFFER
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function HRIQ_READ_OFFERPAT_FOR_OBJECTS 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_OFFERPAT_FOR_OBJECTS'"Read Sessional Pattern (Infotype 1751) for Object Set.
EXPORTING
* BEGDA = '19000101' "Start Date
* ENDDA = '99991231' "End Date
* ISTAT = ' ' "Planning Status
* STRU_AUTH = ' ' "Structural Authorization On/Off
OBJECTS = "Table Type PLVAR, OTYPE; OBJID
IMPORTING
P1751 = "Web Links
EXCEPTIONS
NOTHING_FOUND = 1 INTERNAL_ERROR = 2
IMPORTING Parameters details for HRIQ_READ_OFFERPAT_FOR_OBJECTS
BEGDA - Start Date
Data type: PLOG-BEGDADefault: '19000101'
Optional: Yes
Call by Reference: Yes
ENDDA - End Date
Data type: PLOG-ENDDADefault: '99991231'
Optional: Yes
Call by Reference: Yes
ISTAT - Planning Status
Data type: PLOG-ISTATDefault: ' '
Optional: Yes
Call by Reference: Yes
STRU_AUTH - Structural Authorization On/Off
Data type: XFELDDefault: SPACE
Optional: Yes
Call by Reference: Yes
OBJECTS - Table Type PLVAR, OTYPE; OBJID
Data type: HROBJECT_TOptional: No
Call by Reference: Yes
EXPORTING Parameters details for HRIQ_READ_OFFERPAT_FOR_OBJECTS
P1751 - Web Links
Data type: PIQ_P1751_TOptional: No
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
NOTHING_FOUND - No Data Found
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
INTERNAL_ERROR - Internal error occurred
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for HRIQ_READ_OFFERPAT_FOR_OBJECTS 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_begda | TYPE PLOG-BEGDA, " '19000101' | |||
| lv_p1751 | TYPE PIQ_P1751_T, " | |||
| lv_nothing_found | TYPE PIQ_P1751_T, " | |||
| lv_endda | TYPE PLOG-ENDDA, " '99991231' | |||
| lv_internal_error | TYPE PLOG, " | |||
| lv_istat | TYPE PLOG-ISTAT, " ' ' | |||
| lv_stru_auth | TYPE XFELD, " SPACE | |||
| lv_objects | TYPE HROBJECT_T. " |
|   CALL FUNCTION 'HRIQ_READ_OFFERPAT_FOR_OBJECTS' "Read Sessional Pattern (Infotype 1751) for Object Set |
| EXPORTING | ||
| BEGDA | = lv_begda | |
| ENDDA | = lv_endda | |
| ISTAT | = lv_istat | |
| STRU_AUTH | = lv_stru_auth | |
| OBJECTS | = lv_objects | |
| IMPORTING | ||
| P1751 | = lv_p1751 | |
| EXCEPTIONS | ||
| NOTHING_FOUND = 1 | ||
| INTERNAL_ERROR = 2 | ||
| . " HRIQ_READ_OFFERPAT_FOR_OBJECTS | ||
ABAP code using 7.40 inline data declarations to call FM HRIQ_READ_OFFERPAT_FOR_OBJECTS
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 BEGDA FROM PLOG INTO @DATA(ld_begda). | ||||
| DATA(ld_begda) | = '19000101'. | |||
| "SELECT single ENDDA FROM PLOG INTO @DATA(ld_endda). | ||||
| DATA(ld_endda) | = '99991231'. | |||
| "SELECT single ISTAT FROM PLOG INTO @DATA(ld_istat). | ||||
| DATA(ld_istat) | = ' '. | |||
| DATA(ld_stru_auth) | = ' '. | |||
Search for further information about these or an SAP related objects