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

Facing Problem with Ztable

Former Member
0 Likes
564

Hi Experts,

This is urgent

I am facing a problem with Ztable,

if i declare

Tables :zptp_dispo_req.

it is giving syntax error as

"zptp_dispo_req." must be flat structure. ypu cannot use internal tables, strings, references, or structures as components

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
528

Hi,

i think in ur table creation for some field u have given the type as string.that is the reason for this error.

tables declaration is not allowed in OOPS concepts.

rgds,

bharat.

3 REPLIES 3
Read only

Former Member
0 Likes
529

Hi,

i think in ur table creation for some field u have given the type as string.that is the reason for this error.

tables declaration is not allowed in OOPS concepts.

rgds,

bharat.

Read only

Former Member
0 Likes
528

hye reddy,

May be the table has composite structure in it.

more over tables statement is no recomandable. it is a better practise to define the struture.

reward if helpful.

thanks,

Imran.

Read only

Former Member
0 Likes
528

Hi

You have created some field of string type in your domain. That's the reason for this error. Change it from string to some other type say char of 20 length. I am sure it will work. I faced similar problem and that was solved by doing this.