2009 Mar 30 5:46 AM
Hi All,
I wanted to use a ZTable with the TABLES statement, but it is throwing an error saying " Ztable must be a flat structure. you cannot use internal tables, strings, references or structures as components."
What might be the reason for this error??
Thanks in advance.
Hi All,
I wanted to use a ZTable with the TABLES statement, but it is throwing an error saying " Ztable must be a flat structure. you cannot use internal tables, strings, references or structures as components."
What might be the reason for this error??
Thanks in advance.
2009 Mar 30 6:18 AM
This Ztable, is this a transparent table (structure) or is it a table type?
In case of table type, you should use USING or CHANGING parameter.
Might be better to paste part of your code here, and do not forget to tell how this Ztable is defined (Data dictionary or even local type).
2009 Mar 30 6:59 AM
the Ztable is a transparent table, and it is a Data dictionary object.
2009 Mar 30 7:14 AM
So where are you using this TABLES statement?
In a report as data declaration, in a (sub)routine or even in ABAP (local) classes (OO)?
Better past (part of the) code here for better understanding.
2009 Mar 30 7:37 AM
thanks guys... i got it... i had included a string field in the ztable...
2009 Mar 30 7:02 AM
Hi Radhika,
Create the table type for the ztables in se11
Regards,
Sravanthi
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |