07-11-2006 4:39 PM
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.
07-11-2006 4:42 PM
Hi Chandra,
One work around is to create sufficiently large char strings like datatypes CHAR1024 etc.
Regards,
Ravi
07-11-2006 4:50 PM
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
07-11-2006 4:46 PM
hi ravi
thanks for the response. could you explain step by step hot to create CHAR1024. i would greatly appreciate that.
thanks
chandra
07-11-2006 4:59 PM
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
07-11-2006 5:04 PM
Hi Chandra,
When you create a new column, just give the Component type as CHAR1024 and save.
Regards,
ravi
07-11-2006 5:09 PM
rich and ravi
thanks a lot. i'll let you know once i try out your suggestions.
regards
chandra
07-12-2006 12:06 AM
HI RAVI,
When i add char1024 type i get error while creating table .
thanks ,
chandra.