Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

how to declare a custom field more than 255 characters?

Former Member

Dear Freinds,

I have custom table where one character field name i want more than 255 characters .....the size of the field i require is 800 .Could any one one let me know how i can increase the size to 800 or is there any way we can declare to size 800 ....as

normally i know is we can declare only 255 character in size, but i heard there is another way around we can declare . Could any one please help me out.

regards

madhuri

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi,

Use a datatype STRING and check it will work.

Thanks

VIkranth

7 REPLIES 7

Former Member
0 Kudos

Hi,

Use a datatype STRING and check it will work.

Thanks

VIkranth

0 Kudos

Hi Vikranth,

I have declared as below ,

data type zmanager i have declared as STring.

but when iam trying for table maintenance generator it is giving me error saying as "Data Type STRING not supported in field Zmanager" . Please let me know how this string works for my scenario.

please help me.

regards

madhuri

prasanth_kasturi
Active Contributor
0 Kudos

hi,

in the domain take the data type as string

or

take char type and length 800

to display the table use ALV grid display

regards

prasanth

former_member202474
Contributor
0 Kudos

Hi,

In se11 transaction goto datatype and search for char* in data elements.

u will find predefined data types ,u can make use of it.

For eg. char2000,char3000,char4000 etc.

Reward if helpful.

Regards,

Ruby.

0 Kudos

Hi Ruby,

i have tried changing at dataelement level only..byusingthe standrd ie char 2000 , and i have tried other way by creating a custom domain and for the data type i have used char and given size as 2000. Wheniam activating it is aying i can use the size range from 0 to 255 characters only......i have tried by declaring as string the data element ...it has taken as zero size as in the string we can use as many characters i can , but when iam trying to table generator ...it saying i canot declare my field as String .

please help what i can do to solve this issue.

thanks

regards

madhuri

Former Member
0 Kudos

Hi Madhuri,

The best we can do is declare its data type as STRING or else use CHAR2000 as such the data type.

Hope this helps you to solve your problem.

Plz reward if useful.

Thanks,

Dhanashri.

Former Member
0 Kudos

Hi,

Refer to following link,

https://forums.sdn.sap.com/click.jspa?searchID=13083594&messageID=5627296

It will solve your problem.

reward pts if usefull.

regards,

Dhana