2009 Aug 07 3:08 PM
Hello.
I am trying to create a table control using deep structures.
I have defined my table control and deep structure as follows:
CONTROLS tc_deepstructure TYPE TABLEVIEW USING SCREEN 200.
Tables: xixi_strorders.
In the flow logic:
LOOP AT t_orders INTO t_orders
WITH CONTROL tc_orders
CURSOR tc_orders-current_line.
....
ENDLOOP.
BUT its giving me an error in the top 😕
"xixi_STRorders" must be a flat structure. You cannot use internal tables, strings, references, or structures as components ."
Any help would be appreciated,
2009 Aug 07 3:16 PM
The error already is telling that you need a flat structure. That means no deep structures allowed. Can you create an internal table with less fields, excluding the deep parts, for table control?
Just curious...How would you want to display a deepstructure in a table control which is a flat structure???
2009 Aug 07 3:16 PM
The error already is telling that you need a flat structure. That means no deep structures allowed. Can you create an internal table with less fields, excluding the deep parts, for table control?
2009 Aug 07 5:09 PM
Just curious...How would you want to display a deepstructure in a table control which is a flat structure???
| User | Count |
|---|---|
| 6 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |