Skip to Content
0
Former Member
Feb 26, 2009 at 10:06 AM

module pool multiple lines in same text box

537 Views

I got a requirement in a module program.this module pool is created through infotype.

i have field 'comments' this field is of length 100.

the user wants to split the comments into 4 lines in the same box.

the input for this field is coming from a input file.

so, here I need a logic for splitting the comments into 4 lines. each 25 chars.

but again here is a trick : if one line contains comment as 'there is a fox in the jungle'

here upto 'there is a fox in the jun' will be 25 characters. since this is word the whole jungle has to come

in the next line.

Can some one provide me idea/code/example?

many thanks in advance

Chitra