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: 

How to write an underline(at end of list) before going to the next page

aris_hidalgo
Contributor
0 Kudos

Hello experts,

How do I write an underline before it goes to the next page? I defined my report to have

a line-count of 65(3) and what I want is that before going to the next page, I will write

an underline(sy-uline).

Also, when it is a continuation, I would like to write again an underline. Help would be

greatly appreciated guys. Thank you and have a nice day!

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Use event end of page.

END OF PAGE.

ULINE.

You can have additional check as well using some flag, to print line when you want and when you don't.

END OF PAGE.

If NOT flag is initial.

ULINE.

endif.

Regards,

Vishal

*Reward if helpful*

4 REPLIES 4

Former Member
0 Kudos

Hi,

You can check the SY-LINO and see if it is equal to 62, then write a sy-uline.

Regards

Subbu

Former Member
0 Kudos

Use event end of page.

END OF PAGE.

ULINE.

You can have additional check as well using some flag, to print line when you want and when you don't.

END OF PAGE.

If NOT flag is initial.

ULINE.

endif.

Regards,

Vishal

*Reward if helpful*

Former Member
0 Kudos

END OF PAGE.

ULINE

Former Member
0 Kudos

Try this in se38

It might help you (Just copy paste and run)

REPORT ZTM_SDN1.

new-page.

set blank lines off.

do 5 times.

write / '***'.

enddo.

write : 'PAGE NO : - ', SY-PAGNO.

new-page.

set blank lines on.

do 5 times.

write / '***'.

enddo.

set blank lines off.

write : 'PAGE NO : - ', SY-PAGNO.

Reward if helpful

Regards