how to clear parameters...?

Question: Hi abapers...
how to clear the parameter data...?
I have passed the value sy-datum in xyz parameter....
I want to clear it..

ex:PARAMETERS: Pdate TYPE d default sy-datum.

clear pdate. is not working...

Thanks in advance
priya

Answer:
Hi,
Clear works fine with variables from parameters. You must be doing something else. Paste the code here, so that i can see and tell you the mistake.


Best Regards.

Answer:
clear pdate. is not working...

Thanks in advance
priya

Press [CTRL] and [F3] button on your program at the same time. It will work, trust me
_________________
Regards,

EHW

When your friend is in trouble, don't annoy him by asking if there is anything you can do. Think up something appropriate and do it.

Answer:
well ......

parameters: a_date type d default sy-datum.

clear a_date.

write :/ 'Today/''s date is ', a_date.

this is wht i tried,... and to ur surprise CLEAR is working ,

Here goes the o/p,

Today/'s date is 00000000.

revert back .... for queries...
Copyright ?2007 - 2008 www.jt77.com