Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 3280

RUN_RSDRI_QUERY - Memory :Low issue

$
0
0

TRY.
lo_model
= cl_uj_model=>get_model( i_appset_id ).
lo_model
->create_tx_data_ref(EXPORTING
i_appl_name 
= i_appl_id
i_type      
= 'T'
it_dim_name 
= lt_dim_name
if_tech_name
= space

IMPORTING
er_data     
= lo_dataref.

CATCH cx_uj_static_check.

ENDTRY.


*Assigning the structure to tableASSIGN lo_dataref->* TO <lt_tx_data>.

TRY.

lo_query = cl_ujo_query_factory=>get_query_adapter(
               i_appset_id
= i_appset_id
               i_appl_id  
= i_appl_id ).
** Run Query to populate ct_data based on dimensions , selection criteria **.

lo_query
->run_rsdri_query(
EXPORTING
it_dim_name      
lt_dim_name " BPC: Dimension List
it_range         
=   lt_sel     " BPC: Selection condition
if_check_security
= ABAP_FALSE   " BPC: Generic indicator
IMPORTING
et_data          
= <lt_tx_data>
et_message       
= lt_message    " BPC: Messages
).


I am getting memory dump. Can you please let me know how to handle this case. I have more than 3Million records to be fetched from the cube.


I filled the LT_SEL with respective values, when I give a single value account, I am able to fetch without any issues for the same code.


ISSUE: Only when I run for a huge selection.


Viewing all articles
Browse latest Browse all 3280

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>