Skip to Content

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

Spaces in ALV header


I am using ALV grid display and displaying the header with top-of-page.

The requirement is to have leading spaces in a line of header.


Field1: xxxxxxxxxxxxxx


<space> <the new line should start from here>

For achieving this i am using SHIFT command before appending the record which requires leading spaces(3rd record in this case.)

When i checked it in debugger, i found that table also stores the record with leading spaces but

when data is written from table in top-of-page event leading spaces are not considered and

line whcih has leading spaces, starts from the beginning.

Is there any way to have leading spaces in HEADER of ALV.

Please suggest a relevant solution.



Former Member
Not what you were looking for? View more on this topic or Ask a question