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: 

more than 3 string column unlimited text

Former Member
0 Kudos

hi ,

i have a requirement in which i have 15 unlimited text fields in UI . I need to save the 15 unlimited text fields data to be stored in a table . when i try to create a table with more than 3 column of type string i get an error says can not create column more than 3 of type string . is their a work around or how we handle in abap.

thank you ,

chandra.

7 REPLIES 7

former_member181962
Active Contributor
0 Kudos

Hi Chandra,

One work around is to create sufficiently large char strings like datatypes CHAR1024 etc.

Regards,

Ravi

0 Kudos

You should implement this type of functionality using a Text Editor control or sapscript text editor. You can create a text object via SE75 and you can use the function modules READ_TEXT, EDIT_TEXT, SAVE_TEXT. This way the text will be stored just like any other long text in the system.

Regards,

Rich Heilman

Former Member
0 Kudos

hi ravi

thanks for the response. could you explain step by step hot to create CHAR1024. i would greatly appreciate that.

thanks

chandra

0 Kudos

I would also suggest using the standard text to store the texts that you have. Take a look at the weblog for a implementation of the same..

/people/igor.barbaric/blog/2005/06/06/the-standard-text-editor-oo-abap-cfw-class

You can look at these texts in SO10 transaction

Regards,

Ravi

Note - Please mark all the helpful answers

0 Kudos

Hi Chandra,

When you create a new column, just give the Component type as CHAR1024 and save.

Regards,

ravi

Former Member
0 Kudos

rich and ravi

thanks a lot. i'll let you know once i try out your suggestions.

regards

chandra

Former Member
0 Kudos

HI RAVI,

When i add char1024 type i get error while creating table .

thanks ,

chandra.