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

Defining table in the interface of function

Former Member
0 Likes
640

Hi @ll,

I have created an structure XX with many fields. Under the "table"-tab in my function ZZ I need to define a table YY referring to my structure XX to fill some rows and handing over it to an external function TT.

Now when I try to check my function ZZ and activate it I get the syntax error "structure XX" must be a flat structure. You cannot useinternal tables, strings, references, or structures as components.

Can anybody help.

Thanks

Kam

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
606

Hello,

Please check if the structure don't contains tables as fields (deep structure) or reference variables.

Regards,

Hi @ll,

I have created an structure XX with many fields. Under the "table"-tab in my function ZZ I need to define a table YY referring to my structure XX to fill some rows and handing over it to an external function TT.

Now when I try to check my function ZZ and activate it I get the syntax error "structure XX" must be a flat structure. You cannot useinternal tables, strings, references, or structures as components.

Can anybody help.

Thanks

Kam

3 REPLIES 3
Read only

Sm1tje
Active Contributor
0 Likes
606

Are you using TYPE or LIKE?

Edited by: Micky Oestreich on Apr 29, 2008 6:42 PM

Read only

Former Member
0 Likes
606

no mater LIKE or TYPE I get the same message

Read only

Former Member
0 Likes
607

Hello,

Please check if the structure don't contains tables as fields (deep structure) or reference variables.

Regards,