SAP HRIQ_OBJID_REQUEST Function Module for









HRIQ_OBJID_REQUEST is a standard hriq objid request SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, 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 objid request FM, simply by entering the name HRIQ_OBJID_REQUEST into the relevant SAP transaction such as SE37 or SE38.

Function Group: HRPIQ00HRBASE
Program Name: SAPLHRPIQ00HRBASE
Main Program: SAPLHRPIQ00HRBASE
Appliation area: H
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function HRIQ_OBJID_REQUEST 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_OBJID_REQUEST'"
EXPORTING
* PLVAR = "
* DYNPRO_DYNNR = ' ' "
* DYNPRO_PLVARFIELD = ' ' "
* DYNPRO_OTYPEFIELD = ' ' "
* DYNPRO_SEARKFIELD = ' ' "
* WIN_TITLE = ' ' "
* CALLBACK_PROG = ' ' "
* CALLBACK_FORM = ' ' "
* RESTRICT_FB = ' ' "
* RESTRICT_DATA = ' ' "
* SET_MODE = ' ' "
* OTYPE = ' ' "
* ORGBEG = SY-DATUM "
* ORGEND = SY-DATUM "
* APP_DATA = "
* SEARK = '*' "
* SEARK_BEGDA = '19000101' "
* SEARK_ENDDA = '99991231' "
* WITHOUT_RSIGN = "
* WITHOUT_RELAT = "
* WITHOUT_SCLAS = "
* DYNPRO_REPID = ' ' "

IMPORTING
SEL_PLVAR = "
SEL_OTYPE = "
SEL_OBJECT = "

TABLES
* OTYPE_TABLE = "
* CONDITION = "
* BASE_OBJECTS = "
* SEL_OBJECTS = "
* MARKED_OBJECTS = "
* SEL_HROBJECT_TAB = "
* SEL_HRSOBID_TAB = "

EXCEPTIONS
CANCELLED = 1 WRONG_CONDITION = 2 NOTHING_FOUND = 3 ILLEGAL_MODE = 4 INTERNAL_ERROR = 5
.



IMPORTING Parameters details for HRIQ_OBJID_REQUEST

PLVAR -

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

DYNPRO_DYNNR -

Data type: SY-DYNNR
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

DYNPRO_PLVARFIELD -

Data type: DYNPREAD-FIELDNAME
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

DYNPRO_OTYPEFIELD -

Data type: DYNPREAD-FIELDNAME
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

DYNPRO_SEARKFIELD -

Data type: DYNPREAD-FIELDNAME
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

WIN_TITLE -

Data type: SY-TITLE
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

CALLBACK_PROG -

Data type: SY-REPID
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

CALLBACK_FORM -

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

RESTRICT_FB -

Data type: TFTIT-FUNCNAME
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

RESTRICT_DATA -

Data type: RHMC1-MC_DATA
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

SET_MODE -

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

OTYPE -

Data type: PLOGI-OTYPE
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

ORGBEG -

Data type: WPLOG-BEGDA
Default: SY-DATUM
Optional: Yes
Call by Reference: No ( called with pass by value option)

ORGEND -

Data type: WPLOG-ENDDA
Default: SY-DATUM
Optional: Yes
Call by Reference: No ( called with pass by value option)

APP_DATA -

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

SEARK -

Data type: PPMAC-SEARK
Default: '*'
Optional: Yes
Call by Reference: No ( called with pass by value option)

SEARK_BEGDA -

Data type: WPLOG-BEGDA
Default: '19000101'
Optional: Yes
Call by Reference: No ( called with pass by value option)

SEARK_ENDDA -

Data type: WPLOG-ENDDA
Default: '99991231'
Optional: Yes
Call by Reference: No ( called with pass by value option)

WITHOUT_RSIGN -

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

WITHOUT_RELAT -

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

WITHOUT_SCLAS -

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

DYNPRO_REPID -

Data type: SY-REPID
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

EXPORTING Parameters details for HRIQ_OBJID_REQUEST

SEL_PLVAR -

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

SEL_OTYPE -

Data type: PLOGI-OTYPE
Optional: No
Call by Reference: No ( called with pass by value option)

SEL_OBJECT -

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

TABLES Parameters details for HRIQ_OBJID_REQUEST

OTYPE_TABLE -

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

CONDITION -

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

BASE_OBJECTS -

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

SEL_OBJECTS -

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

MARKED_OBJECTS -

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

SEL_HROBJECT_TAB -

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

SEL_HRSOBID_TAB -

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

EXCEPTIONS details

CANCELLED -

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

WRONG_CONDITION -

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

NOTHING_FOUND -

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

ILLEGAL_MODE -

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

INTERNAL_ERROR -

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

Copy and paste ABAP code example for HRIQ_OBJID_REQUEST 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_plvar  TYPE PLOGI-PLVAR, "   
lv_cancelled  TYPE PLOGI, "   
lv_sel_plvar  TYPE PLOGI-PLVAR, "   
lt_otype_table  TYPE STANDARD TABLE OF T788O, "   
lv_dynpro_dynnr  TYPE SY-DYNNR, "   SPACE
lv_dynpro_plvarfield  TYPE DYNPREAD-FIELDNAME, "   SPACE
lv_dynpro_otypefield  TYPE DYNPREAD-FIELDNAME, "   SPACE
lv_dynpro_searkfield  TYPE DYNPREAD-FIELDNAME, "   SPACE
lv_win_title  TYPE SY-TITLE, "   SPACE
lv_callback_prog  TYPE SY-REPID, "   SPACE
lv_callback_form  TYPE SY, "   SPACE
lv_restrict_fb  TYPE TFTIT-FUNCNAME, "   SPACE
lv_restrict_data  TYPE RHMC1-MC_DATA, "   SPACE
lv_set_mode  TYPE C, "   SPACE
lv_otype  TYPE PLOGI-OTYPE, "   SPACE
lt_condition  TYPE STANDARD TABLE OF HRCOND, "   
lv_sel_otype  TYPE PLOGI-OTYPE, "   
lv_wrong_condition  TYPE PLOGI, "   
lv_orgbeg  TYPE WPLOG-BEGDA, "   SY-DATUM
lv_orgend  TYPE WPLOG-ENDDA, "   SY-DATUM
lv_app_data  TYPE HRF4PARAM-APP_DATA, "   
lv_seark  TYPE PPMAC-SEARK, "   '*'
lv_sel_object  TYPE OBJEC, "   
lt_base_objects  TYPE STANDARD TABLE OF RHMC2, "   
lv_nothing_found  TYPE RHMC2, "   
lv_seark_begda  TYPE WPLOG-BEGDA, "   '19000101'
lt_sel_objects  TYPE STANDARD TABLE OF OBJEC, "   
lv_illegal_mode  TYPE OBJEC, "   
lv_seark_endda  TYPE WPLOG-ENDDA, "   '99991231'
lv_internal_error  TYPE WPLOG, "   
lt_marked_objects  TYPE STANDARD TABLE OF HRSOBID, "   
lv_without_rsign  TYPE P1001-RSIGN, "   
lt_sel_hrobject_tab  TYPE STANDARD TABLE OF HROBJECT, "   
lv_without_relat  TYPE P1001-RELAT, "   
lt_sel_hrsobid_tab  TYPE STANDARD TABLE OF HRSOBID, "   
lv_without_sclas  TYPE P1001-SCLAS, "   
lv_dynpro_repid  TYPE SY-REPID. "   SPACE

  CALL FUNCTION 'HRIQ_OBJID_REQUEST'  "
    EXPORTING
         PLVAR = lv_plvar
         DYNPRO_DYNNR = lv_dynpro_dynnr
         DYNPRO_PLVARFIELD = lv_dynpro_plvarfield
         DYNPRO_OTYPEFIELD = lv_dynpro_otypefield
         DYNPRO_SEARKFIELD = lv_dynpro_searkfield
         WIN_TITLE = lv_win_title
         CALLBACK_PROG = lv_callback_prog
         CALLBACK_FORM = lv_callback_form
         RESTRICT_FB = lv_restrict_fb
         RESTRICT_DATA = lv_restrict_data
         SET_MODE = lv_set_mode
         OTYPE = lv_otype
         ORGBEG = lv_orgbeg
         ORGEND = lv_orgend
         APP_DATA = lv_app_data
         SEARK = lv_seark
         SEARK_BEGDA = lv_seark_begda
         SEARK_ENDDA = lv_seark_endda
         WITHOUT_RSIGN = lv_without_rsign
         WITHOUT_RELAT = lv_without_relat
         WITHOUT_SCLAS = lv_without_sclas
         DYNPRO_REPID = lv_dynpro_repid
    IMPORTING
         SEL_PLVAR = lv_sel_plvar
         SEL_OTYPE = lv_sel_otype
         SEL_OBJECT = lv_sel_object
    TABLES
         OTYPE_TABLE = lt_otype_table
         CONDITION = lt_condition
         BASE_OBJECTS = lt_base_objects
         SEL_OBJECTS = lt_sel_objects
         MARKED_OBJECTS = lt_marked_objects
         SEL_HROBJECT_TAB = lt_sel_hrobject_tab
         SEL_HRSOBID_TAB = lt_sel_hrsobid_tab
    EXCEPTIONS
        CANCELLED = 1
        WRONG_CONDITION = 2
        NOTHING_FOUND = 3
        ILLEGAL_MODE = 4
        INTERNAL_ERROR = 5
. " HRIQ_OBJID_REQUEST




ABAP code using 7.40 inline data declarations to call FM HRIQ_OBJID_REQUEST

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 PLVAR FROM PLOGI INTO @DATA(ld_plvar).
 
 
"SELECT single PLVAR FROM PLOGI INTO @DATA(ld_sel_plvar).
 
 
"SELECT single DYNNR FROM SY INTO @DATA(ld_dynpro_dynnr).
DATA(ld_dynpro_dynnr) = ' '.
 
"SELECT single FIELDNAME FROM DYNPREAD INTO @DATA(ld_dynpro_plvarfield).
DATA(ld_dynpro_plvarfield) = ' '.
 
"SELECT single FIELDNAME FROM DYNPREAD INTO @DATA(ld_dynpro_otypefield).
DATA(ld_dynpro_otypefield) = ' '.
 
"SELECT single FIELDNAME FROM DYNPREAD INTO @DATA(ld_dynpro_searkfield).
DATA(ld_dynpro_searkfield) = ' '.
 
"SELECT single TITLE FROM SY INTO @DATA(ld_win_title).
DATA(ld_win_title) = ' '.
 
"SELECT single REPID FROM SY INTO @DATA(ld_callback_prog).
DATA(ld_callback_prog) = ' '.
 
DATA(ld_callback_form) = ' '.
 
"SELECT single FUNCNAME FROM TFTIT INTO @DATA(ld_restrict_fb).
DATA(ld_restrict_fb) = ' '.
 
"SELECT single MC_DATA FROM RHMC1 INTO @DATA(ld_restrict_data).
DATA(ld_restrict_data) = ' '.
 
DATA(ld_set_mode) = ' '.
 
"SELECT single OTYPE FROM PLOGI INTO @DATA(ld_otype).
DATA(ld_otype) = ' '.
 
 
"SELECT single OTYPE FROM PLOGI INTO @DATA(ld_sel_otype).
 
 
"SELECT single BEGDA FROM WPLOG INTO @DATA(ld_orgbeg).
DATA(ld_orgbeg) = SY-DATUM.
 
"SELECT single ENDDA FROM WPLOG INTO @DATA(ld_orgend).
DATA(ld_orgend) = SY-DATUM.
 
"SELECT single APP_DATA FROM HRF4PARAM INTO @DATA(ld_app_data).
 
"SELECT single SEARK FROM PPMAC INTO @DATA(ld_seark).
DATA(ld_seark) = '*'.
 
 
 
 
"SELECT single BEGDA FROM WPLOG INTO @DATA(ld_seark_begda).
DATA(ld_seark_begda) = '19000101'.
 
 
 
"SELECT single ENDDA FROM WPLOG INTO @DATA(ld_seark_endda).
DATA(ld_seark_endda) = '99991231'.
 
 
 
"SELECT single RSIGN FROM P1001 INTO @DATA(ld_without_rsign).
 
 
"SELECT single RELAT FROM P1001 INTO @DATA(ld_without_relat).
 
 
"SELECT single SCLAS FROM P1001 INTO @DATA(ld_without_sclas).
 
"SELECT single REPID FROM SY INTO @DATA(ld_dynpro_repid).
DATA(ld_dynpro_repid) = ' '.
 


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!