Skip to Content

Lock first row of ALV Grid

Hello

Is it possible to lock the 1st row of an ALV Grid? I would like to lock the 1st row so that when I press Roll Key the 1st line will always be on display.

Thanks

Gary

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Posted on Jan 16, 2012 at 08:03 PM

    I'm curious why you'd want to lock the first row of data. Doesn't the header (aka field names) already lock?

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 16, 2012 at 08:26 PM

    go for ALV LIST display. you can have two rows of header.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jan 17, 2012 at 06:58 AM

    Gary,

    In Grid its not possible, may be you can work it out in REUSE_ALV_LIST_DISPLAY along with function module RKD_WORD_WRAP. Please search for this functions, you will find many related topics.

    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.