Application Development and Automation 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: 
Read only

select options no intervals - default value

Former Member
0 Likes
1,347

Hi All,

I have the following statement for selection.

SELECT-OPTIONS : S_BUKRS FOR BSEG-BUKRS no intervals.

I have to default it with values 1000 and 1100. When I click the right arrow button next to the field, I should see 1000 and 1100.

Can someone please help me in implimenting it.

Thanks,

Veni.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
733

Hi,

SELECT-OPTIONS : S_BUKRS FOR BSEG-BUKRS no intervals.

At selection-screen output.

S_BUKRS-low = '1000'.

S_BUKRS-sign = 'I'.

S_BUKRS-options = 'EQ'.

append s_bukrs.

S_BUKRS-low = '1100'.

S_BUKRS-sign = 'I'.

S_BUKRS-options = 'EQ'.

append s_bukrs.

Thanks,

Senthil

2 REPLIES 2
Read only

Former Member
0 Likes
734

Hi,

SELECT-OPTIONS : S_BUKRS FOR BSEG-BUKRS no intervals.

At selection-screen output.

S_BUKRS-low = '1000'.

S_BUKRS-sign = 'I'.

S_BUKRS-options = 'EQ'.

append s_bukrs.

S_BUKRS-low = '1100'.

S_BUKRS-sign = 'I'.

S_BUKRS-options = 'EQ'.

append s_bukrs.

Thanks,

Senthil

Read only

naimesh_patel
Active Contributor
0 Likes
733

Try like this:


TABLES: BSEG.

SELECT-OPTIONS : S_BUKRS FOR BSEG-BUKRS NO INTERVALS.

INITIALIZATION.
  S_BUKRS-SIGN = 'I'.
  S_BUKRS-OPTION = 'EQ'.
  S_BUKRS-LOW    = '1000'.
  APPEND S_BUKRS.

  S_BUKRS-SIGN = 'I'.
  S_BUKRS-OPTION = 'EQ'.
  S_BUKRS-HIGH   = '1100'.
  APPEND S_BUKRS.

Regards,

Naimesh Patel

Edited by: Naimesh Patel on Aug 27, 2008 1:18 PM