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

reprot event

Former Member
0 Likes
1,043

when the top-of-page will be triggred?

when the top-of-page will be triggred?

8 REPLIES 8
Read only

Former Member
0 Likes
1,024

Hi,

When the first WRITE statement is executed

Thanks

Naren

Read only

Former Member
0 Likes
1,024

when the first write or uline or skip statement is executing.

regards

shiba dutta

Read only

sreeramkumar_madisetty
Active Contributor
0 Likes
1,024

Hi

When in the Report control finds the below statements first time

Top-Of-Page Event will trigger.

<b>WRITE,SKIP,ULINE.</b>

Regards,

Sree

Read only

seshatalpasai_madala
Product and Topic Expert
Product and Topic Expert
0 Likes
1,024

Hi,

When ever List creation is triggered TOP-OF-PAge will be fired.

List creation starts with WRITE, SKIP or ULINE.

Regards,

Sesh

Read only

Former Member
0 Likes
1,024

HI,

TOP-OF-PAGE WILL BE TRIGGRED WHENEVER A WRITE STATMENT IS ENCOUNTERED AND THE FIRST WRITE STATMENT UNDER IT WILL BE EXECUTED

Read only

Former Member
0 Likes
1,024

Hai ... seee this below

Initialization : triggered when the report is loaded in memory.

At selection-screen output : triggered when the selection screen is loaded in memory before being displayed.

At selection-screen / <field> : before leaving the selection screen.

start-of-selection : the first event for displaying the report.

end-of-selection : after the start-of-selection is completed.

classiscal report events.

<b>

top-of-page : every time a new page is started in the list.</b>

end-of-page : every time the list data reaches the footer region of the page.

interactive report events.

<b>top of page during line selection : top of page event for secondary list.</b>

at line-selection : evey time user dbl-clicks(F2) on the list data.

at pF<key> : function key from F5 to F12 to perform interactive action on the list

reward points if it is usefull ,....

Girish

Read only

Former Member
0 Likes
1,024

Hi,

Check this notes on top-of-page.

TOP-OF-PAGE Code

The TOP-OF-PAGE code is copied into every generated report and appears at TOP-OF-PAGE just before the instructions for output of the page header. If this code includes WRITE statements, then the output will appear in the list before the page header that is created by the query. If the list is printed with a standard page header, then the output appears between the standard page header and the page header created by the query. You should note that these additions to the output cannot be displayed by the layout display in the query maintenance component.

When outputting using the SAP List Viewer, the code at TOP-OF-PAGE has no significance.

The TOP-OF-PAGE code is maintained by selecting the symbol Code. Choose TOP-OF-PAGE using the F4 help. Any ABAP statements may be used in the code. Any data objects may be accessed. However, it is better to restrict to the following objects:

Parameters from the InfoSet and the logical database

Selection criteria for the InfoSet and the logical database

global data from the DATA code

Fields in logical database tables or additional tables and additional fields do not have a defined value at this point.

The %HEAD variable can be used to specify which page header should be output. This variable is available in the standard settings and takes one of the following values:

AAA

Output at END-OF-SELECTION (before the list is output)

GGG

Output the basic list

Txx

Output the statistics xx (xx=01-99)

Rxx

Output the ranked list xx (xx=01-99)

WWW

Output the conversion table

ZZZ

Output at END-OF-SELECTION (after the list is output)

The value of the %HEAD variable may be queried but may not be changed, since it is an internal runtime system variable.

The use of TOP-OF-PAGE code allows the standard page header to be extended. However, it is important to note that if this is done then the changes will take effect on all queries that work with this functional area.

****reward points if helpful.

all the best

Read only

Former Member
0 Likes
1,024

hi

top-of-page event will b triggered whenever it encounters an output

stmt..

like skip , uline , or wirte stmts...

its an implicit event.....

top-of-page

write : / 'top of page'.

start-of-selection.

skip. "or

write : / 'output stmt'.

o/p

top of page

output stmt.

hope this helps u