<?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: Syntax question in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-question/m-p/1322192#M165727</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the brackets mean that you are passing the body of an internal table without the header line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is kind of redundant as you are not allow to use header lines with ABAP OO anyway.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just remember that it means that you are passing an internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 09 Jun 2006 00:54:24 GMT</pubDate>
    <dc:creator>RichHeilman</dc:creator>
    <dc:date>2006-06-09T00:54:24Z</dc:date>
    <item>
      <title>Syntax question</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-question/m-p/1322191#M165726</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A syntax question that I have.&lt;/P&gt;&lt;P&gt;I have seen example of this type of code many times.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

DATA: 
	asdf   TYPE /aaa/bbb.

  CALL METHOD some_object-&amp;gt;some_method
    EXPORTING
      some_var   = asdf[].

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What are angle brackets here for?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Jun 2006 00:53:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-question/m-p/1322191#M165726</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-09T00:53:19Z</dc:date>
    </item>
    <item>
      <title>Re: Syntax question</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-question/m-p/1322192#M165727</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the brackets mean that you are passing the body of an internal table without the header line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is kind of redundant as you are not allow to use header lines with ABAP OO anyway.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just remember that it means that you are passing an internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Jun 2006 00:54:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-question/m-p/1322192#M165727</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2006-06-09T00:54:24Z</dc:date>
    </item>
    <item>
      <title>Re: Syntax question</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-question/m-p/1322193#M165728</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;asdf[] imply the contents of an itab asdf.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Suresh Datti&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Jun 2006 00:54:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-question/m-p/1322193#M165728</guid>
      <dc:creator>suresh_datti</dc:creator>
      <dc:date>2006-06-09T00:54:54Z</dc:date>
    </item>
    <item>
      <title>Re: Syntax question</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-question/m-p/1322194#M165729</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Rich,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what is header line?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Jun 2006 00:56:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-question/m-p/1322194#M165729</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-09T00:56:36Z</dc:date>
    </item>
    <item>
      <title>Re: Syntax question</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-question/m-p/1322195#M165730</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Header line is like a built in work area in which a line of the interal table is read.  When you loop at an internal table, the line of data needs to go somewhere, if you have declared with a header line, no problem reading like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
data: itab type table of string with header line.

Loop at itab.
Write:/ itab.
endloop.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have not declared with a header line, then you must declare a work area to put the data into.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;data: itab type table of string.
data: wa type string.&lt;/CODE&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;CODE&gt;Loop at itab into wa.
write:/ wa.
endloop.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Remember, declaring an internal table like this, the header line is implied.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;Data: begin of itab occurs 0,
      fld1 type string,
      end of itab.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Most important,  header lines are illegal in ABAP OO.  So get used to not using them.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Jun 2006 01:00:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-question/m-p/1322195#M165730</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2006-06-09T01:00:20Z</dc:date>
    </item>
  </channel>
</rss>

