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: 

SAP-List viewer- Headings - NOt to scroll down

Former Member
0 Kudos

Hi Gurus!

When I execute my report I get my list display. When I scroll down my report the headings (Header Details ) also scroll down , so I cannot see what is the item under a particular heading as it has scrolled up and I have to go scroll up again to see whats under that particular heading . I would liek to keep my heading consatat at the top so that only the report under it scrolls and I can easily find my headings at all times.

Could I get some help please.

Thanks

1 ACCEPTED SOLUTION

former_member188685
Active Contributor
0 Kudos

use ALV report instead...

REPORT  ZTEST_ALV.

type-pools: slis.

data: it_flight type sflight_tab1.

select * from sflight into table it_flight.

CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
 EXPORTING
   I_CALLBACK_PROGRAM                = sy-repid
   I_STRUCTURE_NAME                  = 'SFLIGHT'
  TABLES
    t_outtab                          = it_flight
 EXCEPTIONS
   PROGRAM_ERROR                     = 1
          .

4 REPLIES 4

former_member188685
Active Contributor
0 Kudos

use ALV report instead...

REPORT  ZTEST_ALV.

type-pools: slis.

data: it_flight type sflight_tab1.

select * from sflight into table it_flight.

CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
 EXPORTING
   I_CALLBACK_PROGRAM                = sy-repid
   I_STRUCTURE_NAME                  = 'SFLIGHT'
  TABLES
    t_outtab                          = it_flight
 EXCEPTIONS
   PROGRAM_ERROR                     = 1
          .

Former Member
0 Kudos

Hi.

Could you please tell us what structure are you using to show the report?

Thanks and regards.

0 Kudos

Hi!

Its basically a simple list viewer , this program is a copy of standard ME2M report with some changes in it . The report when executed gives a list display , but the only problem is that in its display the heading items also scrolls down as I go down scrolling , I want the heading to stay in its place and the rest of the items under it to scroll down , like it happens in the ME2M report , the header stays in its postuion and the rest of the items under it scrolls only.

Thnaks

Aarav.

Former Member
0 Kudos

.