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

Selection-screen - add default value to multiple selection

Former Member
0 Likes
473

Hi,

How I can add a default value for multiple selection, on a Select-options?

Thanks in advance,

Brian Gonsales

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
377

Hi

If you mean to upload a default value in selection-screen:

TABLES T001.

SELECT-OPTIONS S_BUKRS FOR T001-BUKRS DEFAULT 'ZZZZ'.

or

TABLES T001.

SELECT-OPTIONS S_BUKRS FOR T001-BUKRS.

INITIALIZATION.

  S_BUKRS(3) = 'IEQ'.
  S_BUKRS-LOW = 'ZZZZ'.
  APPEND S_BUKRS.

Max

2 REPLIES 2
Read only

Former Member
0 Likes
377

By default, selection optoins are RANGES, therefore to fill these before display, in the INITIALIZATION section


  CLEAR: so_field, so_field[].
  so_field = 'IEQvalue'. append so_field.
  so_field = 'IEQvalue2'. append so_field.
  so_field = 'IEQvalue3'. append so_field.

If you want ranges


  CLEAR: so_field, so_field[].
  so_field = 'IBT'. so_field-low = 'lowvalue'. so_field-high = 'highvalue' append so_field.
*
*
*  ETC

Edited by: Paul Chapman on May 15, 2008 9:30 AM

Read only

Former Member
0 Likes
378

Hi

If you mean to upload a default value in selection-screen:

TABLES T001.

SELECT-OPTIONS S_BUKRS FOR T001-BUKRS DEFAULT 'ZZZZ'.

or

TABLES T001.

SELECT-OPTIONS S_BUKRS FOR T001-BUKRS.

INITIALIZATION.

  S_BUKRS(3) = 'IEQ'.
  S_BUKRS-LOW = 'ZZZZ'.
  APPEND S_BUKRS.

Max