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

Reg;Longtext truncation

Former Member
0 Likes
530

Hi Experts,

Im trying to upload the long text from excel to internal table & then passing the corresponding longtext to the save_text function module to store the longtext values.

But the problem is the tline is of 132 chars,so the longtexts are getting truncated.how to overcome this problem.?

Is there any other datatype for longtexts,i have tried string & char2000.?

Please give some inputs & examples.

Regards,

M.K

Hi Experts,

Im trying to upload the long text from excel to internal table & then passing the corresponding longtext to the save_text function module to store the longtext values.

But the problem is the tline is of 132 chars,so the longtexts are getting truncated.how to overcome this problem.?

Is there any other datatype for longtexts,i have tried string & char2000.?

Please give some inputs & examples.

Regards,

M.K

3 REPLIES 3
Read only

Former Member
0 Likes
455

Please reply..

Read only

0 Likes
455

Hi,

In case the length i smore than 132 chars you have to truncate the text after every 132 to chars and give input as different lines in the table tline. While storing it will be stored correctly.

Fg : TLINE-TDLINE --- first 132 chars

append TLINE

TLINE-TDLINE --- next 132 chars

append TLINE

and so on.

Regards,

N.

Read only

Former Member
0 Likes
455

closed