Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Header line missing in internal table

Hi experts,

I am working on the module pool program with a screen 0100. There is a table called TABL_MATR in screen 0100.

My problem now is whenever I tried to compile the program I got this error.

The program "SAPMZXXX_MYAHSAM_CHECK" has terminated.                                                                                
The following error occurred (short text of cause of error):           
"FX103: Header line missing in internal table."                                                                                
The following elements are affected:                                   
Screen name.............. "SAPMZXXX_MYAHSAM_CHECK"                        
Screen number............ 0100                                                                                
This error is connected to the processing of an internal table with the
field or variable "ITAB_TRAY", and was triggered within in the program.
process before output.
  module status_0100.

  module tabl_change_tc_attr.
  loop at itab_tray" into wa_tray
       with control tabl_matr
       cursor tabl_matr-current_line.
  endloop.

The declaration of ITAB_TRAY

* include MZXXX_MYAHSAM_CHECK_TOP
PROGRAM MZXXX_MYAHSAM_CHECK_TOP

TYPES: LS_TRAY   TYPE ZXXX_TRAY.

DATA: ITAB_TRAY  TYPE STANDARD TABLE OF LS_TRAY,
      ITAB_COVER TYPE STANDARD TABLE OF LS_TRAY,
      WA_TRAY    LIKE LINE OF ITAB_TRAY,
      WA_COVER   LIKE LINE OF ITAB_COVER.

CONTROLS: TABL_MATR TYPE TABLEVIEW USING SCREEN 0100.

I understand that the problem now is the header line is missing in the internal table. If not mistaken, header line is no longer support in OOP (TC SE24).

Therefore, I am doing it in the other way, which is using the workarea. How to resolve this?

Can someone help or guide me how should I continue the next steps?

Thanks in advance.

Former Member
Not what you were looking for? View more on this topic or Ask a question