<?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 Abap method with parameter in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-method-with-parameter/m-p/12167758#M1978678</link>
    <description>&lt;P&gt;Hi! &lt;/P&gt;
  &lt;P&gt;I have some trouble in method with parameter. I did follow &lt;A href="https://help.sap.com/doc/abapdocu_752_index_htm/7.52/en-us/abapmethods_parameters.htm"&gt;https://help.sap.com/doc/abapdocu_752_index_htm/7.52/en-us/abapmethods_parameters.htm&lt;/A&gt; And this is was my code : &lt;/P&gt;
  &lt;P&gt;....&lt;/P&gt;
  &lt;P&gt;PUBLIC SECTION.&lt;/P&gt;
  &lt;P&gt; INTERFACES if_oo_adt_classrun. &lt;/P&gt;
  &lt;P&gt; METHODS loop. &lt;/P&gt;
  &lt;P&gt; IMPORTING num type i.&lt;BR /&gt;&lt;/P&gt;
  &lt;P&gt;...&lt;/P&gt;
  &lt;P&gt;got error on importing says " This Statement IMPORTING is unexpected ". I using Abap Class instead of Abap Program.&lt;/P&gt;
  &lt;P&gt;Thank you for your time. &lt;/P&gt;</description>
    <pubDate>Thu, 18 Jun 2020 03:03:35 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2020-06-18T03:03:35Z</dc:date>
    <item>
      <title>Abap method with parameter</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-method-with-parameter/m-p/12167758#M1978678</link>
      <description>&lt;P&gt;Hi! &lt;/P&gt;
  &lt;P&gt;I have some trouble in method with parameter. I did follow &lt;A href="https://help.sap.com/doc/abapdocu_752_index_htm/7.52/en-us/abapmethods_parameters.htm"&gt;https://help.sap.com/doc/abapdocu_752_index_htm/7.52/en-us/abapmethods_parameters.htm&lt;/A&gt; And this is was my code : &lt;/P&gt;
  &lt;P&gt;....&lt;/P&gt;
  &lt;P&gt;PUBLIC SECTION.&lt;/P&gt;
  &lt;P&gt; INTERFACES if_oo_adt_classrun. &lt;/P&gt;
  &lt;P&gt; METHODS loop. &lt;/P&gt;
  &lt;P&gt; IMPORTING num type i.&lt;BR /&gt;&lt;/P&gt;
  &lt;P&gt;...&lt;/P&gt;
  &lt;P&gt;got error on importing says " This Statement IMPORTING is unexpected ". I using Abap Class instead of Abap Program.&lt;/P&gt;
  &lt;P&gt;Thank you for your time. &lt;/P&gt;</description>
      <pubDate>Thu, 18 Jun 2020 03:03:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-method-with-parameter/m-p/12167758#M1978678</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2020-06-18T03:03:35Z</dc:date>
    </item>
    <item>
      <title>Re: Abap method with parameter</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-method-with-parameter/m-p/12167759#M1978679</link>
      <description>&lt;P&gt;There shouldn't be dot '.' after  'Methods loop'&lt;/P&gt;</description>
      <pubDate>Thu, 18 Jun 2020 03:05:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-method-with-parameter/m-p/12167759#M1978679</guid>
      <dc:creator>maheshpalavalli</dc:creator>
      <dc:date>2020-06-18T03:05:53Z</dc:date>
    </item>
    <item>
      <title>Re: Abap method with parameter</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-method-with-parameter/m-p/12167760#M1978680</link>
      <description>&lt;P&gt;If a method don't have any params it just ends with dot, if it has params like importing, exporting or exceptions then at the end of all those params, the method definition ends with dot.&lt;/P&gt;</description>
      <pubDate>Thu, 18 Jun 2020 03:08:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-method-with-parameter/m-p/12167760#M1978680</guid>
      <dc:creator>maheshpalavalli</dc:creator>
      <dc:date>2020-06-18T03:08:02Z</dc:date>
    </item>
    <item>
      <title>Re: Abap method with parameter</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-method-with-parameter/m-p/12167761#M1978681</link>
      <description>&lt;P&gt;"METHODS loop IMPORTING num type i." is one 'statement', otherwise you will have 'statement' 'METHODS loop.' which is ok for a method without parameters, but than you would have 'IMPORTING num type i.' which cannot be interpreted. (you can have the method name and its parameters in different lines, just dont separate them with a dot.)&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;"....
PUBLIC SECTION.
  INTERFACES if_oo_adt_classrun.
  METHODS loop IMPORTING num type i.
"....&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 18 Jun 2020 04:35:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-method-with-parameter/m-p/12167761#M1978681</guid>
      <dc:creator>michael_piesche</dc:creator>
      <dc:date>2020-06-18T04:35:29Z</dc:date>
    </item>
    <item>
      <title>Re: Abap method with parameter</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-method-with-parameter/m-p/12167762#M1978682</link>
      <description>&lt;P&gt;Thank you so much!!&lt;/P&gt;</description>
      <pubDate>Fri, 19 Jun 2020 06:49:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-method-with-parameter/m-p/12167762#M1978682</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2020-06-19T06:49:15Z</dc:date>
    </item>
    <item>
      <title>Re: Abap method with parameter</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-method-with-parameter/m-p/12167763#M1978683</link>
      <description>&lt;P&gt;Thank you so much&lt;/P&gt;</description>
      <pubDate>Fri, 19 Jun 2020 06:49:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-method-with-parameter/m-p/12167763#M1978683</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2020-06-19T06:49:44Z</dc:date>
    </item>
  </channel>
</rss>

