SAP RSSB_AUTHORITY_ADMWB_MPRO Function Module for Authorization protection MultiProvider









RSSB_AUTHORITY_ADMWB_MPRO is a standard rssb authority admwb mpro 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 MultiProvider 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 mpro FM, simply by entering the name RSSB_AUTHORITY_ADMWB_MPRO into the relevant SAP transaction such as SE37 or SE38.

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



Function RSSB_AUTHORITY_ADMWB_MPRO 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_MPRO'"Authorization protection MultiProvider
EXPORTING
* I_INFOAREA = "InfoArea
I_ACTVT = "Activity
I_MPRO = "MultiProvider
I_MPROOBJ = "MultiProvider Subobject
* I_TRY_DISPLAY = "If maintenance not allowed, check for display
* I_OBJVERS = RS_C_OBJVERS-ACTIVE "Object Version

IMPORTING
E_DISPLAY_ONLY = "Display Only Allowed. Only for I_TRY_DISPLAY

EXCEPTIONS
USER_NOT_AUTHORIZED = 1 ERROR_READ_INFOAREA = 2 ERROR_READ_CUSTOMIZING = 3
.



IMPORTING Parameters details for RSSB_AUTHORITY_ADMWB_MPRO

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_MPRO - MultiProvider

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

I_MPROOBJ - MultiProvider Subobject

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

I_TRY_DISPLAY - If maintenance not allowed, check for display

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

I_OBJVERS - Object Version

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

EXPORTING Parameters details for RSSB_AUTHORITY_ADMWB_MPRO

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 Has No Authorization

Data type:
Optional: No
Call by Reference: Yes

ERROR_READ_INFOAREA - Error looking up the InfoArea

Data type:
Optional: No
Call by Reference: Yes

ERROR_READ_CUSTOMIZING - Error reading Customizing

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for RSSB_AUTHORITY_ADMWB_MPRO 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_error_read_infoarea  TYPE AUTHB, "   
lv_i_mpro  TYPE RSMULTIPROV, "   
lv_error_read_customizing  TYPE RSMULTIPROV, "   
lv_i_mproobj  TYPE RSMPROPARTOBJ, "   
lv_i_try_display  TYPE RS_BOOL, "   
lv_i_objvers  TYPE RSOBJVERS. "   RS_C_OBJVERS-ACTIVE

  CALL FUNCTION 'RSSB_AUTHORITY_ADMWB_MPRO'  "Authorization protection MultiProvider
    EXPORTING
         I_INFOAREA = lv_i_infoarea
         I_ACTVT = lv_i_actvt
         I_MPRO = lv_i_mpro
         I_MPROOBJ = lv_i_mproobj
         I_TRY_DISPLAY = lv_i_try_display
         I_OBJVERS = lv_i_objvers
    IMPORTING
         E_DISPLAY_ONLY = lv_e_display_only
    EXCEPTIONS
        USER_NOT_AUTHORIZED = 1
        ERROR_READ_INFOAREA = 2
        ERROR_READ_CUSTOMIZING = 3
. " RSSB_AUTHORITY_ADMWB_MPRO




ABAP code using 7.40 inline data declarations to call FM RSSB_AUTHORITY_ADMWB_MPRO

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).
 
 
 
 
 
 
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!