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

Print options in smartforms?

1570


I am uploading 100 records out of which say 59th record has error so what will happen if I am using synchronous or asynchronous method of bdc? Can we update the database using local update mode how? : abap bdc

2571


Explain what is runtime analysis?

565


What are the different abap/4 editors?

577


What are the different types of view?

604






write a program for creation of customer quotation using BAPI 'BAPI_QUOTATION_CREATEFROMDATA'.

2779


What are the basic components of dialog program?

698


What are internal tables? How to use a specific number occurs statement?

572


What is a projection view? : abap data dictionary

595


what precautions or prerequisites do you follow to update a record into database table and how

5249


Why is pretty printer user in abap?

638


Explain the components of selection table?

636


What are internal tables? How do you get the number of lines in an internal table? How to use a specific number occurs statement?

601


How to combine multiple order in one Delivery ( Step by Step)?

1983


Explain what is sap script? What is the purpose of sap script? Difference between sap script and report?

536