Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

SALV key fields?

Hi All,

I have a question regarding key fields in SALVs

I have an internal table and would like to show the contents in an SALV.

The table is defined from a view that I have created.

When I display the SALV all the columns seem to be key columns so all the columns look 'highlight' for want of a better word.

Is there a way I can set all the columns so they are not viewed as keys, this would make reading the SALV output much easier and I could then for example used the set_striped_pattern method.

Also if I can do this will this acutally change the settings in the initial internal table of just in the SALV

Any help would be great.

Thanking you in advance


Former Member

Explore the use of class method CL_SALV_COLUMN_TABLE->SET_KEY. There are enough information available in forums & wiki contents regarding different SALV functionalities.

Regards, Vinod

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question