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: 

SELECT-OPTIONS

Former Member
0 Kudos
86

hi,

I have a SELECT-OPTIONS to be used.

i need to initialise the High value to a particular value.

can someone tell me how to do that?

1 ACCEPTED SOLUTION

gopi_narendra
Active Contributor
0 Kudos
62
SELECT-OPTIONS : so_date FOR sy-datum.

INITIALIZATION.
  so_date-high = '20071225'.
  APPEND so_date.

Regards

Gopi

5 REPLIES 5

gopi_narendra
Active Contributor
0 Kudos
63
SELECT-OPTIONS : so_date FOR sy-datum.

INITIALIZATION.
  so_date-high = '20071225'.
  APPEND so_date.

Regards

Gopi

Former Member
0 Kudos
62

hi supriya,

This is kiran kumar.G.I will send the sample code for that check it once ok...

Code:

tables: vbak.

select-options: s_vbeln for vbak-vbeln.

initilization.

s_vbeln-sign = 'I'.

s_vbeln-option = 'BT'.

s_vbeln-low = '100'. "Low Value

s_vbeln-high = '200'. "High Value

append s_vbeln.

Award points if helpful.

Kiran Kumar.G

Have a Nice Day....

Former Member
0 Kudos
62

Hi supriya,

1. use like this.

(select option is also an internal table, behind the scenes,

with four fields)

2. suppose the select option name is abc.

INITIALIZATION.

abc-high = highvalue.

abc-sign = 'I'.

abc-option = 'BT'

append abc.

regards,

amit m.

Nimesh_S_Patel
Explorer
0 Kudos
62

Hi Supriya,

fill your select-option high value in AT SELECTION-SCREEN OUTPUT event . You will find result.

Regards

Nimesh S. Patel

Former Member
0 Kudos
62

hi

initialization.

sval-sign = 'I'.

sval-option = 'BT'.

sval-high = 'xxxx'.

append sval.

regards,

pavan

Edited by: pavan kumar pisipati on Dec 26, 2007 7:06 AM