Application Development 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: 

How to create a feature of MS word text area in sap abap

Shabana23
Explorer
0 Kudos
349

Hi i have a requirement where there is a structure text1, tex2, text3 of type c with a maximum length of 10000. Whenever user enters characters in the field after every 50 characters the continuation should start from a new line. Please provide some inputs to fulfill this requirement.

Thanks in advance.

1 ACCEPTED SOLUTION

cmotasan
Explorer
0 Kudos
262

Hi,

I think you’re trying to implement the same functionality as in demo report SAPTEXTEDIT_DEMO_1

If so, the only thing you’ll need to do is to change the default value of constant LINE_LENGTH to 50, this way there will be a line break every 50 characters.

3 REPLIES 3

cmotasan
Explorer
0 Kudos
263

Hi,

I think you’re trying to implement the same functionality as in demo report SAPTEXTEDIT_DEMO_1

If so, the only thing you’ll need to do is to change the default value of constant LINE_LENGTH to 50, this way there will be a line break every 50 characters.

Shabana23
Explorer
0 Kudos
262

Hi Carlos,

It seems familiar to that but after a particular characters also it is on the same line when we press enter then only it is coming in the next line.

And coming to my requirement i have a structure type of text field which will be displayed in a excel sheet. In that excel column what ever the text is there which we feed to the object should be displayed in the way each line is having 50 characters. Please help me how to fulfill the requirement. Thanks in advance.

abo
Active Contributor
0 Kudos
262

Please use comments, in cases like this