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

classical report

Former Member
0 Likes
707

Hai,

here is one requirement in classical report that,suppose there are 10 pages in the output of a classical report. Of these 10 pages i have to display header information in the 1st page only not on all the pages..... can anybody help me out.....

Thanks & Regards.

Laxman.

6 REPLIES 6
Read only

Former Member
0 Likes
675

Hi,

Instead of writing the headers in TOP-OF-PAGE event, write them separately once and they wont be repeated.

Only the data written under TOP-OF-PAGE and END-OF-PAGE events gets carried to all the pages.

Regards,

Himanshu

Read only

Former Member
0 Likes
675

Hi

U can insert the header data in the TOP-OF-PAGE and print it once only:

TOP-OF-PAGE.
  
IF FIRST = SPACE.
   FIRST = 'X'.
   WRITE: 'First page'.
ENDIF.

Max

Read only

Former Member
0 Likes
675

Set a flag in the top-of-page header, then check this flag before you write anything out.

TOP_OF_PAGE.

CHECK W_FLAG IS INITIAL.

WRITE HEADERS.

W_FLAG = 'X'.

Read only

Former Member
0 Likes
675

hi,

u can use the event TOP-OF-PAGE..

or try to use an write stm at the satrt of the pgm so that it wil be deisplayed as an header.

ravi

Read only

Former Member
0 Likes
675

HI Laxman

For this you just write the Header Information in At first Event of Loop.

like

<b>Loop at Itab into wa

At first.

write <header Information>

Endat.

other code

Endloop</b>

Regards Rk

Read only

Former Member
0 Likes
675

This message was moderated.