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

fixed the report header.

Former Member
0 Likes
568

Hi expert,

we can fix the column by using "set left scroll-boundary column". But how about if we need to fix our report's row like header?

pls advise.

thanks.

1 ACCEPTED SOLUTION
Read only

naimesh_patel
Active Contributor
0 Likes
531

Put that rows into the top-of-page event.

LIKE:

TOP-OF-PAGE.
  WRITE: 'I AM NOT MOVING'
  WRITE: / 'I AM FIXED'.

Regards,

Naimesh Patel

Hi expert,

we can fix the column by using "set left scroll-boundary column". But how about if we need to fix our report's row like header?

pls advise.

thanks.

2 REPLIES 2
Read only

naimesh_patel
Active Contributor
0 Likes
532

Put that rows into the top-of-page event.

LIKE:

TOP-OF-PAGE.
  WRITE: 'I AM NOT MOVING'
  WRITE: / 'I AM FIXED'.

Regards,

Naimesh Patel

Read only

Former Member
0 Likes
531

Syntax

TOP-OF-PAGE [DURING LINE-SELECTION].

Addition:

... DURING LINE-SELECTION

Effect

This statement defines an event block whose event is triggered by the ABAP runtime environment during the creation of a list. This occurs when a new page is started - that is, immediately before the first line in a new page is to be output. All list outputs that take place in the event block are placed below the standard page header of the list. You cannot output more lines than are available in the page within the event block. The NEW-PAGE statement is ignored within this event block.

The entire output written to the list in the event block belongs to the page header of the current list page. The top page header cannot be moved when you scroll vertically in a list displayed on the screen.

For each TOP-OF-PAGE event, the placeholders "&1" - "&9" are replaced with the contents of system fields sy-tvar0 - sy-tvar9 in the standard heading and the column headings of the standard page header during creation of a basic list. You can assign values to these system fields in the program.

Addition

... DURING LINE-SELECTION

Effect

If you do not use an addition, an event block is triggered for event TOP-OF-PAGE during the creation of a basic list. If you use the addition DURING LINE-SELECTION, an event block is triggered for the corresponding events during the creation of details lists. You have to use system fields like sy-lsind to distinguish between the individual details lists.