SAP RSL_WSP_VPRO_OVERVIEW Function Module for Obsolete: Workspace Virtueller Provider









RSL_WSP_VPRO_OVERVIEW is a standard rsl wsp vpro overview SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Obsolete: Workspace Virtueller Provider 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 rsl wsp vpro overview FM, simply by entering the name RSL_WSP_VPRO_OVERVIEW into the relevant SAP transaction such as SE37 or SE38.

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



Function RSL_WSP_VPRO_OVERVIEW 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 'RSL_WSP_VPRO_OVERVIEW'"Obsolete: Workspace Virtueller Provider
EXPORTING
I_INFOPROV = "Name of InfoProvider
* I_USE_AGGREGATION = RS_C_TRUE "Data is to be aggregated
* I_SHOW_STATEMENT = RS_C_FALSE "Display of Generated SQL Statement
I_TH_SFC = "Characteristic Description
I_TH_SFK = "BW Data Manager: List of Key Figures
* I_T_RANGE = "BW Data Manager: Range List
* I_TX_RANGETAB = "BW Data Manager: Table from Range List
* I_FIRST_CALL = "First call
* I_PACKAGESIZE = 100000 "Package Size
* I_KEYDATE = SY-DATUM "Date with which texts, attributes and hierarchies are read
* I_MAXROWS = "Maximum Result Size

IMPORTING
E_T_DATA = "Data Table with Query-Dependent Structure
E_END_OF_DATA = "End of Data Reached
E_T_MSG = "BW: Table with Messages (Application Log)

EXCEPTIONS
REMOTE_READ_FAILED = 1 X_MESSAGE = 2
.



IMPORTING Parameters details for RSL_WSP_VPRO_OVERVIEW

I_INFOPROV - Name of InfoProvider

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

I_USE_AGGREGATION - Data is to be aggregated

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

I_SHOW_STATEMENT - Display of Generated SQL Statement

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

I_TH_SFC - Characteristic Description

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

I_TH_SFK - BW Data Manager: List of Key Figures

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

I_T_RANGE - BW Data Manager: Range List

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

I_TX_RANGETAB - BW Data Manager: Table from Range List

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

I_FIRST_CALL - First call

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

I_PACKAGESIZE - Package Size

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

I_KEYDATE - Date with which texts, attributes and hierarchies are read

Data type: RRSRDATE
Default: SY-DATUM
Optional: Yes
Call by Reference: Yes

I_MAXROWS - Maximum Result Size

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

EXPORTING Parameters details for RSL_WSP_VPRO_OVERVIEW

E_T_DATA - Data Table with Query-Dependent Structure

Data type: STANDARD TABLE
Optional: No
Call by Reference: Yes

E_END_OF_DATA - End of Data Reached

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

E_T_MSG - BW: Table with Messages (Application Log)

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

EXCEPTIONS details

REMOTE_READ_FAILED -

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

X_MESSAGE -

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

Copy and paste ABAP code example for RSL_WSP_VPRO_OVERVIEW 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_e_t_data  TYPE STANDARD TABLE, "   
lv_i_infoprov  TYPE RSINFOPROV, "   
lv_remote_read_failed  TYPE RSINFOPROV, "   
lv_i_use_aggregation  TYPE RS_BOOL, "   RS_C_TRUE
lv_i_show_statement  TYPE RS_BOOL, "   RS_C_FALSE
lv_i_th_sfc  TYPE RSDRI_TH_SFC, "   
lv_x_message  TYPE RSDRI_TH_SFC, "   
lv_e_end_of_data  TYPE RS_BOOL, "   
lv_e_t_msg  TYPE RS_T_MSG, "   
lv_i_th_sfk  TYPE RSDRI_TH_SFK, "   
lv_i_t_range  TYPE RSDRI_T_RANGE, "   
lv_i_tx_rangetab  TYPE RSDRI_TX_RANGETAB, "   
lv_i_first_call  TYPE RS_BOOL, "   
lv_i_packagesize  TYPE I, "   100000
lv_i_keydate  TYPE RRSRDATE, "   SY-DATUM
lv_i_maxrows  TYPE I. "   

  CALL FUNCTION 'RSL_WSP_VPRO_OVERVIEW'  "Obsolete: Workspace Virtueller Provider
    EXPORTING
         I_INFOPROV = lv_i_infoprov
         I_USE_AGGREGATION = lv_i_use_aggregation
         I_SHOW_STATEMENT = lv_i_show_statement
         I_TH_SFC = lv_i_th_sfc
         I_TH_SFK = lv_i_th_sfk
         I_T_RANGE = lv_i_t_range
         I_TX_RANGETAB = lv_i_tx_rangetab
         I_FIRST_CALL = lv_i_first_call
         I_PACKAGESIZE = lv_i_packagesize
         I_KEYDATE = lv_i_keydate
         I_MAXROWS = lv_i_maxrows
    IMPORTING
         E_T_DATA = lv_e_t_data
         E_END_OF_DATA = lv_e_end_of_data
         E_T_MSG = lv_e_t_msg
    EXCEPTIONS
        REMOTE_READ_FAILED = 1
        X_MESSAGE = 2
. " RSL_WSP_VPRO_OVERVIEW




ABAP code using 7.40 inline data declarations to call FM RSL_WSP_VPRO_OVERVIEW

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_use_aggregation) = RS_C_TRUE.
 
DATA(ld_i_show_statement) = RS_C_FALSE.
 
 
 
 
 
 
 
 
 
DATA(ld_i_packagesize) = 100000.
 
DATA(ld_i_keydate) = SY-DATUM.
 
 


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!