‎2008 Jun 28 9:59 AM
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?
‎2008 Jun 28 10:01 AM
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
‎2008 Jun 28 10:01 AM
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
‎2008 Jun 28 10:02 AM
IT IS PROBLEM WITH line-count 3.
CHANGE IT AND GIVE IT PROPERLY..........
rEWARD if...............
Regards
Anbu
‎2008 Jun 28 10:02 AM
use this,
initialization.
w_var = 9.
end-of-selection.
write:/ w_var.
‎2008 Jun 28 10:08 AM
hi rajneesh,
it remains the same
dump is LIST_TOPOFPAGE_OVERFLOW.
ANIRBAN
‎2008 Jun 28 10:05 AM
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
‎2008 Jun 28 10:07 AM
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.
‎2008 Jun 28 10:07 AM
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
‎2008 Jun 28 10:08 AM
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 .
‎2008 Jun 28 10:10 AM
hi Anirban,
just give the extension to your report statement NO STANDARD PAGE HEADING..
that would definitely solve your problem
regards
padma
‎2008 Jun 28 10:13 AM