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

fileds placed in custom control

Former Member
0 Likes
518

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....

1 ACCEPTED SOLUTION
Read only

MarcinPciak
Active Contributor
0 Likes
466

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

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....

2 REPLIES 2
Read only

MarcinPciak
Active Contributor
0 Likes
467

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

Read only

Former Member
0 Likes
466

getting blue color.

but i want red color for fields.