‎2011 Mar 29 2:28 PM
I have one internal table which points to one structure. Later , I assign the new structure to that dynamic internal internal table.
But it does not work. Could you please advise me?.
‎2011 Mar 29 3:36 PM
Hi Selvakumar,
If u explain briefly about your issue u ll get the accurate solution. Ok pls try this.,
FIELD-SYMBOLS: <gt_table> TYPE STANDARD TABLE,
<gwa_table> TYPE ANY.
DATA wa_gp_line TYPE REF TO data.
i_gp_table TYPE REF TO data.
*-- Create dynamic internal table
ASSIGN i_gp_table->* TO <gt_table>. " assigning.. may be u forget to assign the new structure again.
*--Create Work Area Dynamically
CREATE DATA wa_gp_line LIKE LINE OF <gt_table>.
ASSIGN wa_gp_line->* TO <gwa_table>. " .assigning work area
pls go through this., reply if u need some more clarifications.,
Thanks & Regards
Kiran
‎2011 Mar 29 3:36 PM
Hi Selvakumar,
If u explain briefly about your issue u ll get the accurate solution. Ok pls try this.,
FIELD-SYMBOLS: <gt_table> TYPE STANDARD TABLE,
<gwa_table> TYPE ANY.
DATA wa_gp_line TYPE REF TO data.
i_gp_table TYPE REF TO data.
*-- Create dynamic internal table
ASSIGN i_gp_table->* TO <gt_table>. " assigning.. may be u forget to assign the new structure again.
*--Create Work Area Dynamically
CREATE DATA wa_gp_line LIKE LINE OF <gt_table>.
ASSIGN wa_gp_line->* TO <gwa_table>. " .assigning work area
pls go through this., reply if u need some more clarifications.,
Thanks & Regards
Kiran
‎2011 Mar 29 3:58 PM
I have resolved it .. I have made a mistake in the variable assignment.
Thanks