SAP RSSB_AUTHORITY_CHECK Function Module for General Authorization Check (Meta Objects)









RSSB_AUTHORITY_CHECK is a standard rssb authority check SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for General Authorization Check (Meta Objects) 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 authority check FM, simply by entering the name RSSB_AUTHORITY_CHECK into the relevant SAP transaction such as SE37 or SE38.

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



Function RSSB_AUTHORITY_CHECK 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_AUTHORITY_CHECK'"General Authorization Check (Meta Objects)
EXPORTING
I_S_OBJECT = "BW Repository: TLOGO Object and Type
* I_T_SUBOBJECT = "BW Repository: TLOGO Object and Type
I_ACTIVITY = "Activity
* I_TRY_DISPLAY = "Boolean
* I_T_PARAM = "Variable/Value Assignment for TLOGO-Independent Parameters

EXCEPTIONS
ONLY_DISPLAY_AUTHORIZATION = 1 NO_AUTHORITY = 2 INVALID_PARAMETER = 3 INTERNAL_ERROR = 4 QUERY_NOT_EXIST = 5 OBJECT_NOT_EXIST = 6
.



IMPORTING Parameters details for RSSB_AUTHORITY_CHECK

I_S_OBJECT - BW Repository: TLOGO Object and Type

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

I_T_SUBOBJECT - BW Repository: TLOGO Object and Type

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

I_ACTIVITY - Activity

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

I_TRY_DISPLAY - Boolean

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

I_T_PARAM - Variable/Value Assignment for TLOGO-Independent Parameters

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

EXCEPTIONS details

ONLY_DISPLAY_AUTHORIZATION - Display authorization only

Data type:
Optional: No
Call by Reference: Yes

NO_AUTHORITY - No Authorization

Data type:
Optional: No
Call by Reference: Yes

INVALID_PARAMETER - Invalid Parameters

Data type:
Optional: No
Call by Reference: Yes

INTERNAL_ERROR - Internal Error

Data type:
Optional: No
Call by Reference: Yes

QUERY_NOT_EXIST - Query does not exist

Data type:
Optional: No
Call by Reference: Yes

OBJECT_NOT_EXIST - Object ID does not exist

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for RSSB_AUTHORITY_CHECK 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_s_object  TYPE RSO_S_TLOGO, "   
lv_only_display_authorization  TYPE RSO_S_TLOGO, "   
lv_no_authority  TYPE RSO_S_TLOGO, "   
lv_i_t_subobject  TYPE RSSB_T_SUBOBJECT, "   
lv_i_activity  TYPE RSSB_ACTIVITY, "   
lv_invalid_parameter  TYPE RSSB_ACTIVITY, "   
lv_i_try_display  TYPE RS_BOOL, "   
lv_internal_error  TYPE RS_BOOL, "   
lv_i_t_param  TYPE RSSB_T_PARAM, "   
lv_query_not_exist  TYPE RSSB_T_PARAM, "   
lv_object_not_exist  TYPE RSSB_T_PARAM. "   

  CALL FUNCTION 'RSSB_AUTHORITY_CHECK'  "General Authorization Check (Meta Objects)
    EXPORTING
         I_S_OBJECT = lv_i_s_object
         I_T_SUBOBJECT = lv_i_t_subobject
         I_ACTIVITY = lv_i_activity
         I_TRY_DISPLAY = lv_i_try_display
         I_T_PARAM = lv_i_t_param
    EXCEPTIONS
        ONLY_DISPLAY_AUTHORIZATION = 1
        NO_AUTHORITY = 2
        INVALID_PARAMETER = 3
        INTERNAL_ERROR = 4
        QUERY_NOT_EXIST = 5
        OBJECT_NOT_EXIST = 6
. " RSSB_AUTHORITY_CHECK




ABAP code using 7.40 inline data declarations to call FM RSSB_AUTHORITY_CHECK

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.

 
 
 
 
 
 
 
 
 
 
 


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!