<?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: WebDynpro: Access method from another view Controller in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/webdynpro-access-method-from-another-view-controller/m-p/9708836#M1769893</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi lauro,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Writing method in the view controller are specific to that view you cannot access them in another view, if you want to share the method or reuse a method then put them in component controller or use assistance class for storing method at one place for reuse.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and regards,&lt;/P&gt;&lt;P&gt;Uppu Narayan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 22 Aug 2013 11:52:05 GMT</pubDate>
    <dc:creator>uppu_narayan</dc:creator>
    <dc:date>2013-08-22T11:52:05Z</dc:date>
    <item>
      <title>WebDynpro: Access method from another view Controller</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/webdynpro-access-method-from-another-view-controller/m-p/9708831#M1769888</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a doubt but I'm not sure how to resolve this one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a view Controller with some methods implemented. Within a method, at a certain point I'd like to access a method from another view Controller. Is this possible? If so, do I have to create a reference in Attributes Tab? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried to declare a reference with Reference Type IG_&amp;lt;nameofview&amp;gt; but gives me a warning saying it doesn't exist.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lauro Ribeiro&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Aug 2013 17:44:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/webdynpro-access-method-from-another-view-controller/m-p/9708831#M1769888</guid>
      <dc:creator>former_member495263</dc:creator>
      <dc:date>2013-08-21T17:44:02Z</dc:date>
    </item>
    <item>
      <title>Re: WebDynpro: Access method from another view Controller</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/webdynpro-access-method-from-another-view-controller/m-p/9708832#M1769889</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Lauro,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The best thing you could do is implement those methods in the component's controller.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Martin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Aug 2013 20:53:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/webdynpro-access-method-from-another-view-controller/m-p/9708832#M1769889</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-08-21T20:53:28Z</dc:date>
    </item>
    <item>
      <title>Re: WebDynpro: Access method from another view Controller</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/webdynpro-access-method-from-another-view-controller/m-p/9708833#M1769890</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you create a global class with a method you can use call service to call this method in web dynpro aplications.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See the link.&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://answers.sap.com/docs/DOC-2290"&gt;http://scn.sap.com/docs/DOC-2290&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Aug 2013 21:06:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/webdynpro-access-method-from-another-view-controller/m-p/9708833#M1769890</guid>
      <dc:creator>ronaldo_aparecido</dc:creator>
      <dc:date>2013-08-21T21:06:05Z</dc:date>
    </item>
    <item>
      <title>Re: WebDynpro: Access method from another view Controller</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/webdynpro-access-method-from-another-view-controller/m-p/9708834#M1769891</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Do one thing Create your node in component controller and method also in component controller and use the nodes ann method in both View. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for more use..&lt;/P&gt;&lt;P&gt;&lt;A class="active_link" href="https://www.google.co.in/#fp=a4c17cf7a703bf9a&amp;amp;q=use+of+component+controller+in+webdynpro+abap" title="https://www.google.co.in/#fp=a4c17cf7a703bf9a&amp;amp;q=use+of+component+controller+in+webdynpro+abap"&gt;https://www.google.co.in/#fp=a4c17cf7a703bf9a&amp;amp;q=use+of+component+controller+in+webdynpro+abap&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;.. Chandra..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Aug 2013 06:26:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/webdynpro-access-method-from-another-view-controller/m-p/9708834#M1769891</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-08-22T06:26:40Z</dc:date>
    </item>
    <item>
      <title>Re: WebDynpro: Access method from another view Controller</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/webdynpro-access-method-from-another-view-controller/m-p/9708835#M1769892</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create an assistance class and define your method in the assistance class.&lt;/P&gt;&lt;P&gt;You will get a default reference to the assistance class as WD_ASSIST in all your views.&lt;/P&gt;&lt;P&gt;Access your required method using this reference.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This way you can achieve the Webdynpro recommended&amp;nbsp; MVC architecture also.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;--&lt;/P&gt;&lt;P&gt;dp&lt;/P&gt;&lt;P&gt;Applexus technologies&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Aug 2013 11:14:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/webdynpro-access-method-from-another-view-controller/m-p/9708835#M1769892</guid>
      <dc:creator>former_member215561</dc:creator>
      <dc:date>2013-08-22T11:14:43Z</dc:date>
    </item>
    <item>
      <title>Re: WebDynpro: Access method from another view Controller</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/webdynpro-access-method-from-another-view-controller/m-p/9708836#M1769893</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi lauro,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Writing method in the view controller are specific to that view you cannot access them in another view, if you want to share the method or reuse a method then put them in component controller or use assistance class for storing method at one place for reuse.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and regards,&lt;/P&gt;&lt;P&gt;Uppu Narayan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Aug 2013 11:52:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/webdynpro-access-method-from-another-view-controller/m-p/9708836#M1769893</guid>
      <dc:creator>uppu_narayan</dc:creator>
      <dc:date>2013-08-22T11:52:05Z</dc:date>
    </item>
    <item>
      <title>Re: WebDynpro: Access method from another view Controller</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/webdynpro-access-method-from-another-view-controller/m-p/9708837#M1769894</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Alright guys thanks a lot for the help!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I assumed I could write the method in component controller but was concerned if that would go against the MVC architecture...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All of the suggestions worked but creating an assistance class seemed better for my case.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Aug 2013 12:06:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/webdynpro-access-method-from-another-view-controller/m-p/9708837#M1769894</guid>
      <dc:creator>former_member495263</dc:creator>
      <dc:date>2013-08-22T12:06:22Z</dc:date>
    </item>
  </channel>
</rss>

