<?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: calling a function inside a method. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-function-inside-a-method/m-p/678513#M30118</link>
    <description>&lt;P&gt;Welcome to the ABAP world &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
  &lt;P&gt;The signature of your method and the function module is independent from each other.&lt;/P&gt;
  &lt;P&gt;Regards,&lt;/P&gt;
  &lt;P&gt;Thomas. &lt;/P&gt;
  &lt;P&gt;&lt;/P&gt;
  &lt;P&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 28 Jun 2018 07:01:19 GMT</pubDate>
    <dc:creator>ThFiedler</dc:creator>
    <dc:date>2018-06-28T07:01:19Z</dc:date>
    <item>
      <title>calling a function inside a method.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-function-inside-a-method/m-p/678512#M30117</link>
      <description>&lt;P&gt;Okay, so I'm a newbie in OO ABAP(having a bit hard time wrapping my head around it), I have to call a function inside a method, so I'm having a bit of confusion with the exporting and importing parameters, my function has many importing and exporting parameters, do I have to declare them all in the method's importing/exporting parameters also? please explain with an example if possible. Thank you.&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jun 2018 06:58:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-function-inside-a-method/m-p/678512#M30117</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2018-06-28T06:58:41Z</dc:date>
    </item>
    <item>
      <title>Re: calling a function inside a method.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-function-inside-a-method/m-p/678513#M30118</link>
      <description>&lt;P&gt;Welcome to the ABAP world &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
  &lt;P&gt;The signature of your method and the function module is independent from each other.&lt;/P&gt;
  &lt;P&gt;Regards,&lt;/P&gt;
  &lt;P&gt;Thomas. &lt;/P&gt;
  &lt;P&gt;&lt;/P&gt;
  &lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jun 2018 07:01:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-function-inside-a-method/m-p/678513#M30118</guid>
      <dc:creator>ThFiedler</dc:creator>
      <dc:date>2018-06-28T07:01:19Z</dc:date>
    </item>
    <item>
      <title>Re: calling a function inside a method.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-function-inside-a-method/m-p/678514#M30119</link>
      <description>&lt;P&gt;I applaud your desire to learn to program OO. Too many new programmers are firmly stuck in the last century.&lt;/P&gt;
  &lt;P&gt;If you are encapsulating the function module in a method, then you'll need to replicate all the parameters. if you're happy with some defauls then you could, for example, set some constants in the class and use them for the defaulted values. If perhaps some of the values are being held as attributes of the class, then you'd use those. &lt;/P&gt;
  &lt;P&gt;Really it depends on what your method is for and the reason for using that function module.&lt;/P&gt;
  &lt;P&gt;If you have time, you could try to learn OO programming as I did. I taught myself Java through the Head First Java book (O'Reilly Press). Then applied what I learned to ABAP. Next step would be to do the TDD course on openSAP. &lt;/P&gt;</description>
      <pubDate>Thu, 28 Jun 2018 07:02:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-function-inside-a-method/m-p/678514#M30119</guid>
      <dc:creator>matt</dc:creator>
      <dc:date>2018-06-28T07:02:04Z</dc:date>
    </item>
  </channel>
</rss>

