SAP RSSB_AUTH_GEN_FROM_INFOPROV Function Module for BW Authorizations: Generation with Data in InfoProvider









RSSB_AUTH_GEN_FROM_INFOPROV is a standard rssb auth gen from infoprov SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for BW Authorizations: Generation with Data in InfoProvider 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 auth gen from infoprov FM, simply by entering the name RSSB_AUTH_GEN_FROM_INFOPROV into the relevant SAP transaction such as SE37 or SE38.

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



Function RSSB_AUTH_GEN_FROM_INFOPROV 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_AUTH_GEN_FROM_INFOPROV'"BW Authorizations: Generation with Data in InfoProvider
EXPORTING
I_T_INFOPROV_AUTH = "Reporting Authorizations: InfoProviders with Authorizations
* I_APPL_LOG_INITIALIZED = RS_C_FALSE "Boolean
* I_APPL_LOG_TITLE = "Application Log: External ID
* I_DISPLAY_LOG = RS_C_FALSE "Boolean
* I_DETLEVEL = '1' "Message Level
* I_PACKAGESIZE = 10000 "Package Size
.



IMPORTING Parameters details for RSSB_AUTH_GEN_FROM_INFOPROV

I_T_INFOPROV_AUTH - Reporting Authorizations: InfoProviders with Authorizations

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

I_APPL_LOG_INITIALIZED - Boolean

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

I_APPL_LOG_TITLE - Application Log: External ID

Data type: BAL_S_LOG-EXTNUMBER
Optional: Yes
Call by Reference: Yes

I_DISPLAY_LOG - Boolean

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

I_DETLEVEL - Message Level

Data type: BAL_S_MSG-DETLEVEL
Default: '1'
Optional: Yes
Call by Reference: Yes

I_PACKAGESIZE - Package Size

Data type: I
Default: 10000
Optional: Yes
Call by Reference: Yes

Copy and paste ABAP code example for RSSB_AUTH_GEN_FROM_INFOPROV 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_t_infoprov_auth  TYPE RSSBR_T_INFOPROV_AUTH, "   
lv_i_appl_log_initialized  TYPE RS_BOOL, "   RS_C_FALSE
lv_i_appl_log_title  TYPE BAL_S_LOG-EXTNUMBER, "   
lv_i_display_log  TYPE RS_BOOL, "   RS_C_FALSE
lv_i_detlevel  TYPE BAL_S_MSG-DETLEVEL, "   '1'
lv_i_packagesize  TYPE I. "   10000

  CALL FUNCTION 'RSSB_AUTH_GEN_FROM_INFOPROV'  "BW Authorizations: Generation with Data in InfoProvider
    EXPORTING
         I_T_INFOPROV_AUTH = lv_i_t_infoprov_auth
         I_APPL_LOG_INITIALIZED = lv_i_appl_log_initialized
         I_APPL_LOG_TITLE = lv_i_appl_log_title
         I_DISPLAY_LOG = lv_i_display_log
         I_DETLEVEL = lv_i_detlevel
         I_PACKAGESIZE = lv_i_packagesize
. " RSSB_AUTH_GEN_FROM_INFOPROV




ABAP code using 7.40 inline data declarations to call FM RSSB_AUTH_GEN_FROM_INFOPROV

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_appl_log_initialized) = RS_C_FALSE.
 
"SELECT single EXTNUMBER FROM BAL_S_LOG INTO @DATA(ld_i_appl_log_title).
 
DATA(ld_i_display_log) = RS_C_FALSE.
 
"SELECT single DETLEVEL FROM BAL_S_MSG INTO @DATA(ld_i_detlevel).
DATA(ld_i_detlevel) = '1'.
 
DATA(ld_i_packagesize) = 10000.
 


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!