Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Building Selection screen @runtime

Former Member
0 Likes
374

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 !

2 REPLIES 2
Read only

Former Member
0 Likes
337

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

Read only

0 Likes
337

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.