Quantcast
Viewing all articles
Browse latest Browse all 10425

Re: How to color manually calculated subtotal row yellow in grid display

Hi,

The code given by Rajkumar is the correct way.

Try with this.

1.Maintain a 4 char length field in output internal table(Having data to display).

2.Set the value for the additional color field as 'C310' against the required row in internal table.

   eg.   In o/p internal table

FIELD1   FIELD2 COLOR

aaaaa    10

subtotal 10          C310

 

3.In ALV layout, set layout-info_fieldname = 'COLOR'.    "The color field name

4.Pass layout,field catlog and output internal table while calling ALV.

 

Regards

Sreeknath


Viewing all articles
Browse latest Browse all 10425

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>