ALV List display - header width adjust

Posted on 16th Feb 2014 by admin

Hi,

I am using REUSE_ALV_LIST_DISPLAY for my ALV display.The width of the ALV varies for different inputs.
I have a header followed by sub heading.Subheading has been structured into boxes on top of the fields label using TOP OF PAGE.Is there a way to fix the right alignment of the subheading with the width of the ALV?

WRITE:/50 'heading'.

WRITE: 145 'subheading'.
WRITE: 169 SY-VLINE.

I want the value of sy-vline be adjusted as per the width of my ALV.

Please advice :)

Thanks

Other forums