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

Classical Report line alignment problem

SujeetMishra
Active Contributor
0 Likes
1,517

Hi all,

I have one problem. I am displaying one line in output like below :

WRITE: / text-110 " where text-110 = doc no......doc date.......amount......voucher no.....

output = doc no......doc date.......amount......voucher no.....

now i want to add one more text-111 (Net Price) in above , i dont want to edit previous text-110.

and want to display ouput like below :

doc no......doc date.......amount......voucher no.....Net Price.

Thanks in Advance

Regards,

Sujeet

7 REPLIES 7
Read only

Former Member
0 Likes
1,066

Write : text-110, text-111.

Read only

0 Likes
1,066

Hi,

I know Write : text-110, text-111. works, but in my report its not coming with second text.

why this is happening..i really dont knw.

regards,

sujeet

Read only

0 Likes
1,066

Check out the Line size of your Report.

Regards,

Gaurav Sood.

Read only

Former Member
0 Likes
1,066
write: /10 'Display this'.
write: 30 'at 30'.

without changing above line, you can display text at 30th position. So count position first of existed line.

Read only

GauthamV
Active Contributor
0 Likes
1,066


data: text1 type string,
        text2 type string.

text1 = 'doc no......doc date.......amount......voucher no....'.
text2 = 'Net Price'.

Write : text1, text2.

Read only

Former Member
0 Likes
1,066

Hi.

Isn't the width insufficient?

REPORT ZZTEST00 MESSAGE-ID 00

LINE-SIZE 120 " <-----

LINE-COUNT 90.

Read only

Former Member
0 Likes
1,066

Hello Sujeet,

Probably, you can do 2 things;

1 to attach text-111 with text-110..

WRITE:/ text-110, text-111.

Or you got to count manually where exactly voucher no ends, I mean the line number/count. and then give the line-number following it.

Suppose voucher number ends at 45;

then

WRITE:/ text-110, 50 text-111.

Net Price will appear with a gap of 5 chars.

Hope it Helps you,

Zahack.