2009 Mar 18 10:15 AM
Hi Guys,
There are 2 pushbuttons in my screen that are going to work as a pair.
My question is u2013 once the user chooses on of the buttons how can I display that one as u201Cchosenu201D one ?? Like in checkbox we have tick mark to be shown as u201Cchosenu201D, how can we do that with a pushbutton ? Is this possible ?
Any hints are greatly appreciated.
Thanks,
Sandip.
2009 Mar 18 10:47 AM
Hello Sandip,
I am not so sure about your requirement. I' m just giving a try..
Once the user clicks on the button, U will be in the same screen?
You can go for Enable/Disable option...... I mean once the button is clicked U can make it disabled..
If my answer is not relevant....please ignore.
Thanks and regards
Sathya
Edited by: Sathya Gunasekaran on Mar 18, 2009 11:47 AM
Hi Guys,
There are 2 pushbuttons in my screen that are going to work as a pair.
My question is u2013 once the user chooses on of the buttons how can I display that one as u201Cchosenu201D one ?? Like in checkbox we have tick mark to be shown as u201Cchosenu201D, how can we do that with a pushbutton ? Is this possible ?
Any hints are greatly appreciated.
Thanks,
Sandip.
2009 Mar 18 10:47 AM
Hello Sandip,
I am not so sure about your requirement. I' m just giving a try..
Once the user clicks on the button, U will be in the same screen?
You can go for Enable/Disable option...... I mean once the button is clicked U can make it disabled..
If my answer is not relevant....please ignore.
Thanks and regards
Sathya
Edited by: Sathya Gunasekaran on Mar 18, 2009 11:47 AM
2009 Mar 18 11:35 AM
Hi Satya,
thanks for responding.
Actually it will stay in the same screen but the button should show as "selected". Disabling is an option but will not look good, and can be confusing too.
Regards,
Sandip.
2009 Mar 18 12:49 PM
Hi Sandip,
You can add an icon on button which shows that it wasn't selected, then if user press it, change the icon to "selected" one. As you look at any selection screen with select options parameter there is an icon which perfectly suits your requirement.
In PAI use FM ICON_CREATE in turn creating these two icons and then pass the text returned with this fm to your button.
The two mentioned icons are:
ICON_DISPLAY_MORE
ICON_ENTER_MORE
In this way you ensure that your program is not only functional but makes it look&feel as standard SAP applications.
Regards
Marcin
2009 Mar 19 3:20 AM
As far as i understand your problem, you can add the icon_okay to the pushbutton once its selected. If the other Pushbutton is selected you can remove the ICON_OKAY button from first button and add to other Pushbutton. In this manner you can easily show the users that which button has been selected without disabling option.
Regards,
Kanchan Patil.
2009 Mar 19 9:24 AM
Hi Sandip,
I know it might be inappropriate from my side asking for appreciation, but please note that if you mark the thread as aswered and any of the post helped you to resolve your issue, it is expectable that you assing some points to people helping you. This is a way of saying thank you in SCN and applies to all threads, not only this one.
Regards
Marcin
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |