Skip to Content

How to Color Specific Row with SALV Factory Method with Dynamic Internal Table?

Hi everyone,

I have one report which is written by SALV Factory Method, and main table is created dynamic.

I need to color one specific row , I couldnt still achieve this.

I tried to add field one field which has type of 'lvc_s_scol' but I couldnt see it in my dynamic internal table,

thats way I couldnt fill the values for lvc_s_scol field.

Is there any solution to color a specific row in dynamic internal table which report was written by salv factory method?

,

any help will be apprecited ,

thank you

best regards.

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • Best Answer
    Apr 14, 2016 at 02:24 PM

    You wrote:

    How to Color Specific Row

    (...)

    I tried to add field one field which has type of 'lvc_s_scol' but I couldnt see it in my dynamic internal table,

    Which tool did you use to create the itab, which error did you get when adding an element with either type LVC_T_SCOL for cell colot or a single CHAR length 4 field for row color (and not a LVC_S_SCOL?)

    Ref: Look for Coloring Rows and/or Coloring Cells in online help.

    Regards,

    Raymond

    Add comment
    10|10000 characters needed characters exceeded