Skip to Content
avatar image
Former Member

Data type of String

Hi Guys,

i have to pass some text from Cloud but i don't know what type i should use for the text?

the text look like [ {'key':'390001X', 'taxValue':'50.000000-', 'incomeTypetxt':'อื่นๆ ได้แก่ ค่าเช่าเรือ ค่าขนส่ง หรือ ค่าประกันวินาศภัย', 'baseAmount':'-5000.000000 ', 'date':'2016-04-12'}, {'key':'14A001C', 'taxValue':'20.000000-', 'incomeTypetxt':'40 (4) (A) ดอกเบี้ย

as you can see above text there isn't ] at the end of the text because it is cut.

its length is longer than 255, so i don't know what type i have to use?

element jsonNote : ? ;

Regards,

Thanarat

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • Best Answer
    Apr 14, 2016 at 02:49 AM

    Hi,

    You could use datatype "LANGUAGEINDEPENDENT_ENCRYPTED_EXTENDED_Name", this supports length 765.

    Note:

    If you just want to use it in ABSL script and need not persist this in the BO as element, then you need not have this element in the BO , instead in the ABSL script you could just have a assignment statement like:
    var element = "<unlimited string content>";

    variable assignment would take unlimited length.

    Thanks, Pradeep.

    Add comment
    10|10000 characters needed characters exceeded

  • Apr 14, 2016 at 02:50 AM

    Hi

    You can use data type Text.

    Below details from the repository explorer

    Overview

    NameTextNamespacehttp://sap.com/xi/Common/DataTypesStructure CategoryBasicUsage CategoryCoreRepresentationTextXSD Data TypeStringImplementation TypeTEXT

    Detailed Description

    An upper limit for the number of characters that a "Text" can contain is not defined.

    Regards

    Sunil

    Add comment
    10|10000 characters needed characters exceeded