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: 

Report: Events

Former Member
0 Kudos

why the code is giving dump?


REPORT  yh1150_sdn line-count 3.
data:
  w_var type i.

start-of-selection.

  w_var = 9.

  write:w_var.

  top-of-page.

  write /: 'PAGE HEADER',
            sy-pagno.

How to overcome it without changing line-count?

1 ACCEPTED SOLUTION

Former Member
0 Kudos

ur code works fine in my system.

use no standard page heading after report name

reg

prajwal

Edited by: prajwal k on Jun 28, 2008 11:03 AM

Edited by: prajwal k on Jun 28, 2008 11:06 AM

10 REPLIES 10

Former Member
0 Kudos

ur code works fine in my system.

use no standard page heading after report name

reg

prajwal

Edited by: prajwal k on Jun 28, 2008 11:03 AM

Edited by: prajwal k on Jun 28, 2008 11:06 AM

Former Member
0 Kudos

IT IS PROBLEM WITH line-count 3.

CHANGE IT AND GIVE IT PROPERLY..........

rEWARD if...............

Regards

Anbu

Former Member
0 Kudos

use this,

initialization.

w_var = 9.

end-of-selection.

write:/ w_var.

0 Kudos

hi rajneesh,

it remains the same

dump is LIST_TOPOFPAGE_OVERFLOW.

ANIRBAN

Former Member
0 Kudos

hi,

Your program line-count is 3. But if you look the code you need atleast 4 lines to write the top of page as the first two lines are reserved for the standard page heading.

This code will work fine if you add NO STANDARD PAGE HEADING in your REPORT statement.

Hope this will Help.

Regards

Sumit Agarwal

Former Member
0 Kudos

hi check this..

the line size is 3 means for every line we can write only w characters..but here you r using ...more than that ..so it is giving dump..

for avoid this do like this..

REPORT yh1150_sdn line-count 15.

data:

w_var type i.

start-of-selection.

w_var = 9.

write:w_var.

top-of-page.

write /: 'PAGE HEADER',

sy-pagno.

Former Member
0 Kudos

Hello anirban,

It seems the dump is because of the top of page oerflowi.The reason being there is no place for the body in the list.

As you dont want to change the line count..,what u can do is in your report statement use "no standard page heading"

REPORT  yh1150_sdn line-count 3 no standard page heading.
data:

  w_var type i.

start-of-selection.

  w_var = 9.

  write:w_var.

  top-of-page.

  write /: 'PAGE HEADER',
            sy-pagno.

Regards,

Bhumika

Former Member
0 Kudos

Hi,

REPORT yh1150_sdn line-count 3 NO STANDARD PAGE HEADING.

data:

w_var type i.

start-of-selection.

w_var = 9.

write:w_var.

top-of-page.

write /: 'PAGE HEADER',

sy-pagno.

try this .

Former Member
0 Kudos

hi Anirban,

just give the extension to your report statement NO STANDARD PAGE HEADING..

that would definitely solve your problem

regards

padma

Former Member
0 Kudos

Thanks Prajwal,

it's working fine

anirban