SAP RSSB_GET_AUTHS_FILTERED Function Module for BI Reporting Authorizations: Authorized Values Filtered









RSSB_GET_AUTHS_FILTERED is a standard rssb get auths filtered SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for BI Reporting Authorizations: Authorized Values Filtered 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 rssb get auths filtered FM, simply by entering the name RSSB_GET_AUTHS_FILTERED into the relevant SAP transaction such as SE37 or SE38.

Function Group: RSSBU
Program Name: SAPLRSSBU
Main Program: SAPLRSSBU
Appliation area:
Release date: 26-Sep-2002
Mode(Normal, Remote etc): Normal Function Module
Update:



Function RSSB_GET_AUTHS_FILTERED 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 'RSSB_GET_AUTHS_FILTERED'"BI Reporting Authorizations: Authorized Values Filtered
EXPORTING
I_IOBJNM = "InfoObject
* I_T_RANGE_FILTER = "Search Authorization with This Filter
* I_CLEAR = RS_C_FALSE "Deleting Saved Filters
* I_UNAME = SY-UNAME "ABAP System, User Logon Name
* I_INFOPROV = "InfoProvider

IMPORTING
E_T_RANGE = "Authorized Values
E_TSX_AUTH_VALUES_USER_IOBJ = "User's Authorized Master Data Value for InfoObject
E_T_MSG = "BW: Table with Messages (Application Log)

EXCEPTIONS
NOT_AUTHORIZED = 1 INTERNAL_ERROR = 2 USER_DOESNT_EXIST = 3 X_MESSAGE = 4
.



IMPORTING Parameters details for RSSB_GET_AUTHS_FILTERED

I_IOBJNM - InfoObject

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

I_T_RANGE_FILTER - Search Authorization with This Filter

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

I_CLEAR - Deleting Saved Filters

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

I_UNAME - ABAP System, User Logon Name

Data type: SYUNAME
Default: SY-UNAME
Optional: Yes
Call by Reference: Yes

I_INFOPROV - InfoProvider

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

EXPORTING Parameters details for RSSB_GET_AUTHS_FILTERED

E_T_RANGE - Authorized Values

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

E_TSX_AUTH_VALUES_USER_IOBJ - User's Authorized Master Data Value for InfoObject

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

E_T_MSG - BW: Table with Messages (Application Log)

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

EXCEPTIONS details

NOT_AUTHORIZED - No Authorizations Exist for User

Data type:
Optional: No
Call by Reference: Yes

INTERNAL_ERROR - Internal Error

Data type:
Optional: No
Call by Reference: Yes

USER_DOESNT_EXIST - User Does Not Exist in System

Data type:
Optional: No
Call by Reference: Yes

X_MESSAGE - Cancellation- Message in Message Handler

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for RSSB_GET_AUTHS_FILTERED 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_iobjnm  TYPE RSIOBJNM, "   
lv_e_t_range  TYPE RSR_T_RANGESID, "   
lv_not_authorized  TYPE RSR_T_RANGESID, "   
lv_internal_error  TYPE RSR_T_RANGESID, "   
lv_i_t_range_filter  TYPE RSR_T_RANGESID, "   
lv_e_tsx_auth_values_user_iobj  TYPE RSSB_TSX_AUTH_VALUES_USER_IOBJ, "   
lv_e_t_msg  TYPE RS_T_MSG, "   
lv_i_clear  TYPE RS_BOOL, "   RS_C_FALSE
lv_user_doesnt_exist  TYPE RS_BOOL, "   
lv_i_uname  TYPE SYUNAME, "   SY-UNAME
lv_x_message  TYPE SYUNAME, "   
lv_i_infoprov  TYPE RSINFOPROV. "   

  CALL FUNCTION 'RSSB_GET_AUTHS_FILTERED'  "BI Reporting Authorizations: Authorized Values Filtered
    EXPORTING
         I_IOBJNM = lv_i_iobjnm
         I_T_RANGE_FILTER = lv_i_t_range_filter
         I_CLEAR = lv_i_clear
         I_UNAME = lv_i_uname
         I_INFOPROV = lv_i_infoprov
    IMPORTING
         E_T_RANGE = lv_e_t_range
         E_TSX_AUTH_VALUES_USER_IOBJ = lv_e_tsx_auth_values_user_iobj
         E_T_MSG = lv_e_t_msg
    EXCEPTIONS
        NOT_AUTHORIZED = 1
        INTERNAL_ERROR = 2
        USER_DOESNT_EXIST = 3
        X_MESSAGE = 4
. " RSSB_GET_AUTHS_FILTERED




ABAP code using 7.40 inline data declarations to call FM RSSB_GET_AUTHS_FILTERED

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_clear) = RS_C_FALSE.
 
 
DATA(ld_i_uname) = SY-UNAME.
 
 
 


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!