on 09-30-2009 10:08 AM
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
Hi,
You might have bound some context attribute to this TEXT EDIT.
what is the DE/Domain (Length & Type) you have used.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
hi Subash ,
for ur text edit UI element , bind it to a context attribute of type string_table.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
78 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.