How will you add colour in a row using ALV ?

Answer Posted / sunil kumar gautam

In final internal add a field
line_color(4) type C.
Insert value like 'C710’ according to your color choice in this field.
Define a Layout
Data: gd_layout type slis_layout_alv,
Define Routine
Form disp_layout.
gd_layout-info_fieldname ='LINE_COLOR'
endform.
Call this routine before display the grid.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a modification assistant?

599


What type of user exits have you written ?

1517


How do you delete duplicate records from internal table?

752


How the Sy-Mandt value gets updated in the table and Is this having any foreign key relationship.

1718


WHAT ARE THE INPUT PARAMETERS TO BE PASSED FOR THE BAPIS 'BAPI_CUSTMATINFO_GETDETAILM' AND 'BAPI_CUSTMATINFO_GETLIST'

1780






what are the problem we face during development( if we say v are in support(development)? what are the critical problems araises during LSMW updation and Smart form layout development for involce and po? very very important questions now a days commonly asking..plz plz reply me

1553


Can a filed occur in several field groups? : abap modularization

666


What is “call mode”?

586


What is the difference between a structure and an append structure?

547


Hello All, Requesting to all user of this site. Please post your Questions in Proper sub Category of chosen category. Some users post the questions in common category whether sub category for that is available ..like some users still post the SAP Script & ALE Related questions in common ABAP Category. Due to this it becomes very difficult to find the topic wise Questions. Please cooperate with the site & to other users. Thanks & Regards Tamseel

1599


How do you document abap/4 programs? Do you use program documentation menu option?

708


What is difference between check table and value table ?

650


What is locking ?

609


What are two methods of modifying sap standard tables? : abap data dictionary

688


Define infotype ? : abap hr

715