‎2008 Jun 21 6:32 AM
Hi while executing a report iam facing an error.
cs_salv_bs_sc_runtime_info exception is thrown. Near the Function Module SSF_FUNCTION_MODULE_NAME..
Please tell me how to catch that error?
Its going into ABAP DUMP..
‎2008 Jun 21 6:47 AM
Hi,
Which method are you trying to use from the class: cx_salv_bs_sc_runtime_info
You need to write the stmt. inside TRY..ENDTRY as follows:
TRY.
CALL METHOD l_stmt_ref->execute_query
EXPORTING
statement = lv_stmt
hold_cursor = space
RECEIVING
result_set = l_res_ref.
catch SQL and parameter errors
CATCH cx_sql_exception INTO lr_cxsql.
error_text = lr_cxsql->get_text( ).
err_no = sy-msgno.
ENDTRY.
Hope this helps.
Regards,
Subramanian
‎2008 Jun 21 6:41 AM
analyse the dump in st22. See if u are missing any parameter. or if thr is any mismatch in datatype.
betwwen the parameters that u have delared and the Data type that the FM accepts...
Reward points..if the ans is helpful..
‎2008 Jun 21 6:47 AM
Hi,
Which method are you trying to use from the class: cx_salv_bs_sc_runtime_info
You need to write the stmt. inside TRY..ENDTRY as follows:
TRY.
CALL METHOD l_stmt_ref->execute_query
EXPORTING
statement = lv_stmt
hold_cursor = space
RECEIVING
result_set = l_res_ref.
catch SQL and parameter errors
CATCH cx_sql_exception INTO lr_cxsql.
error_text = lr_cxsql->get_text( ).
err_no = sy-msgno.
ENDTRY.
Hope this helps.
Regards,
Subramanian