cancel
Showing results for 
Search instead for 
Did you mean: 

SWN_SELSEN Short Dump

Former Member
0 Kudos

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.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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.

Former Member
0 Kudos

Hi Viji,

Thanks for your advice but it looks like that table, as well as all the other relevant SWN* tables, are populated correctly.

I have debugged the program but in the foreground it doesn't dump which is unusual. Any other advice would be appreciated.

Answers (1)

Answers (1)

Former Member
0 Kudos

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