Skip to Content
1
Former Member
Jul 07, 2009 at 05:38 PM

Error: itab is a table without a header....

17612 Views

Hi everybody,

i get the following error after activation:

"ITAB" is a table without a header line and therefore has no component called "NUM"..

How can i solve this problem?

  TYPES: BEGIN OF i_itab,
           NUM TYPE I,
         END OF i_itab.
         
  DATA: itab TYPE TABLE OF i_tab.
 
  LOOP AT myTable INTO ls_mytable.

    itab-num = ls_mytable-nr.
    APPEND itab.

  ENDLOOP.

regards,

Sid

Edited by: Sid on Jul 7, 2009 7:39 PM