2008 Mar 13 4:59 PM
Hallo everybody.
I need to link two non-function-keys of the keyboard:
- "Y" as "Yes" button --> it continues the elaboration
- "N" as "No" button --> it comes back to the previous screen
for trigger two command buttons in a dynpro.
Is it possible to do it?
How can I do it?
I hope that you can help me.
Thanks in advance.
Regards
Alfonso Gentile
2008 Mar 16 3:43 AM
I don't think you are going to be able to do that with SAPGui and buttons... you could use a listbox with "Y" and "N" options and link a command to the listbox on change of value, but typically the SAPGui does not respond to "keypress" events directly unless there is a front-end control of some sort watching for this.
Jonathan
I don't think you are going to be able to do that with SAPGui and buttons... you could use a listbox with "Y" and "N" options and link a command to the listbox on change of value, but typically the SAPGui does not respond to "keypress" events directly unless there is a front-end control of some sort watching for this.
Jonathan
2008 Mar 16 3:43 AM
I don't think you are going to be able to do that with SAPGui and buttons... you could use a listbox with "Y" and "N" options and link a command to the listbox on change of value, but typically the SAPGui does not respond to "keypress" events directly unless there is a front-end control of some sort watching for this.
Jonathan
2008 Mar 16 10:04 AM
Thank you for your reply, Jonathan.
The listbox on the dynpro is a good idea, but my application is studied for work with radio-frequency terminals. So I think that the listbox could not be supported.
Anyway I'll propose my solution inserting a controlled I/O field (type CHAR1) where the user will choose the 2 answers (Y/N only) and confirm with Enter.
Regards
Alfonso Gentile
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |