2007 Feb 19 3:33 AM
Hi All,
I have developed an ALV Report.
When i enter the inputs in Selection screen and execute the data will appear in ALV Layout design.
The ALV Layout consist of 5 lines of comments (Like Heading, Date, Page No, etc) and ALV output.
Now, when i click BACK, a screen will be displayed where the Comments will appear.
Why am i getting this screen when i click BACK..????
I should get the selection screen instead of this.....
Where is the bug...???? Can anyone Help me in this issue..???
Regards
Pavan
2007 Feb 19 3:36 AM
Hi,
ALV display do not allow you use WRITE statement on the same screen as ALV so it always appear on the separate screen.
Regards,
Amit
Rewards all helpful replies.
Hi All,
I have developed an ALV Report.
When i enter the inputs in Selection screen and execute the data will appear in ALV Layout design.
The ALV Layout consist of 5 lines of comments (Like Heading, Date, Page No, etc) and ALV output.
Now, when i click BACK, a screen will be displayed where the Comments will appear.
Why am i getting this screen when i click BACK..????
I should get the selection screen instead of this.....
Where is the bug...???? Can anyone Help me in this issue..???
Regards
Pavan
2007 Feb 19 3:35 AM
2007 Feb 19 3:36 AM
Hi,
ALV display do not allow you use WRITE statement on the same screen as ALV so it always appear on the separate screen.
Regards,
Amit
Rewards all helpful replies.
2007 Feb 19 3:42 AM
I THINK YOU ARE USING WRITE STATEMENT IN ALV GRID DISPLAY FOR TOP-OF-PAGE SO WHEN YOU ARE PRESS BACK IT WILL SHOW THE WRITE STATEMENTS YOU HAVE USED. IN ALV YOU HAVE TO WRITE TOP OF PAGE IN
IN REUSE-ALV_GRID_DISPLAY.
II_CALLBACK_TOP_OF_PAGE = 'TOPOFPAGE'.
FORM TOPOFPAGE.
DATA : ILIST SLIS_T_LISTHEADER,
WLIST SLIS_LISTHEADER.
WLIST-INFO = 'TOP OF PAGE'.
WLIST-TYP = 'H'.
APPEND WLIST TO ILIST.
WLIST-INFO = 'TOP OF PAGE1'.
WLIST-TYP = 'H'.
APPEND WLIST TO ILIST.
USE FM REUSE_ALV_COMMENTARY_WRITE .
IT_LIST_COMMENTARY = ILIST.
PASS ILIST HERE.
ENDFORM.
REGARDS
SHIBA DUTTA
2007 Feb 19 4:12 AM