<?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 Call methods in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-methods/m-p/6435617#M1411568</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a program that has several statements starting with this CALL_METHOD_* and then some parameters. Is this the same as PERFORM Z_TEST_1(Para1, para2,etc..).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example, CALL_METHOD_CHECK_ALL 'DOC_TYPE' DOC_TYPE ZTABLE1-fielda_A.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where can find source code for these CALL_METHOD statements?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What are the CALL_METHOD statements?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 29 Nov 2009 03:26:58 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-11-29T03:26:58Z</dc:date>
    <item>
      <title>Call methods</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-methods/m-p/6435617#M1411568</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a program that has several statements starting with this CALL_METHOD_* and then some parameters. Is this the same as PERFORM Z_TEST_1(Para1, para2,etc..).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example, CALL_METHOD_CHECK_ALL 'DOC_TYPE' DOC_TYPE ZTABLE1-fielda_A.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where can find source code for these CALL_METHOD statements?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What are the CALL_METHOD statements?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 29 Nov 2009 03:26:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-methods/m-p/6435617#M1411568</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-11-29T03:26:58Z</dc:date>
    </item>
    <item>
      <title>Re: Call methods</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-methods/m-p/6435618#M1411569</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;WE call methods of a class using the CALL METHOD statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you will double click on this method name you will be navigated to class and there you can search for your method.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Further , you can also check the class documentation for purpose of methods.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope you understand it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 29 Nov 2009 05:37:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-methods/m-p/6435618#M1411569</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-11-29T05:37:22Z</dc:date>
    </item>
    <item>
      <title>Re: Call methods</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-methods/m-p/6435619#M1411570</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The CALL METHOD is a key word for calling the OO methods.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have global classes (created using SE24 transaction) and local classes (using SE38), which contains the collection of methods and attributes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The method is a block of code which will have the business logic (like Subroutine as you mentioned) and the attributes are the parameters wherein you will inport/ export the data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The above said methods in the class will be called using the keyword "CALL METHOD".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Before calling the method, we need to create an Object for the class. (If it is a static class we can call the method using the class name itself)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TYPES: obj1 TYPE REF TO zcl_sample.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CREATE OBJECT obj1&lt;/P&gt;&lt;P&gt;                 EXPPORTING&lt;/P&gt;&lt;P&gt;                 IMPORTING&lt;/P&gt;&lt;P&gt;                 EXCEPTIONS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(while creating the method, the special method constructor will be called)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After the creation of the method, we need to call the method like the below,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL METHOD obj1-&amp;gt;add&lt;/P&gt;&lt;P&gt;           EXPORTING&lt;/P&gt;&lt;P&gt;           IMPORTING&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The above method is call as "Instance Method"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Static method does not require any method.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL METHOD zcl_sample=&amp;gt;add&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope you understand.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds,&lt;/P&gt;&lt;P&gt;Benu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 29 Nov 2009 06:33:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-methods/m-p/6435619#M1411570</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-11-29T06:33:46Z</dc:date>
    </item>
    <item>
      <title>Re: Call methods</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-methods/m-p/6435620#M1411571</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is there Help.sap.com link for OO and call methods?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 29 Nov 2009 19:00:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-methods/m-p/6435620#M1411571</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-11-29T19:00:43Z</dc:date>
    </item>
    <item>
      <title>Re: Call methods</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-methods/m-p/6435621#M1411572</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;on call method : &lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/08/d27c03b81011d194f60000e8353423/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/08/d27c03b81011d194f60000e8353423/content.htm&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Nov 2009 02:36:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-methods/m-p/6435621#M1411572</guid>
      <dc:creator>former_member156446</dc:creator>
      <dc:date>2009-11-30T02:36:49Z</dc:date>
    </item>
    <item>
      <title>Re: Call methods</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-methods/m-p/6435622#M1411573</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sam,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if this code&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CALL_METHOD_CHECK_ALL 'DOC_TYPE' DOC_TYPE ZTABLE1-fielda_A.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;comes from your program it must be a macro call. Double-click on the word CALL_METHOD_CHECK_ALL and you get to the macro definition. Then check F1 online help on macros.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And next time,please use the above &amp;lt;_&amp;gt; code button after selecting code with the mouse. This enables the reader to know what is ABAP code and what is freestyle writing.&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;Clemens&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Nov 2009 02:57:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-methods/m-p/6435622#M1411573</guid>
      <dc:creator>Clemenss</dc:creator>
      <dc:date>2009-11-30T02:57:29Z</dc:date>
    </item>
  </channel>
</rss>

