SAP RSSB_AUTHORITY_ADMWB_INFOCUBE Function Module for Authorization protection InfoCube









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

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



Function RSSB_AUTHORITY_ADMWB_INFOCUBE 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_ADMWB_INFOCUBE'"Authorization protection InfoCube
EXPORTING
* I_INFOAREA = "InfoArea
I_ACTVT = "Activity
I_INFOCUBE = "InfoCube
I_ICUBEOBJ = "InfoCube Subobject
* I_OBJVERS = RS_C_OBJVERS-ACTIVE "Version
* I_TRY_DISPLAY = "If maintenance not allowed, check for display

IMPORTING
E_DISPLAY_ONLY = "Display Only Allowed. Only for I_TRY_DISPLAY

EXCEPTIONS
USER_NOT_AUTHORIZED = 1 NOT_ACTIVE = 2
.



IMPORTING Parameters details for RSSB_AUTHORITY_ADMWB_INFOCUBE

I_INFOAREA - InfoArea

Data type: AUTHBIW-RSINFOAREA
Optional: Yes
Call by Reference: Yes

I_ACTVT - Activity

Data type: AUTHB-ACTVT
Optional: No
Call by Reference: Yes

I_INFOCUBE - InfoCube

Data type: AUTHBIW-RSINFOCUBE
Optional: No
Call by Reference: Yes

I_ICUBEOBJ - InfoCube Subobject

Data type: AUTHBIW-RSICUBEOBJ
Optional: No
Call by Reference: No ( called with pass by value option)

I_OBJVERS - Version

Data type: RS_OBJVERS
Default: RS_C_OBJVERS-ACTIVE
Optional: Yes
Call by Reference: Yes

I_TRY_DISPLAY - If maintenance not allowed, check for display

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

EXPORTING Parameters details for RSSB_AUTHORITY_ADMWB_INFOCUBE

E_DISPLAY_ONLY - Display Only Allowed. Only for I_TRY_DISPLAY

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

EXCEPTIONS details

USER_NOT_AUTHORIZED - User does not have authorization

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

NOT_ACTIVE -

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

Copy and paste ABAP code example for RSSB_AUTHORITY_ADMWB_INFOCUBE 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_infoarea  TYPE AUTHBIW-RSINFOAREA, "   
lv_e_display_only  TYPE RS_BOOL, "   
lv_user_not_authorized  TYPE RS_BOOL, "   
lv_i_actvt  TYPE AUTHB-ACTVT, "   
lv_not_active  TYPE AUTHB, "   
lv_i_infocube  TYPE AUTHBIW-RSINFOCUBE, "   
lv_i_icubeobj  TYPE AUTHBIW-RSICUBEOBJ, "   
lv_i_objvers  TYPE RS_OBJVERS, "   RS_C_OBJVERS-ACTIVE
lv_i_try_display  TYPE RS_BOOL. "   

  CALL FUNCTION 'RSSB_AUTHORITY_ADMWB_INFOCUBE'  "Authorization protection InfoCube
    EXPORTING
         I_INFOAREA = lv_i_infoarea
         I_ACTVT = lv_i_actvt
         I_INFOCUBE = lv_i_infocube
         I_ICUBEOBJ = lv_i_icubeobj
         I_OBJVERS = lv_i_objvers
         I_TRY_DISPLAY = lv_i_try_display
    IMPORTING
         E_DISPLAY_ONLY = lv_e_display_only
    EXCEPTIONS
        USER_NOT_AUTHORIZED = 1
        NOT_ACTIVE = 2
. " RSSB_AUTHORITY_ADMWB_INFOCUBE




ABAP code using 7.40 inline data declarations to call FM RSSB_AUTHORITY_ADMWB_INFOCUBE

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 RSINFOAREA FROM AUTHBIW INTO @DATA(ld_i_infoarea).
 
 
 
"SELECT single ACTVT FROM AUTHB INTO @DATA(ld_i_actvt).
 
 
"SELECT single RSINFOCUBE FROM AUTHBIW INTO @DATA(ld_i_infocube).
 
"SELECT single RSICUBEOBJ FROM AUTHBIW INTO @DATA(ld_i_icubeobj).
 
DATA(ld_i_objvers) = RS_C_OBJVERS-ACTIVE.
 
 


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!