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 Error :Entered Selections were not accepted

former_member184739
Contributor
0 Kudos

Dear All,

I have used the following code to populate select-options when the Report runs.But when i click Multiple Selection and come back to

selection screen it displays the below message.Please advise.


Code:

SELECT-OPTIONS s_unam for sy-uname.

INITIALIZATION.

s_unam-sign = 'I'.

s_unam-OPTION = 'BT'.

s_unam-low = 'ZA'.

s_unam-high = 'ZZ'.

APPEND s_unam.

Thanks

Prabaharan

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi Prabhakaran,

The Message u mentioned gets generated only in case of u click on SELECT-OPTION button on selection screen..

Each time u  click on the Select-option button , SAP opens a new window for inputting of values( single, multiple) and SAP thinks that the values for field are either iputted or changed. then if u click ok, it will take those iputted values and incase of closing the window it doesnot reflect the values iputted in that window and displays that message..

hope this will help u understand clearly..

Regards,

Azharuddin 

6 REPLIES 6

Former Member
0 Kudos

Hi,

     The message appears when you close the multiple selection window. It means that whatever the input you gave in multiple selection window will not be accepted because you closed it. The message doesn't really mean that it does not accept the input S_UNAM between ZA and ZZ that you have populated in the INITIALIZATION event.

Hope that you got my point.

~Athreya

Sandeep_Kumar
Product and Topic Expert
Product and Topic Expert
0 Kudos

I tried the code snippet and did not get any message even if I pass values or not.

When exactly you get this message?

former_member282823
Active Participant
0 Kudos

Hi,

  Just try like this. instead of writing your code in the initialisation.

Select-options: s_unam for sy-uname default 'ZA' to 'ZZ'.

Regards,

Ramesh.

former_member15255
Active Participant
0 Kudos

Hello,

The scenario referred by you for me it happens when i click on the cancel button of multiple selection box. But while clicking on execute buttons does not give such message.

Correct me if i am wrong, hopefully you would be clicking on CANCEL button

Regards

Suresh Nair

Former Member
0 Kudos

Hi,

Even when i checkd the above code it did not give me any message.

On clicking the Cancel button it gave the above message.

Thankyou.

Best Regards,

Varun D.

Former Member
0 Kudos

Hi Prabhakaran,

The Message u mentioned gets generated only in case of u click on SELECT-OPTION button on selection screen..

Each time u  click on the Select-option button , SAP opens a new window for inputting of values( single, multiple) and SAP thinks that the values for field are either iputted or changed. then if u click ok, it will take those iputted values and incase of closing the window it doesnot reflect the values iputted in that window and displays that message..

hope this will help u understand clearly..

Regards,

Azharuddin