Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

How to align the contents in the header of an ALV Display?

Former Member
0 Kudos

Hello ABAP Masters,

I am doing a program that requires to display an ALV with header.

My problem is that the header display is not in proper alignment.

Here is a sample display of the header , which should not be:

Contract Number:08151983

Line Item:23

Sequence Number:0005

What should I display, must look like this:

Contract Number: 08151983

Line Item: 23

Sequence Number: 005

See, the contents should be in proper alignment.

Please help me to solve my problem.

Thank you.

1 REPLY 1

Former Member
0 Kudos

If u r using OOPS den use the class

CL_DD_DOCUMENT

and the method to be used is..

ADD_GAP

If not using OOPS then try CONCATENATE

Here the values of Contract number etc shud be conaatenated wid a space..

pass dis new var for displaying

Hope this helps..reward if it does