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

Former Member
0 Likes
582

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
Read only

gopi_narendra
Active Contributor
0 Likes
558
SELECT-OPTIONS : so_date FOR sy-datum.

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

Regards

Gopi

5 REPLIES 5
Read only

gopi_narendra
Active Contributor
0 Likes
559
SELECT-OPTIONS : so_date FOR sy-datum.

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

Regards

Gopi

Read only

Former Member
0 Likes
558

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....

Read only

Former Member
0 Likes
558

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.

Read only

Nimesh_S_Patel
Explorer
0 Likes
558

Hi Supriya,

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

Regards

Nimesh S. Patel

Read only

Former Member
0 Likes
558

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