‎2006 Mar 21 4:26 AM
hi frnd's,
I am using an alv list viewer,in top of page i am displaying some text i want to align the text sy-datum to right corner of the page.
‎2006 Mar 21 4:29 AM
Suganya,
How are you writing data in the TOP OF PAGE? Are you using the write statments?
If yes, then you can specify the position where it needs to be written.
Regards,
Ravi
‎2006 Mar 21 4:51 AM
CLEAR GS_LINE.
GS_LINE-TYP = 'H'.
GS_LINE-INFO = 'HEADER 1'.
APPEND GS_LINE TO GT_TOP_OF_PAGE.
I AM NOT USING THE WRITE STATEMENT THAT IS THE PROBLEM.
‎2006 Mar 21 5:28 AM
‎2006 Mar 21 2:34 PM
Hi Suganya, 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.
Hope it helps
Jesus
‎2006 Mar 21 2:38 PM
Hi ,
as Jesus suggested it is Not possible in GRID ALV but ALV list you can use normal write statements using right-justified, left-justified .
Regards
Vjay
‎2006 Mar 21 4:53 AM
Hi Suganya,
Did u try:
write: sy-datum right-justified .
Regards,
Anjali
‎2006 Mar 22 5:30 AM
Hi Suganya,
I got a funny thought.. Just implement it if poss..
Make the text right aligned.. and fill the first place of the slis*-info with period (.), which is hardly visible in the top-of-page!