Parameter field values

Question:
Hi all
I have a plant parameter and a storage location parameter on a report.
I need to know how to only view storage locations by the plant that I have entered i.e. when I put a plant in the plant parameter, it will only display storage locations for that plant in the storage location paramter field..
Any help would be greatly appreciated....
Answer:
Checkout this code:
http://www.sap-img.com/abap/value-request-for-parameter.htm

Answer:
thanks wiraone
exactly what I needed

More Articles:

[no CAPS LOCK please.]?
BAPI/DCOM?
How to download int table to XLS with column header labels?
BAPI_PERSDATA_CHANGE - how to use ?
RESB TABLE IN PRODUCTION PLANNING?
User Exits?