Sometime ago, I started doing research in creating a dynamic selection screen similar to se16n initial screen. Today, I found a forum in sap sdn about creating this type of selection screens. I have to paste this code before someone will delete the page or I will not be able to locate this again (funny though). This code was contributed by Sumant Sura to give credit to his work. I can't guarantee yet if how this code works. I will try to code this when I get by the office again then I will let you know. For more info about dynamic selection screen, you may visit this
forum.
FUNCTION y_ss_test_dynamic_selection.
*"----------------------------------------------------------------------
""Local interface: