SAP Function Modules

BICS_PROV_SUBMIT_VARIABLES SAP Function module - Query State







BICS_PROV_SUBMIT_VARIABLES is a standard SAP function module available within R/3 SAP systems depending on your version and release level. Below is the pattern details for this FM showing its interface including any import and export parameters, exceptions etc as well as any documentation contributions (Comments) specific to the object.

See here to view full function module documentation and code listing, simply by entering the name BICS_PROV_SUBMIT_VARIABLES into the relevant SAP transaction such as SE37 or SE80.

Associated Function Group: RSBOLAP_BICS_PROVIDER_VAR
Released Date: Not Released
Processing type: Remote-Enabled
remote enabled module settings


Pattern for FM BICS_PROV_SUBMIT_VARIABLES - BICS PROV SUBMIT VARIABLES





CALL FUNCTION 'BICS_PROV_SUBMIT_VARIABLES' "Query State
  EXPORTING
    i_variable_container_handle =   " rsbolap_handle  Unique Object Handle for External Communication
  IMPORTING
    e_th_meta_characteristic =   " bics_prov_meta_th_characterist  Description for the BW Provider Status
    e_th_state_characteristic =   " bics_prov_state_th_characteris  List of Characteristic Statuses
    e_tsx_selection =           " rsbolap_so_tsx_cart_product  Cartesian Product of Characteristics
    e_t_members =               " bics_prov_rs_t_char_members
    e_t_member_presentation =   " bics_prov_rs_t_member_presenta
    e_input_necessary =         " rs_bool       Further Input Necessary
    e_no_authority =            " rs_bool       No Authorization
    e_t_requestors =            " bics_prov_t_var_requestors  Table with variable requestors
* TABLES
*   i_t_statistic_info =        " rssta_s_eventinput  OLAP Statistics: Mass Insert of Event Data
*   e_t_meta_variable =         " bics_prov_meta_variable  Metadata for Variables
*   e_t_state_variable =        " bics_prov_state_variable  Variable Status
*   e_t_message =               " bics_prov_message  Messages
*   e_t_supported_read_modes =   " rsmd_rs_s_read_mode  Structure for Read Mode in Master Data Read Services
*   e_t_read_mode_index_catalog =   " bics_prov_rs_index_catalog  Catalog of the Characteristic ID with Index for Flattening
    .  "  BICS_PROV_SUBMIT_VARIABLES

ABAP code example for Function Module BICS_PROV_SUBMIT_VARIABLES





The ABAP code below is a full code listing to execute function module BICS_PROV_SUBMIT_VARIABLES including all data declarations. The code uses 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 original method of declaring data variables up front. 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).

DATA:
ld_e_th_meta_characteristic  TYPE BICS_PROV_META_TH_CHARACTERIST ,
ld_e_th_state_characteristic  TYPE BICS_PROV_STATE_TH_CHARACTERIS ,
ld_e_tsx_selection  TYPE RSBOLAP_SO_TSX_CART_PRODUCT ,
ld_e_t_members  TYPE BICS_PROV_RS_T_CHAR_MEMBERS ,
ld_e_t_member_presentation  TYPE BICS_PROV_RS_T_MEMBER_PRESENTA ,
ld_e_input_necessary  TYPE RS_BOOL ,
ld_e_no_authority  TYPE RS_BOOL ,
ld_e_t_requestors  TYPE BICS_PROV_T_VAR_REQUESTORS ,
it_i_t_statistic_info  TYPE STANDARD TABLE OF RSSTA_S_EVENTINPUT,"TABLES PARAM
wa_i_t_statistic_info  LIKE LINE OF it_i_t_statistic_info ,
it_e_t_meta_variable  TYPE STANDARD TABLE OF BICS_PROV_META_VARIABLE,"TABLES PARAM
wa_e_t_meta_variable  LIKE LINE OF it_e_t_meta_variable ,
it_e_t_state_variable  TYPE STANDARD TABLE OF BICS_PROV_STATE_VARIABLE,"TABLES PARAM
wa_e_t_state_variable  LIKE LINE OF it_e_t_state_variable ,
it_e_t_message  TYPE STANDARD TABLE OF BICS_PROV_MESSAGE,"TABLES PARAM
wa_e_t_message  LIKE LINE OF it_e_t_message ,
it_e_t_supported_read_modes  TYPE STANDARD TABLE OF RSMD_RS_S_READ_MODE,"TABLES PARAM
wa_e_t_supported_read_modes  LIKE LINE OF it_e_t_supported_read_modes ,
it_e_t_read_mode_index_catalog  TYPE STANDARD TABLE OF BICS_PROV_RS_INDEX_CATALOG,"TABLES PARAM
wa_e_t_read_mode_index_catalog  LIKE LINE OF it_e_t_read_mode_index_catalog .

DATA(ld_i_variable_container_handle) = 'Check type of data required'.

"populate fields of struture and append to itab
append wa_i_t_statistic_info to it_i_t_statistic_info.

"populate fields of struture and append to itab
append wa_e_t_meta_variable to it_e_t_meta_variable.

"populate fields of struture and append to itab
append wa_e_t_state_variable to it_e_t_state_variable.

"populate fields of struture and append to itab
append wa_e_t_message to it_e_t_message.

"populate fields of struture and append to itab
append wa_e_t_supported_read_modes to it_e_t_supported_read_modes.

"populate fields of struture and append to itab
append wa_e_t_read_mode_index_catalog to it_e_t_read_mode_index_catalog. . CALL FUNCTION 'BICS_PROV_SUBMIT_VARIABLES' EXPORTING i_variable_container_handle = ld_i_variable_container_handle IMPORTING e_th_meta_characteristic = ld_e_th_meta_characteristic e_th_state_characteristic = ld_e_th_state_characteristic e_tsx_selection = ld_e_tsx_selection e_t_members = ld_e_t_members e_t_member_presentation = ld_e_t_member_presentation e_input_necessary = ld_e_input_necessary e_no_authority = ld_e_no_authority e_t_requestors = ld_e_t_requestors * TABLES * i_t_statistic_info = it_i_t_statistic_info * e_t_meta_variable = it_e_t_meta_variable * e_t_state_variable = it_e_t_state_variable * e_t_message = it_e_t_message * e_t_supported_read_modes = it_e_t_supported_read_modes * e_t_read_mode_index_catalog = it_e_t_read_mode_index_catalog . " BICS_PROV_SUBMIT_VARIABLES
IF SY-SUBRC EQ 0. "All OK ENDIF.







ABAP code to compare 7.40 inline data declaration with original syntax

The below ABAP code uses the older none in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. It may also be useful if you are using an older version of SAP as some of the newer syntax above, such as the @DATA is not available until 4.70 EHP 8.

DATA:
ld_e_th_meta_characteristic  TYPE BICS_PROV_META_TH_CHARACTERIST ,
ld_i_variable_container_handle  TYPE RSBOLAP_HANDLE ,
it_i_t_statistic_info  TYPE STANDARD TABLE OF RSSTA_S_EVENTINPUT ,
wa_i_t_statistic_info  LIKE LINE OF it_i_t_statistic_info,
ld_e_th_state_characteristic  TYPE BICS_PROV_STATE_TH_CHARACTERIS ,
it_e_t_meta_variable  TYPE STANDARD TABLE OF BICS_PROV_META_VARIABLE ,
wa_e_t_meta_variable  LIKE LINE OF it_e_t_meta_variable,
ld_e_tsx_selection  TYPE RSBOLAP_SO_TSX_CART_PRODUCT ,
it_e_t_state_variable  TYPE STANDARD TABLE OF BICS_PROV_STATE_VARIABLE ,
wa_e_t_state_variable  LIKE LINE OF it_e_t_state_variable,
ld_e_t_members  TYPE BICS_PROV_RS_T_CHAR_MEMBERS ,
it_e_t_message  TYPE STANDARD TABLE OF BICS_PROV_MESSAGE ,
wa_e_t_message  LIKE LINE OF it_e_t_message,
ld_e_t_member_presentation  TYPE BICS_PROV_RS_T_MEMBER_PRESENTA ,
it_e_t_supported_read_modes  TYPE STANDARD TABLE OF RSMD_RS_S_READ_MODE ,
wa_e_t_supported_read_modes  LIKE LINE OF it_e_t_supported_read_modes,
ld_e_input_necessary  TYPE RS_BOOL ,
it_e_t_read_mode_index_catalog  TYPE STANDARD TABLE OF BICS_PROV_RS_INDEX_CATALOG ,
wa_e_t_read_mode_index_catalog  LIKE LINE OF it_e_t_read_mode_index_catalog,
ld_e_no_authority  TYPE RS_BOOL ,
ld_e_t_requestors  TYPE BICS_PROV_T_VAR_REQUESTORS .

ld_i_variable_container_handle = 'Check type of data required'.

"populate fields of struture and append to itab
append wa_i_t_statistic_info to it_i_t_statistic_info.

"populate fields of struture and append to itab
append wa_e_t_meta_variable to it_e_t_meta_variable.

"populate fields of struture and append to itab
append wa_e_t_state_variable to it_e_t_state_variable.

"populate fields of struture and append to itab
append wa_e_t_message to it_e_t_message.

"populate fields of struture and append to itab
append wa_e_t_supported_read_modes to it_e_t_supported_read_modes.

"populate fields of struture and append to itab
append wa_e_t_read_mode_index_catalog to it_e_t_read_mode_index_catalog.

Contribute (Add Comments)

Please help keep this info upto date and use the comments section below to add useful hints, tips and information specific to this SAP function. This will then be available for you and other users to easily find by simply searching on the object name BICS_PROV_SUBMIT_VARIABLES or its description.