Skip to Content
-1

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

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?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

0 Answers