SAP RSEC_GET_AUTHREL_INFOOBJECTS Function Module for Returns All Auth.-Relevant InfoObjects, for InfoProvider If Required









RSEC_GET_AUTHREL_INFOOBJECTS is a standard rsec get authrel infoobjects SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Returns All Auth.-Relevant InfoObjects, for InfoProvider If Required 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 rsec get authrel infoobjects FM, simply by entering the name RSEC_GET_AUTHREL_INFOOBJECTS into the relevant SAP transaction such as SE37 or SE38.

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



Function RSEC_GET_AUTHREL_INFOOBJECTS 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 'RSEC_GET_AUTHREL_INFOOBJECTS'"Returns All Auth.-Relevant InfoObjects, for InfoProvider If Required
EXPORTING
* I_INFOPROV = "InfoProvider
* I_IOBJNM = "InfoObject
* I_CONVERT_ISET_NAMES = RS_C_TRUE "Conversion of InfoSet Names to Real InfoObject Names

IMPORTING
E_T_IOBJ = "Table with Authorization-Relevant InfoObjects and All Properties

EXCEPTIONS
COULD_NOT_GET_INFOOBJECTS = 1
.



IMPORTING Parameters details for RSEC_GET_AUTHREL_INFOOBJECTS

I_INFOPROV - InfoProvider

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

I_IOBJNM - InfoObject

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

I_CONVERT_ISET_NAMES - Conversion of InfoSet Names to Real InfoObject Names

Data type: RS_BOOL
Default: RS_C_TRUE
Optional: Yes
Call by Reference: Yes

EXPORTING Parameters details for RSEC_GET_AUTHREL_INFOOBJECTS

E_T_IOBJ - Table with Authorization-Relevant InfoObjects and All Properties

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

EXCEPTIONS details

COULD_NOT_GET_INFOOBJECTS - Error while determining the InfoObjects

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for RSEC_GET_AUTHREL_INFOOBJECTS 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_e_t_iobj  TYPE RSD_T_VIOBJ, "   
lv_i_infoprov  TYPE RSD_INFOCUBE, "   
lv_could_not_get_infoobjects  TYPE RSD_INFOCUBE, "   
lv_i_iobjnm  TYPE RSD_IOBJNM, "   
lv_i_convert_iset_names  TYPE RS_BOOL. "   RS_C_TRUE

  CALL FUNCTION 'RSEC_GET_AUTHREL_INFOOBJECTS'  "Returns All Auth.-Relevant InfoObjects, for InfoProvider If Required
    EXPORTING
         I_INFOPROV = lv_i_infoprov
         I_IOBJNM = lv_i_iobjnm
         I_CONVERT_ISET_NAMES = lv_i_convert_iset_names
    IMPORTING
         E_T_IOBJ = lv_e_t_iobj
    EXCEPTIONS
        COULD_NOT_GET_INFOOBJECTS = 1
. " RSEC_GET_AUTHREL_INFOOBJECTS




ABAP code using 7.40 inline data declarations to call FM RSEC_GET_AUTHREL_INFOOBJECTS

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_convert_iset_names) = RS_C_TRUE.
 


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!