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

ALV/SALV change cell border color

HI,

sorry for asking a questions maybe already solved, but i can´t find a topic to that.

is it possible to change the cell border color like the output of data_changed protocoll in case of an error ?

thx,

Gordon

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Posted on Nov 12, 2009 at 09:47 PM

    Hi Gordon,

    probably you cant find a thread because nobody ever wanted to try 😊

    In case of data_changed protocol it is not statndard ALV what you see but a table sent to a control at the client by FUNCTION DP_CONTROL_ASSIGN_TABLE. Obviously this is used for the cell border color.

    The function is called by method SET_ERROR_CELLS of class CL_GUI_ALV_GRID_BASE.

    You may experiment with this function but it will be a difficult task to apply changes to CL_GUI_ALV_GRID: Even if you inherit a class, you may overwrite (redefine) method CHECK_CHANGED_DATA but you can't change method SAVE_DATA as it is declared private. But you may redefine CHECK_CHANGED_DATA and replace DAVE by MY_SAVE. In MY_SAVE you can exchange the SET_ERROR_CELLS and try something different to change eror cell frame color.

    Even more difficult is modification of the error cell popup display: This is a control using standard SBAL application log functions and they are more than complex.

    Regards,

    Clemens

    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.