Skip to Content
author's profile photo Former Member
Former Member

Dynamic Field symols values assign to the dynamic deep structure

Hi Guys,

i want to pass the ( Dynamic value ) field symbol value to the dynamic deep structure, and also each and every time i am getting different table entries pass to the same dynamic deep structure.

any solution.

Thanks & Regards


Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Posted on Dec 04, 2007 at 12:10 PM

    Please post the relevant portion of code, embedded in CODE tags.


    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member


      begin of lt_data OCCURS 3,

      table_name type lvc_fname,

      lt_fin_g TYPE REF TO data,

      end of lt_data1.

      data: ls_data like LINE OF lt_data.

      FIELD-SYMBOLS : <ls_data> TYPE ANY.

      ls_data-table_name = p_table.

      CREATE DATA ls_data-lt_fin_g TYPE STANDARD TABLE OF (p_table).


      MOVE <ls_data> ?TO ls_data-lt_fin_g.

      CATCH cx_root.


      APPEND ls_final1 TO lt_data.

      the value not moved to the ls_data-lt_fin_g i am getting CX_MOVE_CAST_ERROR to populate the <ls_data> data to the ls_data-lt_fin_g.

      any idea!

      Thanks & Regards


Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.