Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

alv dump: Conversion of type "TABLE OF LVC_S_STYL" to type "STRING" not supported.

marco_sposa
Participant
0 Kudos
Hello Folks, i'm trying to build and editable alv at runtime but i'm having a dump in object when calling set_table_for_first_display.


      LOOP AT <dyn_table> ASSIGNING <dyn_data>.
* Move value to each component.
        l_sytabix = sy-tabix.
        LOOP AT gt_fcat INTO gs_fcat.
          ASSIGN COMPONENT gs_fcat-fieldname
            OF STRUCTURE <line_new> TO <fs_new>.
          CASE gs_fcat-fieldname.
            WHEN 'CELLTAB'.
              IF <fs_new> IS ASSIGNED.
                <fs_new> = lt_celltab[]  .
              ENDIF.
            WHEN OTHERS.
              ASSIGN COMPONENT gs_fcat-fieldname
                OF STRUCTURE <dyn_data> TO <fs>.

             MOVE <fs> TO <fs_new>.
          ENDCASE.
        ENDLOOP.
        APPEND <line_new> TO <itab>.
      ENDLOOP.

what do i miss please?

2 REPLIES 2

Sandra_Rossi
Active Contributor
0 Kudos

please attach the dump!

marco_sposa
Participant
0 Kudos

sorry not to have post the dump. i solved it myself, was an assign not done correctly.