cancel
Showing results for 
Search instead for 
Did you mean: 

TextEdit UIElement in webdynpro ABAP

Former Member
0 Kudos

Hi All,

I have used this component for entering comments by user , but it allows only 1000 characters .

Does TextEdit webdynpro UIElement has limitation to its length?

If yes what else can be used ?

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi,

you can display it using textview or textedit.

Declar one attribute of type String

assign the long text to attribute hving type string and then disply it.

data str type string.

CONCATENATE ' YOUR TEXT HERE ...........'

wd_Context->set_Attribute(

name = 'TEST'

VALUE = STR

).

Cheers

Kris.

Former Member
0 Kudos

Dear Sonal,

i am able to enter unlimted text in Text edit when i use data element STRING.

only thing is how you are going to store the same in DB tables is upto you, i used spliiting mechanism.

good luck !!!

Regards,

Kranthi

Former Member
0 Kudos

Hi sonal,

There is no limitation to the text edit ui element length.I think you may have used type of attribute binded to Text edit is TEXT1000. The length which you specified in the data elementl allow you to enter that much only.If you want to enter n no of characters then use dataelement string_table.

Former Member
0 Kudos

Hi ,

I have used data type as LCHR with length 20000 for the comments field.

please suggest

Former Member
0 Kudos

I have tested with data type LCHR with lenghth 20000. It is working perfectly I can enter more than 1000 also.Check your text edit UI element properties once again or else use type string_table.

Former Member
0 Kudos

I am having similar problem. Not allowed more than 1000 char if I use a data element other than of type string.

Says Value too large.

Anyone overcome this till now? We want to give users a limit of 1500 char.