Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Selection Criteria in Infoset

Former Member
0 Kudos
652

Hi All,

In infosets, in the selections tab, i have defined a selection criteria & i want to restrict the values for this.

Eg: for MARC-WERKS

For single values i can use... DEFAULT '1000'

For a rangle of values i can use ... DEFAULT '1000' TO '1005'

But i am not sure how to enter the values if it is not in range i.e. i want the default values to be

1000, 1001, 1004, 1008

Hope my question is clear, await inputs.

Anyone to help on this?

Edited by: Vivek on Dec 22, 2007 5:54 PM

2 REPLIES 2

Former Member
0 Kudos
71

Hi,

You can do as below :

tables : marc.

select-options : so_werks for marc-werks.

At selection screen output.

so_werks-sign ='I'.

so_werks-option = 'EQ'.

so_werks-low = '1000'.

append so_werks.

Append all the values using the above method.

Thanks,

Sriram Ponna.

0 Kudos
71

Mr. Sriram,

Thanks for the inputs. But when i try to declare a field in Selections tab as 'Selection Criteria' & add a few lines of code to this field & try executing the query, i get the below message from system & the query terminates.

'Local SELECT-OPTIONS are not allowed (FORM routine or GET event is

active).'

I would like to know how to correct this error. I have tried for a few selection options in different query, but get the same error.

Is it because, if select-options i.e. in 'At Selection-Screen' is defined in infoset the query should not have any selection options & all selections must be handled in the infoset itself?

Await your inputs.

Vivek