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,

I have a problem in displaying header in each page,my senario is

In itab i have multiple EKORG,so for each ekorg i want to display in a seperate page and that is working fine for me,but the issue is for a particular EKORG there will be a multiple no pages having a data ,but i can.t see the header for that pages,

LOOP AT gt_output_data INTO gw_output_data.

*- a new puchasing group

AT NEW ekgrp.

*-- Create a new page

NEW-PAGE.

*-- Count pages

g_totpag_no = g_totpag_no + 1.

*-- Display the header of list

PERFORM display_header.

ENDAT.

Thanks,

Deesanth

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi,

Please use this top-of-page during line-selection and then try.

Hope it will helps

2 REPLIES 2

Former Member
0 Kudos

Hi,

Please use this top-of-page during line-selection and then try.

Hope it will helps

former_member212653
Active Contributor
0 Kudos

For a new the top-of-page event will trigger only when it find a write statement. So to trigger the top-of-page event when no data is being displayed you must write something as 'No data found'.

Hope this helps.