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

error with string type declaration in table

Former Member
0 Likes
1,708

Hi all,

i have a custom table which has fields with data type char(256) and i want to change the field description from 256 to 1250 so i changed the data type to string. it worked for 3 fields and for 4 field it is raising error "table contains more than 3 string fields" and i want to change the description length to 6 fields ,can i change this with any other data type.and also many fm are linked with this so i dont want to change the fm's operations

is it possible to use any other data type some thing related like char.and i dont want to use int as it effects all the function modules accessing the table

Thanx in advance

6 REPLIES 6
Read only

Former Member
0 Likes
1,204

same thread...

Message was edited by:

kishan negi

Read only

Former Member
0 Likes
1,204

please create one structure with remaining 3 fields and include that activateed structure into your Custom table ... so that it will solve your problem ...

example

table -> 3 fields + ( 1 include structure with 3 fields in it . ).

Reward points if it is usefull ...

Girish

Read only

0 Likes
1,204

Hi all

I dont want to change the structure of the table as it effects other functionalities which access this table

thanks

Read only

0 Likes
1,204

solution found

Read only

0 Likes
1,204

Dear Kumar,

Iam searching for one point where i want to declare

for a field more than 255 characters so i have i created custom domain (zdomain) for the field and used the

data type as String .......initially it is showing as zero lenth , now i have assigned this domain to the data element zmanager .....for my field Zmanager in the custom table .

so when iam doing the table maintenance generator it is givng error as Data type String not supported in field Zmanager.

Please let me know how you used the String and the table maintenance problem as well.

thanks & regards

madhuri

Read only

0 Likes
989

 

  • The STRING type is not supported in transparent tables or when generating Table Maintenance (SM30).

  • This is because STRING is variable-length and only supported in structures or internal tables—not in database tables directly.