2016 Sep 26 10:51 AM
Hi all Experts,
iam clearing all the selection-screen parameters after modifying,through At Selection-screen Output event.
But all parameters are getting cleared even if i press Enter key.
so how to get function code of Enter key in selection-screen.?
Thanks in advance,
Kiran.
Hi all Experts,
iam clearing all the selection-screen parameters after modifying,through At Selection-screen Output event.
But all parameters are getting cleared even if i press Enter key.
so how to get function code of Enter key in selection-screen.?
Thanks in advance,
Kiran.
2016 Sep 26 12:04 PM
You can put one button in Selection screen then check with sy-ucomm at selection-screen output then
clear the content.If it is possible
Hope you understood.
2016 Sep 26 12:14 PM
You can declare
TABLES sscrfields.
and look at
sscrfields-ucomm
2016 Sep 26 10:32 PM
Horst,
You did set me straight - I can't find the post now - Standard selection screen programs do have a "built-in" GUI Status that returns ONLI for an Enter. I played around with a test program and found that the problem is that Kiran Kanth is trying to use AT SELECTION-SCREEN OUTPUT. The sscrfields and sy-ucomm are both available only on the AT SELECTION-SCREEN. The OUTPUT behaves like the PBO in a dialog program.
DATA:
werks TYPE werks_d.
TABLES sscrfields.
SELECTION-SCREEN BEGIN OF BLOCK plant WITH FRAME.
SELECT-OPTIONS r_werks FOR werks.
SELECTION-SCREEN END OF BLOCK plant.
AT SELECTION-SCREEN OUTPUT.
CASE sscrfields-ucomm. "Or sy-ucomm
WHEN 'ONLI'.
"My Code
ENDCASE.
START-OF-SELECTION.
2016 Sep 27 8:25 AM
2016 Sep 26 5:20 PM
In your GUI Status, have you specified a function code for enter? Without that even the sscrfields-ucomm will be blank
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |