cancel
Showing results for 
Search instead for 
Did you mean: 

Data type of String

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

former_member186648
Active Contributor
0 Kudos

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.

Former Member
0 Kudos

Hi,

I got it

thanks a lot

Answers (1)

Answers (1)

sunil1101
Advisor
Advisor
0 Kudos

Hi

You can use data type Text.

Below details from the repository explorer

Overview

NameText
Namespacehttp://sap.com/xi/Common/DataTypes
Structure CategoryBasic
Usage CategoryCore
RepresentationText
XSD Data TypeString
Implementation TypeTEXT

Detailed Description

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

Regards

Sunil