04-15-2006 6:26 AM
Hi guyz
I want to first assign default values to the parameters on the selection screen and than after list diaplay.. when user presses back and return to the selection screen.. I want selection screen to get cleared..
Can any body tell me how to do this??
I tried this with at selection-screen output but thr we can not disply default values of parameters..as this event triggers before screen display..all defalut values are getting cleared if m putting clear <paname> in this event.
I referred ealier thread discussing clearing selection-scren but its not working coz i wann display default values too
Thanks in advance
04-15-2006 6:33 AM
Rashmi,
The only place where you can clear the values is in the INITILIAZATION event / AT SELECTION SCREEN. But unfortunately the same events fire when you come back from the selection screen.
However, what you can do is set a variable once the program is executed. So, check for a value in the variable and then clear the values. When you execute for the first time, the variable will be empty so you will get the default values.
Regards,
Ravi
Note : Please mark the helpful posts
04-15-2006 6:33 AM
04-15-2006 6:33 AM
Rashmi,
The only place where you can clear the values is in the INITILIAZATION event / AT SELECTION SCREEN. But unfortunately the same events fire when you come back from the selection screen.
However, what you can do is set a variable once the program is executed. So, check for a value in the variable and then clear the values. When you execute for the first time, the variable will be empty so you will get the default values.
Regards,
Ravi
Note : Please mark the helpful posts
04-15-2006 2:55 PM
Hi guyz
I got it
i did it as Ravi said by transferring value of parameter to a variable and than clearing the parameter.
thanks for your responses.
04-15-2006 6:42 AM
Hi Rashmi,
<b>I want to first assign default values to the parameters on the selection screen</b>
Use: Parameters: param type i <b>default</b> '123'.
<b>when user presses back and return to the selection screen</b>
For this you can use code to clear this param in
First:Identify the function code of Back
then in
AT USER COMMAND
IF sy-ucom = 'BACK'.
CLEAR param.
ENDIF.
Hope this will surely help.
IF your problem is solved please
close the thread & reward points.
05-31-2006 11:32 AM
Dear All,
please answer my questions:
1.what do get if you refer to dictionary if have definition with tables?
A] Fields
B] internal tables
C] transparent table
D]none
2.what do get if you refer to dictionary if have definition with tables?
A] Fields
B] internal tables
C] transparent table
D]none
With Regrads,
J.U.