on 05-03-2011 10:27 AM
Hi Folks, I am getting a short dump for the above Extended Notifications job which is I have scheduled to run with the "No Time Check" button checked.
It seems to be around the filter, and I do not have any relevent work items for the task that I have filtered the job on, but surely it should not short dump and instead finish without sending anything? If I remove the filter the job runs fine.
Thanks for any help. here are the dump details:
Runtime Errors RAISE_EXCEPTION
Date and Time 03.05.2011 10:00:57
Short text
Exception condition "NOT_FOUND" raised.
Error analysis
A RAISE statement in the program "CL_SWN_COLLECTOR==============CP" raised the
exception
condition "NOT_FOUND".
Since the exception was not intercepted by a superior
program, processing was terminated.
1 METHOD process_filter.
2 *- create notifications for a given filter
3
4 DATA li_scen TYPE REF TO if_swn_scenario.
5 DATA li_filter TYPE REF TO if_swn_filter.
6 DATA li_main_filter TYPE REF TO if_swn_filter.
7 DATA lt_notif TYPE swntnotif1.
8 DATA l_filter_applied TYPE swn_filtappl.
9 DATA l_subrc TYPE sysubrc.
10 DATA l_merge_mode TYPE swn_mergemode.
11 DATA lt_notif_pack TYPE swntnotif1.
12 DATA l_start TYPE sytabix.
13 DATA l_cnt_ins TYPE sydbcnt.
14 DATA l_cnt_mod TYPE sydbcnt.
15 DATA l_cnt_del TYPE sydbcnt.
16 DATA l_cnt_ins_sum TYPE sydbcnt.
17 DATA l_cnt_mod_sum TYPE sydbcnt.
18 DATA l_cnt_del_sum TYPE sydbcnt.
19 DATA l_dummy TYPE c.
20
21 FIELD-SYMBOLS: <filter> TYPE swnsfilter.
22
23 entered( 'process_filter' ).
24
25 li_scen = m_factory->get_scenario( i_scenario ).
26 li_filter = li_scen->get_filter( i_filter ).
27 IF NOT li_filter IS BOUND.
>> RAISE not_found.
Hi Gavin,
Check whether the table SWN_COLSCHED has any enries ot not?
The table should populated with the relavant data's.
Also debug the program and check in which cases it raises the exception.
Thanks,
Viji.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
In my SWNCONFIG I had given my scenario a Filter that no longer existed, when I updated the filter value it worked correctly.
Thank you
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.