<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Header line missing in internal table in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/header-line-missing-in-internal-table/m-p/5616167#M1279543</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello abap experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any solutions for this?&lt;/P&gt;&lt;P&gt;Please help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 20 May 2009 05:04:21 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-05-20T05:04:21Z</dc:date>
    <item>
      <title>Header line missing in internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/header-line-missing-in-internal-table/m-p/5616158#M1279534</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am working on the module pool program with a screen 0100. There is a table called TABL_MATR in screen 0100.&lt;/P&gt;&lt;P&gt;My problem now is whenever I tried to compile the program I got this error.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
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.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;CODE&gt;
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.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;The declaration of ITAB_TRAY&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
* 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.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;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).&lt;/P&gt;&lt;P&gt;Therefore, I am doing it in the other way, which is using the workarea. How to resolve this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can someone help or guide me how should I continue the next steps?&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 May 2009 06:30:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/header-line-missing-in-internal-table/m-p/5616158#M1279534</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-06T06:30:30Z</dc:date>
    </item>
    <item>
      <title>Re: Header line missing in internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/header-line-missing-in-internal-table/m-p/5616159#M1279535</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you are using Table Controls. Instead of that use ALV, that is the better one for Objects.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 May 2009 09:19:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/header-line-missing-in-internal-table/m-p/5616159#M1279535</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-06T09:19:20Z</dc:date>
    </item>
    <item>
      <title>Re: Header line missing in internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/header-line-missing-in-internal-table/m-p/5616160#M1279536</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi..&lt;/P&gt;&lt;P&gt;Instead of &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;DATA: ITAB_TRAY  TYPE STANDARD TABLE OF LS_TRAY,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Use&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;DATA: ITAB_TRAY  TYPE TABLE OF LS_TRAY WITH HEADER LINE,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vidhi.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 May 2009 09:31:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/header-line-missing-in-internal-table/m-p/5616160#M1279536</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-06T09:31:18Z</dc:date>
    </item>
    <item>
      <title>Re: Header line missing in internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/header-line-missing-in-internal-table/m-p/5616161#M1279537</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vija,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;I cannot use ALV to replace my module pool table because the table will display data instantly. &lt;/P&gt;&lt;P&gt;I believe ALV is more suitable for reporting purposes. Please correct me if I am wrong.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi Vidhi Shah,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am in the practice of trying to avoid to use the syntax that going to obsolete, and WITH HEADER LINE is not supported in OOP.&lt;/P&gt;&lt;P&gt;That is the reason why I use work area instead of header line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any other ideas how to resolve the problem?&lt;/P&gt;&lt;P&gt;Thanks all.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 May 2009 10:07:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/header-line-missing-in-internal-table/m-p/5616161#M1279537</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-06T10:07:03Z</dc:date>
    </item>
    <item>
      <title>Re: Header line missing in internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/header-line-missing-in-internal-table/m-p/5616162#M1279538</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are using work area, i guess that it should be :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  loop at itab_tray &lt;STRONG&gt;into wa_tray&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;       with control tabl_matr&lt;/P&gt;&lt;P&gt;       cursor tabl_matr-current_line.&lt;/P&gt;&lt;P&gt;  endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 May 2009 10:39:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/header-line-missing-in-internal-table/m-p/5616162#M1279538</guid>
      <dc:creator>dev_parbutteea</dc:creator>
      <dc:date>2009-05-06T10:39:31Z</dc:date>
    </item>
    <item>
      <title>Re: Header line missing in internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/header-line-missing-in-internal-table/m-p/5616163#M1279539</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Even in ALV instant data can be shown. There are many event with the gris , which you can use to change the data and display. Have a look in the class CL_GUI_ALV_GRID.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 May 2009 10:44:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/header-line-missing-in-internal-table/m-p/5616163#M1279539</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-06T10:44:44Z</dc:date>
    </item>
    <item>
      <title>Re: Header line missing in internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/header-line-missing-in-internal-table/m-p/5616164#M1279540</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dev Parbutteea,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Exactly. But whenever I updated record into ITAB_TRAY, no record show in table tabl_matr in screen 0100. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is not right?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 May 2009 11:22:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/header-line-missing-in-internal-table/m-p/5616164#M1279540</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-06T11:22:59Z</dc:date>
    </item>
    <item>
      <title>Re: Header line missing in internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/header-line-missing-in-internal-table/m-p/5616165#M1279541</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;loop at itab_tray" into wa_tray&lt;/P&gt;&lt;P&gt;       with control tabl_matr&lt;/P&gt;&lt;P&gt;       cursor tabl_matr-current_line.&lt;/P&gt;&lt;P&gt;  endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the loop what you showed, there is nothing like saving or updating the tabl_matr...&lt;/P&gt;&lt;P&gt;Only u r opening the table control and placing the cursor at current_line position..&lt;/P&gt;&lt;P&gt;I guess u have to write some code to place the record on screen 0100in table control...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I dont know much about table controls...but I can guess this might be the problem!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 May 2009 13:24:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/header-line-missing-in-internal-table/m-p/5616165#M1279541</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-06T13:24:12Z</dc:date>
    </item>
    <item>
      <title>Re: Header line missing in internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/header-line-missing-in-internal-table/m-p/5616166#M1279542</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any other alternative solution for my query?&lt;/P&gt;&lt;P&gt;I am working on a module pool program with screen 0100 and table tabl_matr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need an alternative way to declare the headerline, but as this is not supported in OO way, I need to declare it as workarea.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I were to do so, the record in table tabl_matr is not updated as expected. &lt;/P&gt;&lt;P&gt;Anyone experience this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help and guide me.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 May 2009 00:07:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/header-line-missing-in-internal-table/m-p/5616166#M1279542</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-11T00:07:09Z</dc:date>
    </item>
    <item>
      <title>Re: Header line missing in internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/header-line-missing-in-internal-table/m-p/5616167#M1279543</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello abap experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any solutions for this?&lt;/P&gt;&lt;P&gt;Please help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 May 2009 05:04:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/header-line-missing-in-internal-table/m-p/5616167#M1279543</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-20T05:04:21Z</dc:date>
    </item>
  </channel>
</rss>

