on 07-05-2011 12:36 PM
HI,
I have requirement to take around 10,000 characters from user. I have used TextEdit UI
but there is a limitation for this U.
It accepts only 1000 characters even if the attribute to which it has binded has length 10,000 characters.
If I enter more than 1000 character, it gives me error u201CValue Is too large"
How to overcome such error? Any other UI which can be used to satisfy the requirement?
Check whether the Office control UI element suits you ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I do not want to display. I want input from USER.
Text View will not help in my requirement.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi shefali,
I dont know it is working for 10,000. I never tried such long text. But you can try this.
Create one TEXTVIEW UI Element.
Create one attribute of type STRING and bind this to textview property.
and write this code to get text.
DATA lo_el_context TYPE REF TO if_wd_context_element.
DATA ls_context TYPE wd_this->Element_context.
DATA lv_string TYPE wd_this->Element_context-string.
* get element via lead selection
lo_el_context = wd_context->get_element( ).
data text1 type string.
CONCATENATE 'sdhfsdjfhsdkfhsdsdfhsdjfhsdkfsdkfhssdfsdfdsfsdfsddfdfgdfg'
'fgdfgggggggggggggggggggggggggggggggggggggggggggggdfgdfgdfg'
'dfgfdddddddddddddddddddddddddddddddddddddddddddddddddddddgdfg'
'dfgggggggggggggggggggggg' into text1.
* set single attribute
lo_el_context->set_attribute(
name = `STRING`
value = text1 ).
Cheers,
Kris.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
24 | |
12 | |
9 | |
7 | |
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.