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

Multiple default values for a selection option?

Former Member
0 Likes
2,634

Hi Guys,

Can anybody tell me how to provide Multiple default values for a selection option.In my situation i have to provide for item category(VBRP-PSTYV )the values are 'TANN' , 'TASS' and 'RENN'.i just want to know is it possible or not?if so how?

Thanks,

Gopi.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
711

Hello,

You can fill the select-options in the INITIALIZATION event.


INITIALIZATION.
  selopt-option = 'I'.
  selopt-sign   = 'EQ'.
  selopt-low    = 'TANN'.
  APPEND selopt.

  selopt-low    = 'TASS'.
  APPEND selopt.

  selopt-low    = 'RENN'.
  APPEND selopt.

Regards,

3 REPLIES 3
Read only

Former Member
0 Likes
712

Hello,

You can fill the select-options in the INITIALIZATION event.


INITIALIZATION.
  selopt-option = 'I'.
  selopt-sign   = 'EQ'.
  selopt-low    = 'TANN'.
  APPEND selopt.

  selopt-low    = 'TASS'.
  APPEND selopt.

  selopt-low    = 'RENN'.
  APPEND selopt.

Regards,

Read only

0 Likes
711

Hi David,

can u show me how to provide 3 Default values for a slection option with Example?

Thanks,

Gopi

Read only

Former Member
0 Likes
711

hi check this..

tables:mara.

select-options:s_matnr for mara-matnr .

initialization.

s_matnr-low = '1000'.

s_matnr-sign = 'I'.

s_matnr-option = 'EQ'.

append s_matnr.

s_matnr-low = '2000'.

s_matnr-sign = 'I'.

s_matnr-option = 'EQ'.

append s_matnr.

s_matnr-low = '3000'.

s_matnr-sign = 'I'.

s_matnr-option = 'EQ'.

append s_matnr.

s_matnr-low = '4000'.

s_matnr-sign = 'I'.

s_matnr-option = 'EQ'.

append s_matnr.

regards

venkat