cancel
Showing results for 
Search instead for 
Did you mean: 

inserting new line in output based on character count +sapscript

Former Member
0 Kudos

Dear All,

I want to print amount in words on cheque. Condition is if on the first line the character

count reaches 40 the rest words should be printed in next line. Also amount in word

should be printed on the same line.

I have the internal table values itab-amtwords(amount in words and ) itab-rbetr(amount in number)

I want to print them something like this -

Sixty seven crore eighty five lakh twelve thousand

fourty five 678512045.00

the amount in word should come in second line only. The amount in word if reaches certain point

the rest word should print in second line.

How to write the logic in script editor

Regards,

Sandeep

Moderator message - Cross post locked

Edited by: Rob Burbank on Apr 17, 2009 10:46 AM

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

the amount in number should print in the second .

********************************************************

                                                                                                              • 2163126312.00

Regards,

Sandeep