01-28-2008 10:11 AM
Hi SDNers,
i have created a report in SE38.After giving input in
selection-screen it will show one screen which contains 3 push button in application tool bar.one for classical report output and the second one for ALV grid display and the third one for tree structure.If the user clicked on any button it will show the corresponding output respectively.
i had done everything using set pf-status and AT USER-COMMAND and its sounds good.The only thing is TOP-OF-PAGE is not triggering in classical report.how can i do?
Hope ur answers will be helpful and it will be rewarded.
Thanks and regards,
Senthil kumar.
01-28-2008 10:18 AM
Hi!
Can you please paste excerpt of your code so that it can be understandable.
Thanks and regards,
Atanu
01-28-2008 10:20 AM
Don't put that code into TOP-OF-PAGE.
Include your header just before your first write statement. so, it will not repeat on each page.
Use top of page event this way.
code
top-of-page
if sy-pagno eq 1.
" Write your heading here
endif,
[/code]
01-28-2008 10:25 AM
Hi,
Are you getting the classic list displayed?
If yes., pls ignore this. else,
As you have used pf-status,on the particular user command for triggering the classic report, use the addition;
Leave to list procesing
Hope this will help.
Regards,
Renjith Michael.
01-28-2008 10:29 AM
Hi Senthil Kumar,
you have to write the following code after END-OF-SELECTION event.
TOP-OF-PAGE.
write: / 'TOP OF THE PAGE OR HEADING'.
We have to write the entire code in the classical report IF statement ok otherwise it does not recognise the TOP OF PAGE event ok..
Reward points if helpful
Kiran Kumar.G.A