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

OUTPUTTING ERROR RECORD IN ALV

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

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Oct 11, 2010 at 01: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.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 11, 2010 at 02: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.

    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.