cancel
Showing results for 
Search instead for 
Did you mean: 

how to print the text in points wise in sap script

Former Member
0 Kudos

hi friends,

how to print the text in points wise in sap script.

ex: if suppose paragraph consists of 15 lines. then according to one sentence or one fullstop (.) it should give point 1. like that...

1. hai how ru.

2. what r u doing.

3.where r u.

like this i want numbering.. waiting for ur replys.

thanks,

kiran

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

To get numbers for every line, while creating paragraph format choose outline attributes button, in that check Number chaining option which would be useful for your requirement. and use that paragraph format while writing in the script output.

Hope this will give you some idea,

Regards,

Aswini.

Former Member
0 Kudos

declare a counter

data : cnt type char 4.

print :

cnt = cnt + 1.

&cnt& &text&

cnt = cnt + 1. and so on.

or.

if the data is in an internal table

loop at internal_table.

cnt = cnt + 1.

write form.

in script -&cnt& &text&

endloop.

Edited by: NIKHILKUMAR POOJARI on Nov 17, 2008 11:18 AM

Former Member
0 Kudos

thanks for reply..

there is no different texts. one text only.

long paragraph. i need to give points based on sentences.