cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

CDS VIEW TABLE FUNCTION MAXIMUM PARAMETER LENGTH FOR STRING

jtongol
Explorer
0 Likes
4,978

Hi Experts,

I am new in ABAP HANA.

Currenlty im creating a CDS Table function and AMDP. Im having problem when i put paramater length morethan 1333 or when im puting STRG datatype in CDS Function parameter. I need a datatype length greater than 1333 because i am using a "SELECT OPTION" for where clause using CL_SHDB_SELTAB=>combine_seltabs and APPLY_FILTER function(in AMDP)

The character length after the conversion using combine_seltabs is morethan 1333.

I try to create a custom datatype with type of string. But i got Error.

I also try to put string_val and any string*.But i got error as well.

here is the error i i got in ST22 when i try to put a data element with insufficient length.

Basically what i need is a datatype that has very large length like the STRING.

Can you give me suggestions what datatype should i put on.Thanks in Advance.

View Entire Topic
retired_member
Product and Topic Expert
Product and Topic Expert

CHAR is the type for text fields. You must use the STRING type instead.

https://help.sap.com/doc/abapdocu_latest_index_htm/latest/en-US/index.htm?file=abenddic_builtin_type...

jtongol
Explorer
0 Likes

I got error when i try to put a Datatype with a type STRING.

I try string_value but got error.

I try to create a custom datatype with type string.But i also got error as well.

Can you give particular Datatype to use? Thanks!