Application Development and Automation 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: 
Read only

String in SM30?

bjorn-henrik_zink
Contributor
0 Likes
3,257

Hi,

when I try to generate table maintainance (<b>sm30</b>) I get the following error:

<b>Data type STRING is not supported </b>

I need to add long texts in some database table fields. How can I achieve that and at the same time use the table maintainance generator?

Thanks.

/Elvez

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,721

As far as I know, the Dynpro is not able to display fields longer than 255.

Best regards,

Thomas

6 REPLIES 6
Read only

anversha_s
Active Contributor
0 Likes
1,721

hi,

did u try XSTRING.

rgds

anver

Read only

0 Likes
1,721

Hi Anversha,

I do not have XSTRING in the system (ERP2005/ECC 6.0).

/Elvez

Read only

0 Likes
1,721

Hi,

It's not possible to generate Table Maintanance generator if you have fileds of STRING. May be you can try LCHR in your table instead of STRING.

LCHR will let you generate the maintance generator.

You need to add one more field to the table for storing the length of the string that is stored in LCHR.

Regards,

Sesh

Read only

eddy_declercq
Active Contributor
0 Likes
1,721

Hi,

Check threads like

Eddy

Read only

Former Member
0 Likes
1,721

hi

u have to declare data type as CHAR and in domain give the length like 1000/200/3000...as u wish(as per ur requirement)...

string will not support..ok use char

Ramesh

Read only

Former Member
0 Likes
1,722

As far as I know, the Dynpro is not able to display fields longer than 255.

Best regards,

Thomas