Application Development 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: 

TOP-OF-PAGE!

Former Member
0 Kudos

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.

4 REPLIES 4

Former Member
0 Kudos

Hi!

Can you please paste excerpt of your code so that it can be understandable.

Thanks and regards,

Atanu

Former Member
0 Kudos

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]

Former Member
0 Kudos

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.

Former Member
0 Kudos

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