<?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: Clear header in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/clear-header/m-p/5152997#M1193946</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what is gi_table???&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Surinder&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 04 Feb 2009 09:54:01 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-02-04T09:54:01Z</dc:date>
    <item>
      <title>Clear header</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/clear-header/m-p/5152983#M1193932</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;  In my code the value there are 2 values in a internal table.The value in header is 0 but the next two lines have values in it.I have given the codn such that "if the internal table in not initial it must perform some actions" but though the table has value  and as the header value is 0 its not performing the action.How to remove the 0 value.I tried with clear also its not working ou&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Feb 2009 09:31:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/clear-header/m-p/5152983#M1193932</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-04T09:31:41Z</dc:date>
    </item>
    <item>
      <title>Re: Clear header</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/clear-header/m-p/5152984#M1193933</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;refresh the header..for better solution..please paste ur code..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds.,&lt;/P&gt;&lt;P&gt;subash&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Feb 2009 09:33:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/clear-header/m-p/5152984#M1193933</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-04T09:33:47Z</dc:date>
    </item>
    <item>
      <title>Re: Clear header</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/clear-header/m-p/5152985#M1193934</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Saranya,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You wrote:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;if the internal table in not initial it must perform some actions&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try the stmt as:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
IF ITAB[] IS NOT INITIAL.
* Code ur logic
ENDIF.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
To address the table body instead of the header line in a statement, you can append [] e.g., ITAB[]

For internal tables without header line, the table body is always used&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Suhas&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Suhas Saha on Feb 4, 2009 3:08 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Feb 2009 09:35:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/clear-header/m-p/5152985#M1193934</guid>
      <dc:creator>SuhaSaha</dc:creator>
      <dc:date>2009-02-04T09:35:06Z</dc:date>
    </item>
    <item>
      <title>Re: Clear header</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/clear-header/m-p/5152986#M1193935</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;Refresh: itab will clear the header.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Surinder&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Feb 2009 09:35:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/clear-header/m-p/5152986#M1193935</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-04T09:35:20Z</dc:date>
    </item>
    <item>
      <title>Re: Clear header</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/clear-header/m-p/5152987#M1193936</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;You might have declared the internal table with header line..so in that case your condition should be like this ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;IF NOT itab[] IS INITIAL.
" Do processing
ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Feb 2009 09:35:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/clear-header/m-p/5152987#M1193936</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-04T09:35:21Z</dc:date>
    </item>
    <item>
      <title>Re: Clear header</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/clear-header/m-p/5152988#M1193937</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;Make sure that the check your performing is with respect to the body of the table&lt;/P&gt;&lt;P&gt;i.e.&lt;/P&gt;&lt;P&gt;if you are using a internal table with a header line, the condition should go like this&lt;/P&gt;&lt;P&gt;if t_tab[] is not initial.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;where t_tab is a internal table with header line and if the table has got entries in it this condition shall work.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Feb 2009 09:36:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/clear-header/m-p/5152988#M1193937</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-04T09:36:38Z</dc:date>
    </item>
    <item>
      <title>Re: Clear header</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/clear-header/m-p/5152989#M1193938</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;Test the following Code hope will solve out your problem,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;TYPES: BEGIN OF t_test,
  name(50),
END OF t_test.

DATA: it TYPE STANDARD TABLE OF t_test WITH HEADER LINE.

it-name = 'AAA'.
APPEND it TO it.
it-name = 'BBB'.
APPEND it TO it.
it-name = 'CCC'.
APPEND it TO it.

CLEAR: it,    " TO clear the Header
       it[].  " To Clear the Body.


IF it IS INITIAL.

  WRITE: / 'Header is Clear'.

ENDIF.

IF it[] IS INITIAL.

  WRITE: / 'Body is Clear'.

ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind Regards,&lt;/P&gt;&lt;P&gt;Faisal&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Faisal Altaf on Feb 4, 2009 2:38 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Feb 2009 09:36:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/clear-header/m-p/5152989#M1193938</guid>
      <dc:creator>faisalatsap</dc:creator>
      <dc:date>2009-02-04T09:36:52Z</dc:date>
    </item>
    <item>
      <title>Re: Clear header</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/clear-header/m-p/5152990#M1193939</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check if you have given [] after ITAB.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Feb 2009 09:37:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/clear-header/m-p/5152990#M1193939</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-04T09:37:09Z</dc:date>
    </item>
    <item>
      <title>Re: Clear header</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/clear-header/m-p/5152991#M1193940</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Saranya,&lt;/P&gt;&lt;P&gt;    As far as i have understood you are using a table with header line....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If so.... then please check if your condition with if is similar to the one give below &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: itab type table of &amp;lt;structure_name&amp;gt; with header line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if itab[] is not initial.&lt;/P&gt;&lt;P&gt;   &lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="4" type="ul"&gt;&lt;P&gt;your statement follows here *****&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this resolves your issue&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Siddarth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Feb 2009 09:38:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/clear-header/m-p/5152991#M1193940</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-04T09:38:33Z</dc:date>
    </item>
    <item>
      <title>Re: Clear header</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/clear-header/m-p/5152992#M1193941</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;You should write the code in below way. Consider ITAB is your internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF not ITAB[] is initial.&lt;/P&gt;&lt;P&gt;do some processing.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Remember [] indicates internal table body. Internal table having Header &amp;amp; Body. Header contains one record at a time whereas body can multiple.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Amit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Feb 2009 09:39:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/clear-header/m-p/5152992#M1193941</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-04T09:39:26Z</dc:date>
    </item>
    <item>
      <title>Re: Clear header</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/clear-header/m-p/5152993#M1193942</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Code is &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at gi_final.&lt;/P&gt;&lt;P&gt;clear gi_table.&lt;/P&gt;&lt;P&gt;if gt_table is not initial.&lt;/P&gt;&lt;P&gt;perform process.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the value present in gi_table is &lt;/P&gt;&lt;P&gt;          &lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;0000&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;000&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;00000000&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;00000000&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;0&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;0.00&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;0071   |****   |*********&lt;STRONG&gt;|&lt;/STRONG&gt;**  |*******&lt;STRONG&gt;|&lt;/STRONG&gt;*******|   0 |           0.00 |&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Feb 2009 09:43:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/clear-header/m-p/5152993#M1193942</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-04T09:43:27Z</dc:date>
    </item>
    <item>
      <title>Re: Clear header</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/clear-header/m-p/5152994#M1193943</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if gt_table is not initial.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;right&lt;/P&gt;&lt;P&gt;if gi_table is not initial.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and loop at gi_table only to have value in the header.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Surinder&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: SURINDER SINGH OBEROI on Feb 4, 2009 3:15 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Feb 2009 09:44:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/clear-header/m-p/5152994#M1193943</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-04T09:44:54Z</dc:date>
    </item>
    <item>
      <title>Re: Clear header</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/clear-header/m-p/5152995#M1193944</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have declared gt_final as internal table as&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: BEGIN OF gt_final OCCURS 0,&lt;/P&gt;&lt;P&gt;some fields&lt;/P&gt;&lt;P&gt;          end of gt_final&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Feb 2009 09:48:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/clear-header/m-p/5152995#M1193944</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-04T09:48:07Z</dc:date>
    </item>
    <item>
      <title>Re: Clear header</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/clear-header/m-p/5152996#M1193945</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;taking gt_final as ur internal table,&lt;/P&gt;&lt;P&gt;          gt_table as ur header...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so in order to check whether ur internal table has values or not..&lt;/P&gt;&lt;P&gt;u should write  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if gt_final[] is not initial.&lt;/P&gt;&lt;P&gt;    perform process..&lt;/P&gt;&lt;P&gt;endif..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;to clear 0's in ur header , u can refresh it...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds.,&lt;/P&gt;&lt;P&gt;subash&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Feb 2009 09:50:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/clear-header/m-p/5152996#M1193945</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-04T09:50:53Z</dc:date>
    </item>
    <item>
      <title>Re: Clear header</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/clear-header/m-p/5152997#M1193946</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what is gi_table???&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Surinder&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Feb 2009 09:54:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/clear-header/m-p/5152997#M1193946</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-04T09:54:01Z</dc:date>
    </item>
  </channel>
</rss>

