Application Development and Automation 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: 
Read only

Horizontal&Blank Line

Former Member
0 Likes
998

Hi everyone!

Can anyone tell me how to put those lines in a WRITE part of a program.

Thanks a million!!!

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
956

Hi Maja,

Just refer this link to satisfy your requirement.

http://help.sap.com/saphelp_nw04/helpdata/en/9f/db9e5735c111d1829f0000e829fbfe/content.htm

Regards,

SP.

8 REPLIES 8
Read only

Former Member
0 Likes
957

Hi Maja,

Just refer this link to satisfy your requirement.

http://help.sap.com/saphelp_nw04/helpdata/en/9f/db9e5735c111d1829f0000e829fbfe/content.htm

Regards,

SP.

Read only

Former Member
0 Likes
956

Hi,

Could you please be more specific on the requirement.

Regards,

- PSK

Read only

Former Member
0 Likes
956

hi,

by using

SY-ULINE ---WRITING HORIZONTAL LINE.

EX: WRITE:/ SY-ULINE.

OR ULINE.

EX: SKIP 10 LINES --FOR INSERTING BLANK LINES

OR SKIP TO <LINE NO.>

HOPE THIS HELPS,

PRIYA.

Message was edited by: Priya

Read only

0 Likes
956

Thanks,

teh horizontal line works fine but when i put skip 10 lines in my code i get error "TO-LINE" expected, not "10 lines"....

pls help!

Read only

0 Likes
956

Hi Maja,

You have to write

SKIP TO LINE 10. and not

SKIP 10 LINES.

Regards,

SP.

Read only

0 Likes
956

Hi maja,

1. use like this.

Just give

Skip 10.

(it will skip ten lines below)

2.

report abc.

write 'amit'.

skip 10.

write 'mittal'.

regards,

amit m.

Read only

Former Member
0 Likes
956

if you want any specific size in the horizantal line use

WRITE :/1(30) SY-ULINE.

30 : could be the no of characters to be printed as horizantal line.

1 : can be any no from which the horizantal line printing starts. in this case: its starts from beginning

You can use SKIP to skip some specific lines. but remember SKIP dont create a new page. with in the current page you can skip certain lines.

regards

srikanth

Read only

Former Member
0 Likes
956

so i managed to solve it a little with your help but eventually like this:

IF sy-lsind = 1.

WRITE: ...,

...,

sy-uline.

SKIP 1.

so i wasn't able to put skip statement in the write block...

thanx everyone 4 your time!

Message was edited by: Maja Zugaj