2013 Jan 12 9:08 AM
Hello,
I create a parameter of material number on a selection screen. I code under 'AT SELECTION-SCREEN OUTPUT' to select old material number from the DB Table and output the old number on the selection screen. To inquire the old number, the user should first input a material number and press 'Enter'. The old number shows then. How can I replacing 'Enter' with 'Tab' to process the 'AT SELECTION-SCREEN OUTPUT' module. Because there are many other fields should be input by the user, when the cursor is set on the second field, the select statement is processed.
Thanx.
Hello,
I create a parameter of material number on a selection screen. I code under 'AT SELECTION-SCREEN OUTPUT' to select old material number from the DB Table and output the old number on the selection screen. To inquire the old number, the user should first input a material number and press 'Enter'. The old number shows then. How can I replacing 'Enter' with 'Tab' to process the 'AT SELECTION-SCREEN OUTPUT' module. Because there are many other fields should be input by the user, when the cursor is set on the second field, the select statement is processed.
Thanx.
2013 Jan 12 9:40 AM
hi pls clarifty one point , in the selection screen first you will enter a value in material number(paramter) if you press enter what should happen?
What and why old number is?
Do you want to suppress the field or do you want to enable facility to reenter the data in that field ?
Reagrds,
Praveen Chitturi
2013 Jan 15 1:28 AM
Hello Praveen Chitturi,
If I press 'Enter', a select statement is triggered and an old material number SHOWS as 'SELECTION-SCREEN OPTION COMMENT... '. The old number is just a piece of material information which I select from DB Table.
I wanna trigger the select statement using 'Tab' instead of 'Enter' to facilitate user input.
Thanx very much.
2013 Jan 14 1:51 PM
I would look at the F1 ABAP help for AT SELECTION-SCREEN.
For instance AT Selection-screen ON <fieldname> (2nd field).... see your help, along with program DEMO_SELECTION_SCREEN_EVENTS that demonstrates the events and how to code for these. You would essentially read the necessary table at this point to get the 2nd value. Of course, you could do this multiple times, and you probably would want to allow that, since the user could change either value at any time up to execution.
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |