SAP HRIQ_RULE_GET_RC Function Module for









HRIQ_RULE_GET_RC is a standard hriq rule get rc 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 rule get rc FM, simply by entering the name HRIQ_RULE_GET_RC into the relevant SAP transaction such as SE37 or SE38.

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



Function HRIQ_RULE_GET_RC 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_RULE_GET_RC'"
EXPORTING
* I_PLVAR = "
* I_SUPPRESS_DIALOG = PIQC_TRUE "
* I_DATE = SY-DATUM "
* I_LANGU = SY-LANGU "
* IT_RM = "
* I_ALL_RM_RELATED_TO_RC = "
* IT_AC_HROBJECT = "
* IT_CP = "
* I_CUSTOMIZING = PIQC_FALSE "
* IT_LEVEL = "

IMPORTING
ET_RC_OBJID = "
ET_RC_HRT1749 = "
ET_RC_RM_SORT = "
ET_RM_RC_SORT = "
ET_AC_RC_P1001 = "
ET_AC_AC_P1001 = "
ET_RC_AC_P1001 = "
ET_RULEMODTP = "
ET_RC_HROBJECT = "
ET_RC_OBJEC = "
ET_RC_P1000 = "
ET_RC_P1002 = "
ET_RC_HRT1002 = "
ET_RC_P1747 = "
ET_RC_HRT1747 = "
ET_RC_P1749 = "

EXCEPTIONS
WRONG_CALL = 1
.



IMPORTING Parameters details for HRIQ_RULE_GET_RC

I_PLVAR -

Data type: PLVAR
Optional: Yes
Call by Reference: Yes

I_SUPPRESS_DIALOG -

Data type: FLAG
Default: PIQC_TRUE
Optional: Yes
Call by Reference: Yes

I_DATE -

Data type: SY-DATUM
Default: SY-DATUM
Optional: Yes
Call by Reference: Yes

I_LANGU -

Data type: SY-LANGU
Default: SY-LANGU
Optional: Yes
Call by Reference: Yes

IT_RM -

Data type: PIQRR_T_RM
Optional: Yes
Call by Reference: Yes

I_ALL_RM_RELATED_TO_RC -

Data type: FLAG
Optional: Yes
Call by Reference: Yes

IT_AC_HROBJECT -

Data type: PIQ_HROBJECT_T
Optional: Yes
Call by Reference: Yes

IT_CP -

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

I_CUSTOMIZING -

Data type: FLAG
Default: PIQC_FALSE
Optional: Yes
Call by Reference: Yes

IT_LEVEL -

Data type: PIQLEVEL_T
Optional: Yes
Call by Reference: Yes

EXPORTING Parameters details for HRIQ_RULE_GET_RC

ET_RC_OBJID -

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

ET_RC_HRT1749 -

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

ET_RC_RM_SORT -

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

ET_RM_RC_SORT -

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

ET_AC_RC_P1001 -

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

ET_AC_AC_P1001 -

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

ET_RC_AC_P1001 -

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

ET_RULEMODTP -

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

ET_RC_HROBJECT -

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

ET_RC_OBJEC -

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

ET_RC_P1000 -

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

ET_RC_P1002 -

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

ET_RC_HRT1002 -

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

ET_RC_P1747 -

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

ET_RC_HRT1747 -

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

ET_RC_P1749 -

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

EXCEPTIONS details

WRONG_CALL -

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for HRIQ_RULE_GET_RC 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_i_plvar  TYPE PLVAR, "   
lv_wrong_call  TYPE PLVAR, "   
lv_et_rc_objid  TYPE PIQ_HROBJID_T, "   
lv_et_rc_hrt1749  TYPE PIQ_HRT1749_T, "   
lv_i_suppress_dialog  TYPE FLAG, "   PIQC_TRUE
lv_et_rc_rm_sort  TYPE PIQ_HROBJID_T_SORT, "   
lv_et_rm_rc_sort  TYPE PIQRR_T_RM_RC, "   
lv_et_ac_rc_p1001  TYPE PIQ_P1001_T, "   
lv_et_ac_ac_p1001  TYPE PIQ_P1001_T, "   
lv_et_rc_ac_p1001  TYPE PIQ_P1001_T, "   
lv_et_rulemodtp  TYPE T7PIQRULEMODTP_T, "   
lv_i_date  TYPE SY-DATUM, "   SY-DATUM
lv_et_rc_hrobject  TYPE HROBJECT_T, "   
lv_i_langu  TYPE SY-LANGU, "   SY-LANGU
lv_et_rc_objec  TYPE OBJEC_T, "   
lv_it_rm  TYPE PIQRR_T_RM, "   
lv_et_rc_p1000  TYPE HRIQ_P1000_T, "   
lv_et_rc_p1002  TYPE HRIQ_P1002_T, "   
lv_i_all_rm_related_to_rc  TYPE FLAG, "   
lv_et_rc_hrt1002  TYPE HRIQ_HRT1002_T, "   
lv_it_ac_hrobject  TYPE PIQ_HROBJECT_T, "   
lv_it_cp  TYPE PIQTIMEPOINT_T, "   
lv_et_rc_p1747  TYPE HRIQ_P1747_T, "   
lv_et_rc_hrt1747  TYPE HRIQ_HRT1747_T, "   
lv_i_customizing  TYPE FLAG, "   PIQC_FALSE
lv_it_level  TYPE PIQLEVEL_T, "   
lv_et_rc_p1749  TYPE PIQ_P1749_T. "   

  CALL FUNCTION 'HRIQ_RULE_GET_RC'  "
    EXPORTING
         I_PLVAR = lv_i_plvar
         I_SUPPRESS_DIALOG = lv_i_suppress_dialog
         I_DATE = lv_i_date
         I_LANGU = lv_i_langu
         IT_RM = lv_it_rm
         I_ALL_RM_RELATED_TO_RC = lv_i_all_rm_related_to_rc
         IT_AC_HROBJECT = lv_it_ac_hrobject
         IT_CP = lv_it_cp
         I_CUSTOMIZING = lv_i_customizing
         IT_LEVEL = lv_it_level
    IMPORTING
         ET_RC_OBJID = lv_et_rc_objid
         ET_RC_HRT1749 = lv_et_rc_hrt1749
         ET_RC_RM_SORT = lv_et_rc_rm_sort
         ET_RM_RC_SORT = lv_et_rm_rc_sort
         ET_AC_RC_P1001 = lv_et_ac_rc_p1001
         ET_AC_AC_P1001 = lv_et_ac_ac_p1001
         ET_RC_AC_P1001 = lv_et_rc_ac_p1001
         ET_RULEMODTP = lv_et_rulemodtp
         ET_RC_HROBJECT = lv_et_rc_hrobject
         ET_RC_OBJEC = lv_et_rc_objec
         ET_RC_P1000 = lv_et_rc_p1000
         ET_RC_P1002 = lv_et_rc_p1002
         ET_RC_HRT1002 = lv_et_rc_hrt1002
         ET_RC_P1747 = lv_et_rc_p1747
         ET_RC_HRT1747 = lv_et_rc_hrt1747
         ET_RC_P1749 = lv_et_rc_p1749
    EXCEPTIONS
        WRONG_CALL = 1
. " HRIQ_RULE_GET_RC




ABAP code using 7.40 inline data declarations to call FM HRIQ_RULE_GET_RC

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_i_suppress_dialog) = PIQC_TRUE.
 
 
 
 
 
 
 
"SELECT single DATUM FROM SY INTO @DATA(ld_i_date).
DATA(ld_i_date) = SY-DATUM.
 
 
"SELECT single LANGU FROM SY INTO @DATA(ld_i_langu).
DATA(ld_i_langu) = SY-LANGU.
 
 
 
 
 
 
 
 
 
 
 
DATA(ld_i_customizing) = PIQC_FALSE.
 
 
 


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!