<?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: Method Call in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/method-call/m-p/5597015#M1275688</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After declarations now I'm getting the following error message&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"Method ADD_MESSAGE is unknown or PROTECTED or PRIVATE"&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 20 May 2009 09:59:17 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-05-20T09:59:17Z</dc:date>
    <item>
      <title>Method Call</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/method-call/m-p/5597013#M1275686</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Folks, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to use the following method code in my BADI enhancement, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL METHOD MESSAGE_HANDLER-&amp;gt;ADD_MESSAGE &lt;/P&gt;&lt;P&gt;EXPORTING &lt;/P&gt;&lt;P&gt;IM_TYPE = 'E' "Type of Message &lt;/P&gt;&lt;P&gt;IM_CL = 'XXX' "Message class that you created &lt;/P&gt;&lt;P&gt;IM_NUMBER = 'XXX' "Message no &lt;/P&gt;&lt;P&gt;IM_PAR1 = 'SIMULATE_VIA_BLOP' &lt;/P&gt;&lt;P&gt;IM_PAR2 = 'IF_EX_PT_ABS_REQ~SIMULATE_VIA_BLOP' "Method name as in our impl. &lt;/P&gt;&lt;P&gt;IM_PAR3 = 'BLOP' &lt;/P&gt;&lt;P&gt;IM_CONTEXT = '' &lt;/P&gt;&lt;P&gt;IM_SUBCONTEXT = '' &lt;/P&gt;&lt;P&gt;IM_CLASSNAME = 'CL_PT_ARQ_BLOP_ADAPTER' &lt;/P&gt;&lt;P&gt;IM_METHODNAME = 'MESSAGE'. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know what declarations I should use and implement so this function call will run smoothly.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 May 2009 09:50:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/method-call/m-p/5597013#M1275686</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-20T09:50:32Z</dc:date>
    </item>
    <item>
      <title>Re: Method Call</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/method-call/m-p/5597014#M1275687</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;Here U need to create an instance of the class I mean Object using&lt;/P&gt;&lt;P&gt;DATA : MESSAGE_HANDLER TYPE REF TO &amp;lt;CLASS NAME&amp;gt;&lt;/P&gt;&lt;P&gt;CREATE OBJECT MESSAGE_HANDLER .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then  u can call the method with ur  statements .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 May 2009 09:54:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/method-call/m-p/5597014#M1275687</guid>
      <dc:creator>shishupalreddy</dc:creator>
      <dc:date>2009-05-20T09:54:12Z</dc:date>
    </item>
    <item>
      <title>Re: Method Call</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/method-call/m-p/5597015#M1275688</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After declarations now I'm getting the following error message&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"Method ADD_MESSAGE is unknown or PROTECTED or PRIVATE"&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 May 2009 09:59:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/method-call/m-p/5597015#M1275688</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-20T09:59:17Z</dc:date>
    </item>
    <item>
      <title>Re: Method Call</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/method-call/m-p/5597016#M1275689</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This means, you can't access this method from outside of the (sub)class. This probably means that this particular method is called from within another method of the class. Try and find out if there is such a method.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 May 2009 10:11:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/method-call/m-p/5597016#M1275689</guid>
      <dc:creator>Sm1tje</dc:creator>
      <dc:date>2009-05-20T10:11:36Z</dc:date>
    </item>
    <item>
      <title>Re: Method Call</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/method-call/m-p/5597017#M1275690</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Correct!!! This method (ADD_MESSAGES) is under class CL_PT_REQ_MESSAGE_HANDLER &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So should I declare this class also?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 May 2009 10:15:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/method-call/m-p/5597017#M1275690</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-20T10:15:33Z</dc:date>
    </item>
    <item>
      <title>Re: Method Call</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/method-call/m-p/5597018#M1275691</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Shishupal and Micky&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let know the way to declare this add_message method which is apart of class CL_PT_REQ_MESSAGE_HANDLER.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 May 2009 10:31:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/method-call/m-p/5597018#M1275691</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-20T10:31:42Z</dc:date>
    </item>
  </channel>
</rss>

