Skip to Content

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

Spaces in ALV header

Hi,

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.

e.g.

Field1: xxxxxxxxxxxxxx

Field2:YYYYYYYYYYY

<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.

Thanks

Abhinav

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