10-11-2010 2:26 PM
HI,
I HAVE AN REPORT TO BE OUTPUTTED IN THE FORM OF ALV GRID.
IN THAT ONE OR MORE ONE RECORDS CAM BE ERRORNEOUS, I WANT TO DISPLAY THE ERROR RECORDS IN RED COLOUR.
CAN NEBDY TELL ME THE SOLUTION.
Moderator Message: Do not type in All Caps. Do not expect others to do your work. Do search before post. Do not use sms language.
Edited by: kishan P on Oct 11, 2010 7:36 PM
10-11-2010 2:50 PM
Hi
1. First in u r output internal table take one extra field of type rl034-farbe.
2. When u r populating the final internal table based on the condition pass color code into above field.(eg : C30 - for green color)
3. In layout of alv grid populate the field slis_layout_alv-info_fieldname = 'Field Name of color" of step 1.
4. Now call the FM and pass this layout str and field cat & output data.
Regards,
Raghu.
10-11-2010 3:00 PM
C r a y o n
On a serious note: you could have used search to find that answer. Or.. study the examples in SAP.