‎2009 May 05 7:10 AM
hi alll,
CALL METHOD cl_alv_table_create=>create_dynamic_table
EXPORTING
it_fieldcatalog = g_fieldcatalog
IMPORTING
ep_table = i_table.
i want to create an internal table of type i_table
is this possible?
any suggestions are helpful
Thank You
regards,
PP
‎2009 May 05 7:14 AM
assign it to field symbol.
FIELD-SYMBOLS: <i_dyntable> TYPE STANDARD TABLE
ASSIGN i_table->* TO <i_dyntable>.
‎2009 May 05 7:16 AM
iwant to create a normal internal table ITAB without header line.
‎2009 May 05 7:27 AM
Hi ,
Use stmt
FIELD-SYMBOLS: <L_TABLE> TYPE TABLE,
<L_FIELD> TYPE ANY,
<L_LINE> TYPE ANY.
DATA: NEW_LINE TYPE REF TO DATA.
ASSIGN I_TABLE->* TO <L_TABLE>.
This will create a table without header line.
In order to create a work area for same use,
CREATE DATA NEW_LINE LIKE LINE OF <L_TABLE>.
ASSIGN NEW_LINE->* TO <L_LINE>.
here <L_TABLE> is as good as an internal table without a header line.
You can perform all the operations the way u do on internal table.
regards,
ajit.