‎2008 Apr 09 10:30 AM
I have defined a structure "my_structure" in Data Dictionary whose fields are all type string.
In my report I write "TABLE: my_structure."
It's shown this message:
"my_structure" must be a flat structure. You cannot use internal tables, strings, references, or structures as components.
What is wrong?
What can I do to use my_structure?
Simone
‎2008 Apr 09 11:00 AM
Hi Simone,
Flat structures contain only fields of the elementary types C, N, D, T, F, I, P, and X, or structures containing these types.
Flat structures contain only elementary data types with a fixed length (no internal tables, reference types, or strings).
In a flat structure, every field either refers to a data element or is directly assigned a data type, length and possibly decimal places.
Try to change ur field type.
Reward points if helpful....
Regards
AK
‎2008 Apr 09 11:00 AM
Hi Simone,
Flat structures contain only fields of the elementary types C, N, D, T, F, I, P, and X, or structures containing these types.
Flat structures contain only elementary data types with a fixed length (no internal tables, reference types, or strings).
In a flat structure, every field either refers to a data element or is directly assigned a data type, length and possibly decimal places.
Try to change ur field type.
Reward points if helpful....
Regards
AK
‎2008 Apr 09 11:37 AM
Hi,
1.You cann't create the domain with Strings.
2.Just create with chars ,dats etc.
Regards,
If helpful reward with points(Don't forget).
‎2008 Apr 09 12:38 PM
In your structure replace all predefined type strings with some data elemnts like char256.
‎2008 Apr 09 12:47 PM
hi,
Create domains with char256 instead of string.
this will solve the problem for sure.
reward if useful.
‎2008 Apr 09 1:53 PM
Hi,
In structure,u have to use the fields that must be defined already.i.e) if u use the matnr the component type is 'matnr' that u defined already in mara table...i am thinking that u cant create ur own component type in structure.i hope it helps.
Thank u,
Manjula Devi.D