<?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: ABAP Objects &amp; Dynpros in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-objects-dynpros/m-p/1928912#M385065</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the clarification Rich.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 20 Feb 2007 14:49:13 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-02-20T14:49:13Z</dc:date>
    <item>
      <title>ABAP Objects &amp; Dynpros</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-objects-dynpros/m-p/1928906#M385059</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;is it possible to call a Dynpro in a Class?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Feb 2007 14:08:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-objects-dynpros/m-p/1928906#M385059</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-20T14:08:10Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP Objects &amp; Dynpros</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-objects-dynpros/m-p/1928907#M385060</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes. It is very much possible.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Feb 2007 14:08:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-objects-dynpros/m-p/1928907#M385060</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-20T14:08:54Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP Objects &amp; Dynpros</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-objects-dynpros/m-p/1928908#M385061</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No, it is NOT.  Currently, classes do not support dynpros directly.  However, you can call function modules,  which can call dynpros.  But you CAN NOT call dynpros directly in a class method.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Feb 2007 14:16:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-objects-dynpros/m-p/1928908#M385061</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2007-02-20T14:16:48Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP Objects &amp; Dynpros</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-objects-dynpros/m-p/1928909#M385062</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Rich,&lt;/P&gt;&lt;P&gt;  From which version is this new change for i have developed a program of late, which does call a screen from a method of a class.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sample code:&lt;/P&gt;&lt;P&gt;report zexample.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*button to be clicked after which the event should get triggered&lt;/P&gt;&lt;P&gt;selection-screen: pushbutton /10(20) button user-command but1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;initialization.&lt;/P&gt;&lt;P&gt;button = 'LISTS'.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;CLASS cl_names DEFINITION&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;class cl_names definition. " declare the events in this method&lt;/P&gt;&lt;P&gt;public section.&lt;/P&gt;&lt;P&gt;class-events: get_event exporting value(fcode) type sy-ucomm.&lt;/P&gt;&lt;P&gt;class-methods: user_action.&lt;/P&gt;&lt;P&gt;endclass. "cl_names DEFINITION&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;CLASS fcode_handler_class DEFINITION&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;class fcode_handler_class definition. " definition for handler events&lt;/P&gt;&lt;P&gt;public section.&lt;/P&gt;&lt;P&gt;methods: fcode_handler for event get_event&lt;/P&gt;&lt;P&gt;of cl_names importing fcode.&lt;/P&gt;&lt;P&gt;endclass. "fcode_handler_class DEFINITION&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;CLASS cl_names IMPLEMENTATION&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;class cl_names implementation. "Raise the event&lt;/P&gt;&lt;P&gt;method user_action.&lt;/P&gt;&lt;P&gt;raise event get_event exporting fcode = sy-ucomm.&lt;/P&gt;&lt;P&gt;endmethod. "USER_ACTION&lt;/P&gt;&lt;P&gt;endclass. "cl_names IMPLEMENTATION&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;CLASS fcode_handler_class IMPLEMENTATION&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;class fcode_handler_class implementation. "implement the handler event&lt;/P&gt;&lt;P&gt;method fcode_handler.&lt;/P&gt;&lt;P&gt;case fcode.&lt;/P&gt;&lt;P&gt;when 'BUT1'.&lt;/P&gt;&lt;P&gt;*WRITE: 'Hello Program !!'.&lt;/P&gt;&lt;P&gt;*message i001(zz) with 'Test'.&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;call screen '0100'.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;endcase.&lt;/P&gt;&lt;P&gt;endmethod. "fcode_handler&lt;/P&gt;&lt;P&gt;endclass. "fcode_handler_class IMPLEMENTATION&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: h1 type ref to fcode_handler_class.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*start-of-selection.&lt;/P&gt;&lt;P&gt;at selection-screen.&lt;/P&gt;&lt;P&gt;  create object  h1.&lt;/P&gt;&lt;P&gt;  set handler h1-&amp;gt;fcode_handler." FOR ALL INSTANCES.&lt;/P&gt;&lt;P&gt;call method: cl_names=&amp;gt;user_action.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Call to the screen highlighted and is working fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Ravi Kanth Talagana&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Feb 2007 14:18:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-objects-dynpros/m-p/1928909#M385062</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-20T14:18:19Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP Objects &amp; Dynpros</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-objects-dynpros/m-p/1928910#M385063</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ravi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in your example you are using local classes. I want to use Dynpros in global classes which are created with the Class Builder (SE24). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks Rich for your response. Is there any documentation for your solution?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Feb 2007 14:27:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-objects-dynpros/m-p/1928910#M385063</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-20T14:27:23Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP Objects &amp; Dynpros</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-objects-dynpros/m-p/1928911#M385064</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That is a local class implemented in a report progam, hence it is allowed,  with global classes it is not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;RIch Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Feb 2007 14:38:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-objects-dynpros/m-p/1928911#M385064</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2007-02-20T14:38:09Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP Objects &amp; Dynpros</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-objects-dynpros/m-p/1928912#M385065</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the clarification Rich.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Feb 2007 14:49:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-objects-dynpros/m-p/1928912#M385065</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-20T14:49:13Z</dc:date>
    </item>
  </channel>
</rss>

