‎2007 Jul 18 2:51 AM
Helllo,
I have to create a selection screen but all the parameters of the sel. screen would be generated at runtime..
I would not know the fieldname before runtime.
eg: s_opt for vbak-vbeln
vbak-vbeln would only be known at runtime..
can you please let me know, how to acheive this ?
thanks !
‎2007 Jul 18 2:57 AM
Hi Dhruv,
I don't think this is possible.
You may create a selection screen with all the parameters and based on some conditions can hide the parameters at run time using AT SELECTION SCREEN OUTPUT.
Regards,
Atish
‎2007 Jul 18 3:35 AM
In SE38, have a look at the programs starting DEMO_SPECIAL_* ... you can see there how to create a complete program "on the fly" which could be tuned to meet your runtime needs... but keep in mind that you will want a unique name for the program you generate so you might want to have userid and session number in the generated name too.