Skip to Content
0
Former Member
Jun 08, 2009 at 01:51 PM

Problem with start routine ft. double exclusion

106 Views

Hi,

I need a start routine that deletes records not equal to 2 certain values for a specific field plus the records that have a specific value for another filed. Right now I'm having trouble with the first requirement. There is a certain field in the source package that must be deleted if not equal to value '0200' or '0500'.

I tried using SELECT-OPTIONS (read that in a ABAP for BI best-pratices document) but I'm getting the following error:

local SELECT-OPTIONS not allowed (FORM routine or GET event is active). It is in 7.0 and no statements were programmed by me before the SELECT-OPTIONS?

Does anybody have an idea what the problem is, or how I could reach my goal otherwise?