SAP RSSM_AUTHORITY_CHECK Function Module for Preprocessed FM for RSSM_AUTHORITY_CHECK
RSSM_AUTHORITY_CHECK is a standard rssm 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 Preprocessed FM for RSSM_AUTHORITY_CHECK 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 rssm authority check FM, simply by entering the name RSSM_AUTHORITY_CHECK into the relevant SAP transaction such as SE37 or SE38.
Function Group: RSSM
Program Name: SAPLRSSM
Main Program: SAPLRSSM
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function RSSM_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 'RSSM_AUTHORITY_CHECK'"Preprocessed FM for RSSM_AUTHORITY_CHECK.
EXPORTING
* I_ACTVT = "Activity
* I_OLTPSOURCE = "InfoSource
* I_LOGSYS = "Source System
* I_OBJ = "InfoCube Subobject
* I_S_OBJECT = "BW Repository: TLOGO Object and Type
* I_T_SUBOBJECT = "Table with TLOGO Objects
* I_ACTIVITY = "BW: Activities (Authorization Check)
* I_TRY_DISPLAY = "Boolean
* I_FUNCTION = "30 Characters
* I_APPLNM = "Application Component
* I_ADMWBOBJ = "
* I_IPAK = "Logical InfoPackage Variant (ID)
* I_IPG = "Logical object (InfoPackage or group) scheduler
* I_ISOURCE = "InfoSource
* I_OSOURCE = "InfoSource (master data, text and hierarchies)
* I_INFOCUBE = "InfoCube
IMPORTING
E_DISPLAY_ONLY = "Boolean
EXCEPTIONS
ONLY_DISPLAY_AUTHORIZATION = 1 NO_AUTHORITY = 2 INVALID_PARAMETER = 3 INTERNAL_ERROR = 4
IMPORTING Parameters details for RSSM_AUTHORITY_CHECK
I_ACTVT - Activity
Data type: AUTHB-ACTVTOptional: Yes
Call by Reference: Yes
I_OLTPSOURCE - InfoSource
Data type: RSLDPIO-OLTPSOURCEOptional: Yes
Call by Reference: Yes
I_LOGSYS - Source System
Data type: RSLDPIO-LOGSYSOptional: Yes
Call by Reference: Yes
I_OBJ - InfoCube Subobject
Data type: AUTHBIW-RSICUBEOBJOptional: Yes
Call by Reference: Yes
I_S_OBJECT - BW Repository: TLOGO Object and Type
Data type: RSO_S_TLOGOOptional: Yes
Call by Reference: Yes
I_T_SUBOBJECT - Table with TLOGO Objects
Data type: RSSB_T_SUBOBJECTOptional: Yes
Call by Reference: Yes
I_ACTIVITY - BW: Activities (Authorization Check)
Data type: RSSB_ACTIVITYOptional: Yes
Call by Reference: Yes
I_TRY_DISPLAY - Boolean
Data type: RS_BOOLOptional: Yes
Call by Reference: Yes
I_FUNCTION - 30 Characters
Data type: CHAR30Optional: Yes
Call by Reference: Yes
I_APPLNM - Application Component
Data type: AUTHBIW-RSAPPLNMOptional: Yes
Call by Reference: Yes
I_ADMWBOBJ -
Data type: AUTHBIW-RSADMWBOBJOptional: Yes
Call by Reference: Yes
I_IPAK - Logical InfoPackage Variant (ID)
Data type: RSLDPIO-LOGDPIDOptional: Yes
Call by Reference: Yes
I_IPG - Logical object (InfoPackage or group) scheduler
Data type: RSLGRHIE-LOGGRIDOptional: Yes
Call by Reference: Yes
I_ISOURCE - InfoSource
Data type: AUTHBIW-RSISOURCEOptional: Yes
Call by Reference: Yes
I_OSOURCE - InfoSource (master data, text and hierarchies)
Data type: AUTHBIW-RSOSOURCEOptional: Yes
Call by Reference: Yes
I_INFOCUBE - InfoCube
Data type: AUTHBIW-RSINFOCUBEOptional: Yes
Call by Reference: Yes
EXPORTING Parameters details for RSSM_AUTHORITY_CHECK
E_DISPLAY_ONLY - Boolean
Data type: RS_BOOLOptional: No
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
Copy and paste ABAP code example for RSSM_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_actvt | TYPE AUTHB-ACTVT, " | |||
| lv_e_display_only | TYPE RS_BOOL, " | |||
| lv_only_display_authorization | TYPE RS_BOOL, " | |||
| lv_i_oltpsource | TYPE RSLDPIO-OLTPSOURCE, " | |||
| lv_i_logsys | TYPE RSLDPIO-LOGSYS, " | |||
| lv_i_obj | TYPE AUTHBIW-RSICUBEOBJ, " | |||
| lv_i_s_object | TYPE RSO_S_TLOGO, " | |||
| lv_i_t_subobject | TYPE RSSB_T_SUBOBJECT, " | |||
| lv_i_activity | TYPE RSSB_ACTIVITY, " | |||
| lv_i_try_display | TYPE RS_BOOL, " | |||
| lv_i_function | TYPE CHAR30, " | |||
| lv_no_authority | TYPE CHAR30, " | |||
| lv_i_applnm | TYPE AUTHBIW-RSAPPLNM, " | |||
| lv_invalid_parameter | TYPE AUTHBIW, " | |||
| lv_i_admwbobj | TYPE AUTHBIW-RSADMWBOBJ, " | |||
| lv_internal_error | TYPE AUTHBIW, " | |||
| lv_i_ipak | TYPE RSLDPIO-LOGDPID, " | |||
| lv_i_ipg | TYPE RSLGRHIE-LOGGRID, " | |||
| lv_i_isource | TYPE AUTHBIW-RSISOURCE, " | |||
| lv_i_osource | TYPE AUTHBIW-RSOSOURCE, " | |||
| lv_i_infocube | TYPE AUTHBIW-RSINFOCUBE. " |
|   CALL FUNCTION 'RSSM_AUTHORITY_CHECK' "Preprocessed FM for RSSM_AUTHORITY_CHECK |
| EXPORTING | ||
| I_ACTVT | = lv_i_actvt | |
| I_OLTPSOURCE | = lv_i_oltpsource | |
| I_LOGSYS | = lv_i_logsys | |
| I_OBJ | = lv_i_obj | |
| 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_FUNCTION | = lv_i_function | |
| I_APPLNM | = lv_i_applnm | |
| I_ADMWBOBJ | = lv_i_admwbobj | |
| I_IPAK | = lv_i_ipak | |
| I_IPG | = lv_i_ipg | |
| I_ISOURCE | = lv_i_isource | |
| I_OSOURCE | = lv_i_osource | |
| I_INFOCUBE | = lv_i_infocube | |
| IMPORTING | ||
| E_DISPLAY_ONLY | = lv_e_display_only | |
| EXCEPTIONS | ||
| ONLY_DISPLAY_AUTHORIZATION = 1 | ||
| NO_AUTHORITY = 2 | ||
| INVALID_PARAMETER = 3 | ||
| INTERNAL_ERROR = 4 | ||
| . " RSSM_AUTHORITY_CHECK | ||
ABAP code using 7.40 inline data declarations to call FM RSSM_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.| "SELECT single ACTVT FROM AUTHB INTO @DATA(ld_i_actvt). | ||||
| "SELECT single OLTPSOURCE FROM RSLDPIO INTO @DATA(ld_i_oltpsource). | ||||
| "SELECT single LOGSYS FROM RSLDPIO INTO @DATA(ld_i_logsys). | ||||
| "SELECT single RSICUBEOBJ FROM AUTHBIW INTO @DATA(ld_i_obj). | ||||
| "SELECT single RSAPPLNM FROM AUTHBIW INTO @DATA(ld_i_applnm). | ||||
| "SELECT single RSADMWBOBJ FROM AUTHBIW INTO @DATA(ld_i_admwbobj). | ||||
| "SELECT single LOGDPID FROM RSLDPIO INTO @DATA(ld_i_ipak). | ||||
| "SELECT single LOGGRID FROM RSLGRHIE INTO @DATA(ld_i_ipg). | ||||
| "SELECT single RSISOURCE FROM AUTHBIW INTO @DATA(ld_i_isource). | ||||
| "SELECT single RSOSOURCE FROM AUTHBIW INTO @DATA(ld_i_osource). | ||||
| "SELECT single RSINFOCUBE FROM AUTHBIW INTO @DATA(ld_i_infocube). | ||||
Search for further information about these or an SAP related objects