2009 Jul 25 6:37 AM
dear sir,
I using custom control for one application. In that custom control I want two dictionary fields out of 7 created in z-table.
another one.
i want color text for one heading in screen layout which placed in push button .
.........
in alv list display i had already done color for rows, cells and coloums but I want color for heading in list display.......
plase tell me sirs....
2009 Jul 25 9:39 AM
Hi Suresh,
I using custom control for one application. In that custom control I want two dictionary fields out of 7 created in z-table.
Do you want dictionary fields be placed directly in custom control? This is not possible, unless you are using ALV. Custom control is used only to hold GUI controls inside. Classic controls such as screen fields can only be placed directly on screen layout.
For ALV, you simply place 2 entries for fields you want in fieldcatalog, then you place your ALV in custom control. Only those two will be shown on screen (not all 7).
i want color text for one heading in screen layout which placed in push button
If I get your right, you want to color text dispayed on pushbutton? This is not possible either. You can only highlight (blue color) parameters on screen by setting INTENSIFIED = 1 value for that screen field (i.e. in PBO of screen), but not for pushbutton. You can, however place an icon on that pushbutton by means of fm ICON_CREATE .
in alv list display i had already done color for rows, cells and coloums but I want color for heading in list display.......
Unfotunatelly, for heading (coulmn names) this is not implemented in ALV. You can't color them as well.
Sorry but there are some restrcitions which developers can't get over.
Regards
Marcin
2009 Jul 25 9:39 AM
Hi Suresh,
I using custom control for one application. In that custom control I want two dictionary fields out of 7 created in z-table.
Do you want dictionary fields be placed directly in custom control? This is not possible, unless you are using ALV. Custom control is used only to hold GUI controls inside. Classic controls such as screen fields can only be placed directly on screen layout.
For ALV, you simply place 2 entries for fields you want in fieldcatalog, then you place your ALV in custom control. Only those two will be shown on screen (not all 7).
i want color text for one heading in screen layout which placed in push button
If I get your right, you want to color text dispayed on pushbutton? This is not possible either. You can only highlight (blue color) parameters on screen by setting INTENSIFIED = 1 value for that screen field (i.e. in PBO of screen), but not for pushbutton. You can, however place an icon on that pushbutton by means of fm ICON_CREATE .
in alv list display i had already done color for rows, cells and coloums but I want color for heading in list display.......
Unfotunatelly, for heading (coulmn names) this is not implemented in ALV. You can't color them as well.
Sorry but there are some restrcitions which developers can't get over.
Regards
Marcin
2009 Jul 27 2:36 PM