Skip to Content

Custom BO - textfields / length - LanguageIndependant_Extended_Text - max 255

Hi experts,

In our custom BO we have the requirement to use some text fields beside the input fields - but as far we can see this is now limited until 255 characters - by using the element - LanguageIndependant_Extended_Text - is the only solution to use the reusable Text_collection object.

see - https://scn.sap.com/thread/3403512 or https://scn.sap.com/thread/3404546

aSAsaS.jpg (107.3 kB)
Add a comment
10|10000 characters needed characters exceeded

Related questions

5 Answers

  • Best Answer
    Posted on May 26, 2016 at 02:51 PM

    Hi Jeroen,

    Yes you can use data type "LANGUAGEINDEPENDENT_EXTENDED_Text, in custom BO also.

    Go and use it.

    Regards

    Sunil

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on May 27, 2016 at 03:03 AM

    Hello Jeoren,

    For text with unrestricted length, the only field provided is the Dependent Object TextCollection. For all other data types is, due to the SQL interface, restricted to 255 characters maximum.

    But for Custom BOs you can use “LANGUAGEINDEPENDENT_ENCRYPTED_EXTENDED_Name” which will have the length of 765 chars(more than regular 255) on the data base. Note that it will not work in XBOs.

    Thanks,

    Dhanya

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on May 26, 2016 at 02:55 PM

    Hi,

    Please check http://scn.sap.com/message/16651860#16651860 Thanks, Pradeep.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on May 26, 2016 at 03:13 PM

    Hi Jeoren,

    I don't know the exact scenario you are working on, but can suggest another workaround.

    If you create two extension fields as LANGUAGEINDEPENDENT_EXTENDED_Text data type and use these fields in custom Embedded component, changing the display type under properties to TextEdit, you should be able to achieve the desired results.

    Best Regards,

    Preethi Santhanam

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on May 26, 2016 at 04:27 PM

    Hi

    I just checked and found you can not use LANGUAGEINDEPENDENT_EXTENDED_Text, it gives the error

    but you can use [DependentObject(TextCollection)] node ItemTextCollection;

    I have bind the field ItemTextCollection->Text->TextContent-Text and it accepts unrestricted length

    Regards

    Sunil


    LongText.png (69.2 kB)
    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.