04-12-2013 5:48 AM
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
04-12-2013 12:58 PM
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
04-12-2013 8:30 AM
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
04-12-2013 9:10 AM
I tried the code snippet and did not get any message even if I pass values or not.
When exactly you get this message?
04-12-2013 9:27 AM
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.
04-12-2013 10:23 AM
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
04-12-2013 11:00 AM
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.
04-12-2013 12:58 PM
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