‎2007 Aug 13 1:15 PM
Hi abapers,
my question is...... is it possible to add input box to screen painter though code,
NOT by drag and drop?
‎2007 Aug 13 3:07 PM
Well it would probably be technically possible to create a complete dynpro "on the fly" in memory and then save and generate it (i.e. replicate everything SAP does in SE80) and then display it to the user... however the risks are high, and the user might not like the delay while your program does this. The usual practice is to define the field on the screen, and then hide it if it is not required under some circumstances, using the usual "loop at screen. screen-active = '0'. endloop." technique.