Skip to Content
author's profile photo Former Member
Former Member

how to declare a custom field more than 255 characters?

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

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

5 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jun 17, 2008 at 04:08 AM

    Hi,

    Use a datatype STRING and check it will work.

    Thanks

    VIkranth

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      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

  • Posted on Jun 17, 2008 at 04:24 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jun 19, 2008 at 05:27 AM

    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.

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      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

  • author's profile photo Former Member
    Former Member
    Posted on Jun 19, 2008 at 05:43 AM

    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.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 19, 2008 at 08:13 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.