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

table

Former Member
0 Likes
917

Hi all,

I have created a Z table which has a field MAIL1. i changed it's type from CHAR to STRING.But when i activate the program - it says the Z table should be a flat structure :; you cannot use internal table, strings, references.......................wat could be wrong? kindly reply

thanks .

1 ACCEPTED SOLUTION
Read only

amit_khare
Active Contributor
0 Likes
894

You cannot have type STRING in Tables/Structures.

Instead use a CHAR type as per requirement.

like CHAR255.

Regards,

Amit

reward all helpful replies.

8 REPLIES 8
Read only

amit_khare
Active Contributor
0 Likes
895

You cannot have type STRING in Tables/Structures.

Instead use a CHAR type as per requirement.

like CHAR255.

Regards,

Amit

reward all helpful replies.

Read only

Former Member
0 Likes
894

hi,

chk if u have used it elsewhere in some program. If so comment it and activate again.

regards,

raksha

Read only

Former Member
0 Likes
894

Hi Kavita ,

You cannot use string as a feild in a table , what i would suggest is you use the data type CHAR255.

Regards

Arun

Read only

Former Member
0 Likes
894

HI Kavitha,

Delete the Field and create a new one.

Data type : String Length : 256.

It will work.

Thanks.

Read only

Former Member
0 Likes
894

<b>After changing the datatype of the field,

GOTO UTILITIES->DATABASE UTILITY->ACTIVATE AND ADJUST DATABASE.

Regards,

Pavan P.</b>

Read only

Former Member
0 Likes
894

Hi

U canot use the string type in Table instead use char type.

Thanks

Read only

Former Member
0 Likes
894

hi kavitha,

when ever u have changed a database table then u sholud adjust it and activate it again as after completing all ur changes in SE11 -> UTILITIES -> DATABASE UTILITY -> CLICK ON ACTIVATE AND ADJUST DATABASE. then only all ur changes are reflected in database otherwise previous version of activated will take and displays same error again n again.

if helpful reward some points,

with regards,

Suresh.A

Read only

Former Member
0 Likes
894

Hi kavitha

you cannot use string in tables so u better use char type as

CHAR255

if use reward points

Regards,

Azhar