2005 May 18 1:14 PM
Hi,
When I am trying to create a reference to a table,
It give a the error message: <b>The type specification of the "table" is incomplete</b>
at the create statement.
PARAMETERS: p_table TYPE dd02l-tabname default 'zemp3'.
DATA: lv_dref TYPE REF TO data.
CREATE DATA lv_dref TYPE table of (p_table).
The system that I am working on is 46c,
2005 May 18 1:27 PM
Hi,
You have to use a command similar to
CREATE DATA lv_dref TYPE (p_table).
And the type in <i>p_table</i> must be a table type.
Hope that helps (please reward me if it does),
Joerg.
2005 May 18 1:23 PM
Hi,
Refer this link
http://help.sap.com/saphelp_46c/helpdata/en/4f/c7f9bdaa28d3119b440060b0671acc/frameset.htm
Thanks & Regards,
Judith.
2005 May 18 1:27 PM
Hi,
You have to use a command similar to
CREATE DATA lv_dref TYPE (p_table).
And the type in <i>p_table</i> must be a table type.
Hope that helps (please reward me if it does),
Joerg.
2005 May 18 1:38 PM
Hi,
try
CREATE DATA lv_dref TYPE STANDARD table of (p_table).
regards
Siggi
2005 May 18 1:56 PM
Hi,
i think the statement
CREATE DATA lv_dref TYPE table of (p_table).
does'nt work under 4.6C (but >= 6.1)
-> search in that forum with search-item 'dynamic AND table'
or look out for this weblog:
/people/subramanian.venkateswaran2/blog/2004/11/19/dynamic-internal-table
regards Andreas