SAP HRIQ_SELMETHODS_OBJECTS_GET Function Module for









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

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



Function HRIQ_SELMETHODS_OBJECTS_GET 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_SELMETHODS_OBJECTS_GET'"
EXPORTING
IV_SELSCEN = "
* IV_ACAD_SESSION = "
IV_SELMETH = "
IV_SELVARI = "
* IV_BASE_AUTHORITY_CHECK = 'X' "
* IV_STRU_AUTHORITY_CHECK = 'X' "
* IV_FCODE = 'DISP' "
* IV_BEGDA = SY-DATUM "
* IV_ENDDA = SY-DATUM "
* IV_ACAD_YEAR = "

IMPORTING
ET_OBJECT_TAB = "
EV_STRU_AUTH_FAILED_COUNT = "

EXCEPTIONS
SELSCEN_NOT_FOUND = 1 NO_STRU_AUTHORITY = 10 NO_BASE_AUTHORITY = 11 INTERNAL_ERROR = 2 SELMETH_NOT_FOUND = 3 SELMETH_NOT_ACTIVE = 4 SELMETHSCEN_NOT_FOUND = 5 OTYPE_NOT_SUPPORTED = 6 INVALID_OTYPE = 7 SELVARI_NOT_FOUND = 8 OBJECTS_NOT_FOUND = 9
.



IMPORTING Parameters details for HRIQ_SELMETHODS_OBJECTS_GET

IV_SELSCEN -

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

IV_ACAD_SESSION -

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

IV_SELMETH -

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

IV_SELVARI -

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

IV_BASE_AUTHORITY_CHECK -

Data type: PIQFLAG
Default: 'X'
Optional: Yes
Call by Reference: Yes

IV_STRU_AUTHORITY_CHECK -

Data type: PIQFLAG
Default: 'X'
Optional: Yes
Call by Reference: Yes

IV_FCODE -

Data type: T77FC-FCODE
Default: 'DISP'
Optional: Yes
Call by Reference: Yes

IV_BEGDA -

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

IV_ENDDA -

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

IV_ACAD_YEAR -

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

EXPORTING Parameters details for HRIQ_SELMETHODS_OBJECTS_GET

ET_OBJECT_TAB -

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

EV_STRU_AUTH_FAILED_COUNT -

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

EXCEPTIONS details

SELSCEN_NOT_FOUND -

Data type:
Optional: No
Call by Reference: Yes

NO_STRU_AUTHORITY -

Data type:
Optional: No
Call by Reference: Yes

NO_BASE_AUTHORITY -

Data type:
Optional: No
Call by Reference: Yes

INTERNAL_ERROR -

Data type:
Optional: No
Call by Reference: Yes

SELMETH_NOT_FOUND -

Data type:
Optional: No
Call by Reference: Yes

SELMETH_NOT_ACTIVE -

Data type:
Optional: No
Call by Reference: Yes

SELMETHSCEN_NOT_FOUND -

Data type:
Optional: No
Call by Reference: Yes

OTYPE_NOT_SUPPORTED -

Data type:
Optional: No
Call by Reference: Yes

INVALID_OTYPE -

Data type:
Optional: No
Call by Reference: Yes

SELVARI_NOT_FOUND -

Data type:
Optional: No
Call by Reference: Yes

OBJECTS_NOT_FOUND -

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for HRIQ_SELMETHODS_OBJECTS_GET 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_selscen  TYPE PIQSELSCENARIO, "   
lv_et_object_tab  TYPE PIQHROBJECT_TAB, "   
lv_selscen_not_found  TYPE PIQHROBJECT_TAB, "   
lv_iv_acad_session  TYPE PIQPERID, "   
lv_no_stru_authority  TYPE PIQPERID, "   
lv_no_base_authority  TYPE PIQPERID, "   
lv_iv_selmeth  TYPE PIQSELMETH, "   
lv_internal_error  TYPE PIQSELMETH, "   
lv_ev_stru_auth_failed_count  TYPE I, "   
lv_iv_selvari  TYPE PIQSELVARI, "   
lv_selmeth_not_found  TYPE PIQSELVARI, "   
lv_selmeth_not_active  TYPE PIQSELVARI, "   
lv_iv_base_authority_check  TYPE PIQFLAG, "   'X'
lv_selmethscen_not_found  TYPE PIQFLAG, "   
lv_iv_stru_authority_check  TYPE PIQFLAG, "   'X'
lv_iv_fcode  TYPE T77FC-FCODE, "   'DISP'
lv_otype_not_supported  TYPE T77FC, "   
lv_iv_begda  TYPE BEGDA, "   SY-DATUM
lv_invalid_otype  TYPE BEGDA, "   
lv_iv_endda  TYPE ENDDA, "   SY-DATUM
lv_selvari_not_found  TYPE ENDDA, "   
lv_iv_acad_year  TYPE PIQPERYR, "   
lv_objects_not_found  TYPE PIQPERYR. "   

  CALL FUNCTION 'HRIQ_SELMETHODS_OBJECTS_GET'  "
    EXPORTING
         IV_SELSCEN = lv_iv_selscen
         IV_ACAD_SESSION = lv_iv_acad_session
         IV_SELMETH = lv_iv_selmeth
         IV_SELVARI = lv_iv_selvari
         IV_BASE_AUTHORITY_CHECK = lv_iv_base_authority_check
         IV_STRU_AUTHORITY_CHECK = lv_iv_stru_authority_check
         IV_FCODE = lv_iv_fcode
         IV_BEGDA = lv_iv_begda
         IV_ENDDA = lv_iv_endda
         IV_ACAD_YEAR = lv_iv_acad_year
    IMPORTING
         ET_OBJECT_TAB = lv_et_object_tab
         EV_STRU_AUTH_FAILED_COUNT = lv_ev_stru_auth_failed_count
    EXCEPTIONS
        SELSCEN_NOT_FOUND = 1
        NO_STRU_AUTHORITY = 10
        NO_BASE_AUTHORITY = 11
        INTERNAL_ERROR = 2
        SELMETH_NOT_FOUND = 3
        SELMETH_NOT_ACTIVE = 4
        SELMETHSCEN_NOT_FOUND = 5
        OTYPE_NOT_SUPPORTED = 6
        INVALID_OTYPE = 7
        SELVARI_NOT_FOUND = 8
        OBJECTS_NOT_FOUND = 9
. " HRIQ_SELMETHODS_OBJECTS_GET




ABAP code using 7.40 inline data declarations to call FM HRIQ_SELMETHODS_OBJECTS_GET

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_base_authority_check) = 'X'.
 
 
DATA(ld_iv_stru_authority_check) = 'X'.
 
"SELECT single FCODE FROM T77FC INTO @DATA(ld_iv_fcode).
DATA(ld_iv_fcode) = 'DISP'.
 
 
DATA(ld_iv_begda) = SY-DATUM.
 
 
DATA(ld_iv_endda) = SY-DATUM.
 
 
 
 


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!