‎2009 Apr 02 5:50 PM
Is it possible to create fields on a container? I know how to create an alv or insert a graphic, but can I also create fields on a container?
‎2009 Apr 02 6:02 PM
Hi,
You cannot create the Field on the container..Instead you can place field and custom container on the Dynpro screen.
‎2009 Apr 02 7:02 PM
ALV is a gui control , which means it can be bind with the screen via custom container and container on the screen. Generally most of "modern" controls are created dynamically by instiantating one of delivered class (i.e. cl_gui_alv_grid, cl_salv_table, cl_gui_alv_tree etc).
On contrary, we have classical controls just called controls . These, on the other hand have to be phisically placed on the screen (like fields, checkboxes, radiobuttons, pushbuttons etc) or can be used on selection screen via parameters or select-options statements. These controls must reside on screen itself (without container). You set them statically (and possibly change their attributes dynamically in loop at screen loop).
As for the question itself: NO, fields (as part of controls ) can be placed only on the screen or subscreen which you can in turn display dynamically druing program execution (using subscreen area ). No container is involved here.
Regards
Marcin
‎2009 Apr 02 7:06 PM
HI,
It is not possible to create fieds in custom container. container is an area where you can display your application data only.
Regards,
Peranandam
‎2009 Apr 03 9:23 AM
‎2009 Apr 03 11:57 AM