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: 

Datatype of 500 character

Former Member
0 Kudos

Hi All,

I want to save some long data in my ztable field the length is 500 character. Can I save in my ztable. I made ztable

and gave datatype string but it is taking only 255 character. pls give me solution.

Thanks,

Rakesh

5 REPLIES 5

Former Member
0 Kudos

Hello

Try to use type OFX_LINE instead of string.

0 Kudos

error is comming

Field is too long (specify a length between 1 and 255)

rakesh

Former Member
0 Kudos

Hi,

i think it is not posible to display more than 255 character in one field

Thanks

Former Member
0 Kudos

Hi

You can data element LCHR for the particular field. It has 1000 character length. Refer the SAP structure EDIDD field SDATA

Edited by: Thiruibm on Mar 11, 2010 1:30 PM

Former Member
0 Kudos

Hi Rakesh,

Did you use a type of STRING or did you accidentally use SSTRING? Check also the SAP help on [Data Types in the ABAP Dictionary|http://help.sap.com/SAPHELP_NW70EHP1/helpdata/EN/cf/21f2e5446011d189700000e8322d00/frameset.htm], which lists a couple of other options you have.

An example from SAP (predating STRING types) is database table EDID4, where IDoc segment data is stored. The last field contains the actual data stored as a long string.

Cheers, harald