Application Development and Automation 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: 
Read only

ALV Header Right Align

Former Member
0 Likes
817

Hi all,

i am displaying header for alv grid as follows

Prog: zvire9502                    Date: 22/09/2006

i need the date shuld be right aligned,

help me out pls

4 REPLIES 4
Read only

Former Member
0 Likes
603

alignment in ALV header is only possible if you are using ALV LIST, in that case you can use the write statement in the event TOP_OF_PAGE; but if you are using ALV GRID, then this is not posibble since ALV GRID's header has fixed positions according to the text tipe (H, S) or the logo.

Read only

Former Member
0 Likes
603

Hi,

Try this link below, hope this helps you.

FORM TOP_OF_PAGE.

CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'

EXPORTING

IT_LIST_COMMENTARY = IT_LISTHEADER

  • i_logo =

  • I_END_OF_LIST_GRID =

.

ENDFORM. "TOP_OF_PAGE

http://sap-img.com/abap/an-interactive-alv-report.htm

Regards

Madhavi.

Read only

Former Member
0 Likes
603

Hi,

One alternative is to Include the program name and date in a single variable of type string and include spaces in between.

Best regards,

Prashant

Read only

Former Member
0 Likes
603

Hi,

You can use the parameter

<b>I_CALLBACK_HTML_TOP_OF_PAGE</b> of the function module <b>REUSE_ALV_GRID_DISPLAY</b> where in you can actually code in hyper text provided you know HTML tags.