cancel
Showing results for 
Search instead for 
Did you mean: 

Storing Long text more that 2000 words

Former Member
0 Kudos

Hi all,

Can any tell me how can we save long text?

1) i need to create a table which stores long text (instead of T-code SO10).

Thanks

Senthil Bala

Message was edited by: senthil bala

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi

You need to create a table have a filed longer than 512 char, so you should use a field with a domain with type LRAW or LCHR (it can be longer than 512 char):

see the data element PC03_DSATZ for example.

When you create your table, before this field you have to insert a field type INT4 where you'll indicate the lenght of your text.

So your table should be:

MANDT key

NAME (Text Name) key

ZLENG (Type INT4)

TEXT (type LCHR)

Max

Answers (1)

Answers (1)

former_member188685
Active Contributor
0 Kudos

hi,

use fm <b>save_text.</b>

thanks

vijay

Former Member
0 Kudos

But its storing in different table . i need to save in custom ztable.

former_member188685
Active Contributor
0 Kudos

Hi Senthil

then you can write normal porgram to update the ztable.

make use of LCHR to store the long text in the table, it will allow up to 32000 chars.

and write the code and update the table.

if you are on ECS 5.0 version then

thanks

vijay

Message was edited by: Vijay Babu Dudla