Quantcast
Channel: SCN : Discussion List - SAP Planning and Consolidation, version for SAP NetWeaver
Viewing all articles
Browse latest Browse all 5414

Query Read returns # values

$
0
0


Experts ,


Please advise on below issue ...


Comparing two systems (Dev and Quality)


In execution for below read method (for BPC infocube) same parameters are passed (lt_range & ct_data_income), but in dev system <Lt_read_out> gets junk values (As ####)for all fields except ones selected in lt_range


CALL METHOD me->read
EXPORTING
it_range      
= lt_range
it_data_income
= ct_data_income
IMPORTING
ef_end_of_data
= lf_end_of_data
et_current    
= <lt_read_out>
CHANGING
cf_first_call 
= lf_first_call.

 

Further drilling down, it calls the below DB_SQL function which is not possible to debug into it and again all parameters passed are the same in both systems but <outtab> gets junk (##) values


CALL 'C_DB_FUNCTION' ID 'FUNCTION' FIELD 'DB_SQL'

                       ID 'FCODE'    FIELD c_fcode_next_package

                       ID 'CONNAME'  FIELD me->con_ref->con_name

                       ID 'CONDA'    FIELD me->con_ref->con_da

                       ID 'CURSOR'   FIELD me->cursor

                       ID 'BOUND'    FIELD me->outvals_bound

                       ID 'OUTVALS'  FIELD me->parameters->param_tab

                       ID 'OUTTAB'   FIELD <outtab>

                       ID 'LINE'     FIELD <line>

                       ID 'UPTO'     FIELD upto

                       ID 'ROWCNT'   FIELD rows_ret

                       ID 'SQLCODE'  FIELD sql_code

                       ID 'SQLMSG'   FIELD sql_msg.

 

Checked on SQL traces in ST05, but no logs for execution of 'C_DB_FUNCTION'


Thanks & Regards,

Anup Singh




Viewing all articles
Browse latest Browse all 5414

Trending Articles



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