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

Problem with select options on selection screen

Former Member
0 Kudos
838

I am getting the following issue when I click on the select option field.

Whenever I click on the field I get a pop-up "Maintain Select Options" which has options like > , < , >= , <= , =.

On selectiong any of the option an input field appears rather than the signs. and that input field has value:

@24\QSelect: Greater than/equal to@

This is an unusal behaviour occuring only for this program.

7 REPLIES 7
Read only

former_member404244
Active Contributor
0 Kudos
651

Hi,

Please see how u define the select options and also anycode has written in the initilization event , at selection-screen output events.

Regards,

Nagaraj

Read only

Former Member
0 Kudos
651

could you please paste the code how you declared the select option and the AT SELECTION-SCREEN OUTPUT event block.

Read only

0 Kudos
651

INITIALIZATION.

  • Set Tab-Titles (text-st1 ==> text-st6)

tabs1 = text-st1.

tabs2 = text-st2.

tabs3 = text-st3.

tabs4 = text-st4.

tabs5 = text-st5.

tabs6 = text-st6.

  • set some defaults

gd_variant-report = sy-repid.

  • Default the order creation date to 30 days ago.

CLEAR s_erdat.

s_erdat-low = sy-datum - 30.

s_erdat-sign = 'I'.

s_erdat-option = 'GE'.

APPEND s_erdat.

  • Default sales org (user)

GET PARAMETER ID 'VKO' FIELD s_vkorg-low.

IF sy-subrc = 0.

s_vkorg-sign = 'I'.

s_vkorg-option = 'EQ'.

APPEND s_vkorg.

ENDIF.

AT SELECTION-SCREEN OUTPUT.

  • disable input if "ignore" flag is checked

LOOP AT SCREEN.

IF screen-group1 = 'PAR' AND p_ignpar = 'X'

OR screen-group1 = 'CHA' AND p_igncha = 'X'.

screen-input = ''.

MODIFY SCREEN.

ELSE.

screen-input = 1.

MODIFY SCREEN.

ENDIF.

ENDLOOP.

Read only

0 Kudos
651

Hi,

Please let us know which selection screen field the problem is there

try to change the code as below and see

select-options : s_vkorg for vbak-vkorg default '1000' <something like this

comment the below code.

  • Default sales org (user)

GET PARAMETER ID 'VKO' FIELD s_vkorg-low.

IF sy-subrc = 0.

s_vkorg-sign = 'I'.

s_vkorg-option = 'EQ'.

APPEND s_vkorg.

ENDIF.

Regards,

Nagaraj

Read only

0 Kudos
651

I am getting this problem with all the select options.

The selection screen has five tabs and each tab has certain select options and all of them are giving the same problem.

Read only

0 Kudos
651

use

screen-input = 1.

or screen-input = 0. "and not ' '

and try

Read only

0 Kudos
651

The above solution is not working.