Skip to Content
author's profile photo Former Member
Former Member

Changing Field Color in Dialog Programing

Hi,

I would like to know how to change the field background color (red or green). I have seen there is an attribute called screen-color. But i am unable to find any difference in the program even i tried with values.

<b>Screen-Color</b> what is the exact usage ?

Giri

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Feb 11, 2005 at 04:17 AM

    Hello Giri,

    Seems like the field COLOR of the structure <i>SCREEN</i> is yet to be documented. The documentation , however says this much:

    <i>As of release 6.20, structure screen is described by data type SCREEN in the ABAP Dictionary. With release 6.10, it was determined by type syscr_screen of type group SYSCR. Before release 6.10, it was created system-internally with a bound data type.</i>

    I have done a quick where-used analysis for the field COLOR of the structure SCREEN, but have not found any results.

    BTW, it has been discussed at length about the possibility of coloring a screen (or some screen elements like a table control's cells). And the conclusion in general is that it is not possible.

    Regards,

    Anand Mandalika.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Feb 11, 2005 at 02:37 PM

    ALV supports coloring the columns, rows and individual cells.

    Dynamic Documents also support color.

    Business Server Pages probably support color but that is all new to me.

    As far as I know, you cannot color standard screen items. The design is that users control the screen colors at the presentation server and therefore the programmer should not be coloring the colors. As new features like ALV, Dynamic Documents, etc, this design is changing so that the programmers get control of the colors.

    I can point out some documentation if you would like to follow up on any of these ideas.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.