cancel
Showing results for 
Search instead for 
Did you mean: 

error Entry is too long is displayed for the text edit

Former Member
0 Kudos

HI ,

In my webdynpro application I have a text edit control . If the user enters more than 132 characters without a carriage return, the I get the error "Entry is too long" . In the property of the text edit I have changed the following.

Wrapping : Hard (So a carriage return is inserted at the end of every line)

Cols: 130

.

Can you guys help me out.

Thanks in advance,

Regards,

Subash M

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

You might have bound some context attribute to this TEXT EDIT.

what is the DE/Domain (Length & Type) you have used.

Former Member
0 Kudos

Hi ,

It was a char 132 . Now I had changed it to Char 130 and still the same problem exists.

Could you plz help.

Thanks,

Subash M

Former Member
0 Kudos

Hi,

You can either have a STRING pr CHAR1024 type for that right.

Regards,

Lekha.

Former Member
0 Kudos

hi ,

The attribute to be bound can be of type STRING or STRING_TABLE. With STRING_TABLE rows from TextEdit are stored as table rows. A line break is always stored as a line feed in a STRING (CL_ABAP_CHAR_UTILITIES=>NEWLINE, ASCII decimal 10). The Web Dynpro framework carries out the conversion for the client platform.

Note that a string to be displayed in TextEdit, must only use a line feed as a line break.

refer this online help :

http://help.sap.com/saphelp_nw70ehp1/helpdata/en/06/45ee412e5e6324e10000000a1550b0/content.htm

Answers (1)

Answers (1)

Former Member
0 Kudos

hi Subash ,

for ur text edit UI element , bind it to a context attribute of type string_table.