‎2009 Aug 28 5:05 PM
Hi together,
I used the following coding to dynamically create a structure and a table in my report:
.....
data:
ce1xxxxc type ref to data,
u_ce1xxxx type ref to data.
Field-symbols: <ce1xxxxc> type any.
Field-symbols: <u_ce1xxxx> type standard table.
create data ce1xxxxc type (tab).
create data u_ce1xxxx typer table of (tab).
assign ce1xxxxc->* to <ce1xxxxc>.
assign u_ce1xxxx->* to <u_ce1xxxx>.
....
In Release 4.7 and ECC 6.0 this works but not in Release 4.6B.
SAP ciomplains about the statement " create data u_ce1xxxx type table of (tab)."
It get the rror-message "The type specification of "TABLE" is incomplete.
Can anybody help?
Kind regards
Udo
‎2009 Aug 28 5:14 PM
This statement is not allowed in 4.6b/4.6c.
You have to create dynamic internal table using generate subroutine. OR use class cl_alv_table_create