SAP BICS_PROV_OPEN Function Module for Create Data Provider Instance









BICS_PROV_OPEN is a standard bics prov open SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Create Data Provider Instance 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 bics prov open FM, simply by entering the name BICS_PROV_OPEN into the relevant SAP transaction such as SE37 or SE38.

Function Group: RSBOLAP_BICS_PROVIDER
Program Name: SAPLRSBOLAP_BICS_PROVIDER
Main Program: SAPLRSBOLAP_BICS_PROVIDER
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled + BasXML supported
Update:



Function BICS_PROV_OPEN 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 'BICS_PROV_OPEN'"Create Data Provider Instance
EXPORTING
* I_APPLICATION_HANDLE = "Application Handle
* I_DATA_PROVIDER_HANDLE = '0000' "Handle if Only Variables Are to Be Reinitialized
* I_T_OBN_CONTEXT = "Context of Object-Based Navigation
* I_DUE_DATE = "Key Date for Master Data Selector
* I_OPTIMIZE_INIT_VERSION = 0 "
* I_INITIALIZE_PARENT_CONTAINER = RS_C_FALSE "
* I_T_VIEW_VARIABLE_VALUES = "Initialization Table for Characteristic Settings, Filter, V
* I_T_VIEW_SELECTION_STATE = "Initialization Table for Characteristic Settings, Filter, V
* I_T_VIEW_CHARACTERISTIC_HRY = "Initialization Table for Characteristic Settings, Filter, V
* I_DATA_AREA = 'DEFAULT' "Name of Data Area
* I_DATA_PROVIDER_TYPE = 'QUERY_VIEW' "Type of a Data Provider
* I_DATA_PROVIDER_NAME = "Option 1: Name of Query/Selection Object
* I_DATA_PROVIDER_INFO_PROVIDER = "Option 2: Name of InfoProvider (Default Object)
* I_JAVA_VERSION = "Java Version
* I_VARIABLE_CONTAINER_HANDLE = '0000' "Variable Container for Inserting Variables
* I_VARIANT = "Variable Variant
* I_STATE_VARIABLE_MODE = "Reuse of the Filter During Refresh

IMPORTING
E_DATA_PROVIDER_HANDLE = "Unique Object Handle for External Communication
E_DATA_PROVIDER_TEXT = "
E_VARIABLE_CONTAINER_HANDLE = "Unique Object Handle for External Communication
E_MAX_MESSAGE_TYPE = "Messages, Message Type
E_APPLICATION_HANDLE = "Application Handle
E_UNIQUE_NAME = "Unique System-Wide Name of Data Provider
E_ABAP_VERSION = "ABAP Version
E_NO_AUTHORITY = "No Authorization

TABLES
* I_T_STATISTIC_INFO = "OLAP Statistics: Mass Insert of Event Data
* I_T_MD_CHARACTERISTICS = "Object Name as Structure for RFC

EXCEPTIONS
UNSUPPORTED_JAVA_VERSION = 1
.



IMPORTING Parameters details for BICS_PROV_OPEN

I_APPLICATION_HANDLE - Application Handle

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

I_DATA_PROVIDER_HANDLE - Handle if Only Variables Are to Be Reinitialized

Data type: RSBOLAP_HANDLE
Default: '0000'
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_T_OBN_CONTEXT - Context of Object-Based Navigation

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

I_DUE_DATE - Key Date for Master Data Selector

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

I_OPTIMIZE_INIT_VERSION -

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

I_INITIALIZE_PARENT_CONTAINER -

Data type: RS_BOOL
Default: RS_C_FALSE
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_T_VIEW_VARIABLE_VALUES - Initialization Table for Characteristic Settings, Filter, V

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

I_T_VIEW_SELECTION_STATE - Initialization Table for Characteristic Settings, Filter, V

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

I_T_VIEW_CHARACTERISTIC_HRY - Initialization Table for Characteristic Settings, Filter, V

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

I_DATA_AREA - Name of Data Area

Data type: RSBOLAP_DATA_AREA
Default: 'DEFAULT'
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_DATA_PROVIDER_TYPE - Type of a Data Provider

Data type: RSBOLAP_DATA_PROVIDER_TYPE
Default: 'QUERY_VIEW'
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_DATA_PROVIDER_NAME - Option 1: Name of Query/Selection Object

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

I_DATA_PROVIDER_INFO_PROVIDER - Option 2: Name of InfoProvider (Default Object)

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

I_JAVA_VERSION - Java Version

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

I_VARIABLE_CONTAINER_HANDLE - Variable Container for Inserting Variables

Data type: RSBOLAP_HANDLE
Default: '0000'
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_VARIANT - Variable Variant

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

I_STATE_VARIABLE_MODE - Reuse of the Filter During Refresh

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

EXPORTING Parameters details for BICS_PROV_OPEN

E_DATA_PROVIDER_HANDLE - Unique Object Handle for External Communication

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

E_DATA_PROVIDER_TEXT -

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

E_VARIABLE_CONTAINER_HANDLE - Unique Object Handle for External Communication

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

E_MAX_MESSAGE_TYPE - Messages, Message Type

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

E_APPLICATION_HANDLE - Application Handle

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

E_UNIQUE_NAME - Unique System-Wide Name of Data Provider

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

E_ABAP_VERSION - ABAP Version

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

E_NO_AUTHORITY - No Authorization

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

TABLES Parameters details for BICS_PROV_OPEN

I_T_STATISTIC_INFO - OLAP Statistics: Mass Insert of Event Data

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

I_T_MD_CHARACTERISTICS - Object Name as Structure for RFC

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

EXCEPTIONS details

UNSUPPORTED_JAVA_VERSION - This Java Version Is Not Supported

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for BICS_PROV_OPEN 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:
lt_i_t_statistic_info  TYPE STANDARD TABLE OF RSSTA_S_EVENTINPUT, "   
lv_i_application_handle  TYPE RSBOLAP_HANDLE, "   
lv_e_data_provider_handle  TYPE RSBOLAP_HANDLE, "   
lv_unsupported_java_version  TYPE RSBOLAP_HANDLE, "   
lv_i_data_provider_handle  TYPE RSBOLAP_HANDLE, "   '0000'
lv_i_t_obn_context  TYPE BICS_PROV_T_OBN_CONTEXT, "   
lv_i_due_date  TYPE RSDATETO, "   
lv_i_optimize_init_version  TYPE INT4, "   0
lv_i_initialize_parent_container  TYPE RS_BOOL, "   RS_C_FALSE
lv_i_t_view_variable_values  TYPE BICS_PROV_STATE_T_INIT_VARIABL, "   
lv_i_t_view_selection_state  TYPE BICS_PROV_STATE_T_INIT_VARIABL, "   
lv_i_t_view_characteristic_hry  TYPE BICS_PROV_STATE_T_INIT_VARIABL, "   
lv_i_data_area  TYPE RSBOLAP_DATA_AREA, "   'DEFAULT'
lv_e_data_provider_text  TYPE RSBOLAP_OBJECT_TEXT, "   
lt_i_t_md_characteristics  TYPE STANDARD TABLE OF RSBOLAP_S_OBJECT_NAME, "   
lv_i_data_provider_type  TYPE RSBOLAP_DATA_PROVIDER_TYPE, "   'QUERY_VIEW'
lv_e_variable_container_handle  TYPE RSBOLAP_HANDLE, "   
lv_e_max_message_type  TYPE SYMSGTY, "   
lv_i_data_provider_name  TYPE RSBOLAP_OBJECT_NAME, "   
lv_e_application_handle  TYPE RSBOLAP_HANDLE, "   
lv_i_data_provider_info_provider  TYPE RSINFOPROV, "   
lv_e_unique_name  TYPE RSBOLAP_OBJECT_NAME, "   
lv_i_java_version  TYPE INT4, "   
lv_e_abap_version  TYPE INT4, "   
lv_i_variable_container_handle  TYPE RSBOLAP_HANDLE, "   '0000'
lv_i_variant  TYPE RSRVARI, "   
lv_e_no_authority  TYPE RS_BOOL, "   
lv_i_state_variable_mode  TYPE RRSTATEMODE. "   

  CALL FUNCTION 'BICS_PROV_OPEN'  "Create Data Provider Instance
    EXPORTING
         I_APPLICATION_HANDLE = lv_i_application_handle
         I_DATA_PROVIDER_HANDLE = lv_i_data_provider_handle
         I_T_OBN_CONTEXT = lv_i_t_obn_context
         I_DUE_DATE = lv_i_due_date
         I_OPTIMIZE_INIT_VERSION = lv_i_optimize_init_version
         I_INITIALIZE_PARENT_CONTAINER = lv_i_initialize_parent_container
         I_T_VIEW_VARIABLE_VALUES = lv_i_t_view_variable_values
         I_T_VIEW_SELECTION_STATE = lv_i_t_view_selection_state
         I_T_VIEW_CHARACTERISTIC_HRY = lv_i_t_view_characteristic_hry
         I_DATA_AREA = lv_i_data_area
         I_DATA_PROVIDER_TYPE = lv_i_data_provider_type
         I_DATA_PROVIDER_NAME = lv_i_data_provider_name
         I_DATA_PROVIDER_INFO_PROVIDER = lv_i_data_provider_info_provider
         I_JAVA_VERSION = lv_i_java_version
         I_VARIABLE_CONTAINER_HANDLE = lv_i_variable_container_handle
         I_VARIANT = lv_i_variant
         I_STATE_VARIABLE_MODE = lv_i_state_variable_mode
    IMPORTING
         E_DATA_PROVIDER_HANDLE = lv_e_data_provider_handle
         E_DATA_PROVIDER_TEXT = lv_e_data_provider_text
         E_VARIABLE_CONTAINER_HANDLE = lv_e_variable_container_handle
         E_MAX_MESSAGE_TYPE = lv_e_max_message_type
         E_APPLICATION_HANDLE = lv_e_application_handle
         E_UNIQUE_NAME = lv_e_unique_name
         E_ABAP_VERSION = lv_e_abap_version
         E_NO_AUTHORITY = lv_e_no_authority
    TABLES
         I_T_STATISTIC_INFO = lt_i_t_statistic_info
         I_T_MD_CHARACTERISTICS = lt_i_t_md_characteristics
    EXCEPTIONS
        UNSUPPORTED_JAVA_VERSION = 1
. " BICS_PROV_OPEN




ABAP code using 7.40 inline data declarations to call FM BICS_PROV_OPEN

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_data_provider_handle) = '0000'.
 
 
 
 
DATA(ld_i_initialize_parent_container) = RS_C_FALSE.
 
 
 
 
DATA(ld_i_data_area) = 'DEFAULT'.
 
 
 
DATA(ld_i_data_provider_type) = 'QUERY_VIEW'.
 
 
 
 
 
 
 
 
 
DATA(ld_i_variable_container_handle) = '0000'.
 
 
 
 


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!