Hi Martin,
using the class 'CL_RSDA_INFOPROV_QUERY' I can read only data from online DB. Infact the report dumps when I set the parameter i_storage_selection = 'N'.
This is the code:
s_field_selection-fieldname = '/BIC/ZEIOSOC'.
s_field_selection-component_index = '1'.
s_field_selection-component_name = 'ZEIOSOC'.
APPEND s_field_selection TO t_field.
s_field_selection-fieldname = '/BIC/ZEIODIRTE'.
s_field_selection-component_index = '2'.
s_field_selection-component_name = 'ZEIODIRTE'.
APPEND s_field_selection TO t_field.
s_field_selection-fieldname = '/BIC/ZEIOBLDAT'.
s_field_selection-component_index = '3'.
s_field_selection-component_name = 'ZEIOBLDAT'.
APPEND s_field_selection TO t_field.
*
s_field_selection-fieldname = '/BIC/ZEKCLIFAT'.
s_field_selection-component_index = '4'.
s_field_selection-component_name = 'ZEKCLIFAT'.
s_field_selection-aggregation_function = 'SUM'.
APPEND s_field_selection TO t_field.
s_csequence = text-001.
GET TIME FIELD tim1.
* TRY.
CALL METHOD cl_rsda_infoprov_query=>select
EXPORTING
i_infoprov = 'ZEODTEBK'
* i_t_entries =
i_t_entry_fields = t_entryfield
i_t_field_selections = t_field
* i_r_selection_set =
i_where_condition = s_csequence
* i_append = 'X'
* i_order_by_primary_key =
* i_hint =
i_storage_selection = 'N'
* i_storage_selection = cl_rsda_infoprov_query=>c_storage_selection-all
CHANGING
c_t_data = i_output_all.
Thanks in advance,
Mario