Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

OUTPUTTING ERROR RECORD IN ALV

Former Member
0 Kudos

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

2 REPLIES 2

Former Member
0 Kudos

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.

Former Member
0 Kudos

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.