‎2008 Jun 30 7:06 AM
Hi Experts
I got a requirement to create a table in data dictonary, I have around 20 fields, among them 12 are character fields, 2 are Raw datatype fields and remaining are intiger fileds.
Here my problem is among character fields 11 are having 256 as length and 1 is having 10000 as lenght.
Two raw fields are having 1000 and 10000 as length.
When I am using String insted of char and Rawstring insted of Raw, system is throwing an error, table
contains morethan 3 long string fields.
Please give me solution, how can I acheive these, this is a urgent requirement.
Regards
Praveen
‎2008 Jun 30 7:13 AM
Hi Praveen,
A table field can have a length maximum of 255 characters. You cannot exceed that length. Make sure that you donot cross that limit.
Hope this helps you.
Any queires, get back to me.
Regards,
Chandra Sekhar
‎2008 Jun 30 7:09 AM
hi,
Standard size of a table to be created should be less than 1962
and a field length is 1<length>255.
you can not create a field or table exceeding this limit.
‎2008 Jun 30 7:13 AM
Hi Praveen,
A table field can have a length maximum of 255 characters. You cannot exceed that length. Make sure that you donot cross that limit.
Hope this helps you.
Any queires, get back to me.
Regards,
Chandra Sekhar
‎2008 Jun 30 7:34 AM
hi,
There is no way to declare a table with a field length of 1000 charaters.
As you know SAP has defined the field length for tale fields as 256 only you cannot exceed that limit.
Try to cut short the length of the data.
Hope this will help.
Sumit Agarwal
‎2008 Jun 30 7:41 AM
You can use LCHR type and declare as much as you can.
But you need to use that filed along with INT2 field.
For reference you can check this table..
TVEP6
‎2008 Jul 01 7:04 AM
‎2011 Mar 09 10:06 AM
Hi Praveen,
How did u solve this problem? can you please share it so that I can also make use of it... I want to store long text(ie. description) in db.
Thanks & Regards,
Viral