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

Deep structure help

Former Member
0 Likes
400

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,

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
366

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?

2 REPLIES 2
Read only

Former Member
0 Likes
367

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?

Read only

Sm1tje
Active Contributor
0 Likes
366

Just curious...How would you want to display a deepstructure in a table control which is a flat structure???