Skip to Content

Alignment of Data in TOP-OF-PAGE in ALV GRID

Many of us faced difficulty in aligning the data in TOP-OF-PAGE in ALV GRID using function modules, We are not able to right align the data or which ever position we want.

Many unsolved threads on this topic!!!!!!!!!!.

Here is a sample code which aligns the data according to the position specified.

image

5 Comments
You must be Logged on to comment or reply to a post.
  • Hi Chandrasekhar,

    Really it is ver helpful and nice one.

    U did a very good job. I was in the thought the it is not possible to display the text in centre.

    But it can be possible only in oops.

    Regards
    Sameer

  • Hi,
    There is a problem with this approach.

    When I see the ‘Print Preview’ I cannot see any header. Print preview always uses the header mentioned in HTML_TOP_OF_PAGE.

    Do You have any solution for this?

    Thanks
    Krishna

  • Hi,
    There is a problem with this approach.

    When I see the ‘Print Preview’ I cannot see any header. Print preview always uses the header mentioned in TOP_OF_PAGE.

    Do You have any solution for this?

    Thanks
    Krishna

  • good effort …

    and folks who are running this code..
    dont forget to add
    I_STRUCTURE_NAME       = ‘T001’
    in the FM REUSE_ALV_FIELDCATALOG_MERGE

    Thank you.