<?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: creating object through pattern button in abap editor? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-object-through-pattern-button-in-abap-editor/m-p/9194312#M1714600</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks kiran,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but for the following code snippet what you said is not working creating object 'lo_decorator'&lt;/P&gt;&lt;P&gt;for the decorator pattern, which class has to mention after clicking on create object radio button &lt;/P&gt;&lt;P&gt;plz go through the following link once&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://zevolving.com/2011/10/abap-objects-design-patterns-decorator/"&gt;http://zevolving.com/2011/10/abap-objects-design-patterns-decorator/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://answers.sap.com/servlet/JiveServlet/showImage/2-13758773-171886/2013-01-06_08h14_33.png"&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/171886" height="214" width="435" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 08 Jan 2013 03:46:36 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2013-01-08T03:46:36Z</dc:date>
    <item>
      <title>creating object through pattern button in abap editor?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-object-through-pattern-button-in-abap-editor/m-p/9194306#M1714594</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear abapers,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create object abc&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Type &lt;/P&gt;&lt;P&gt; Xyz&lt;/P&gt;&lt;P&gt;Exporting &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Abc = xxxx&lt;/P&gt;&lt;P&gt;Xxxx = abc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;above code can we make through 'pattern' button in abap editor with out mention class in the radio button 'create object'?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 06 Jan 2013 13:28:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-object-through-pattern-button-in-abap-editor/m-p/9194306#M1714594</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-01-06T13:28:48Z</dc:date>
    </item>
    <item>
      <title>Re: creating object through pattern button in abap editor?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-object-through-pattern-button-in-abap-editor/m-p/9194307#M1714595</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;You need to specify the class name. If you always want a static patter as like in your post, you can create a custom pattern in Abap Editor -&amp;gt; utilities -&amp;gt; more utilities -&amp;gt; edit pattern -&amp;gt; create pattern.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kiran&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 06 Jan 2013 14:20:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-object-through-pattern-button-in-abap-editor/m-p/9194307#M1714595</guid>
      <dc:creator>Kiran_Valluru</dc:creator>
      <dc:date>2013-01-06T14:20:04Z</dc:date>
    </item>
    <item>
      <title>Re: creating object through pattern button in abap editor?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-object-through-pattern-button-in-abap-editor/m-p/9194308#M1714596</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you are not going to mention class, how would editor know which object to create?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 06 Jan 2013 15:23:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-object-through-pattern-button-in-abap-editor/m-p/9194308#M1714596</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-01-06T15:23:50Z</dc:date>
    </item>
    <item>
      <title>Re: creating object through pattern button in abap editor?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-object-through-pattern-button-in-abap-editor/m-p/9194309#M1714597</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What chinm told is the correct point . Without mentioning class name you can not add object . That is where main difference between procedural programming and object oriented programming too. In functions you can directly add function module name here with out mentioning function group. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Praveen chitturi.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Jan 2013 02:07:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-object-through-pattern-button-in-abap-editor/m-p/9194309#M1714597</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-01-07T02:07:07Z</dc:date>
    </item>
    <item>
      <title>Re: creating object through pattern button in abap editor?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-object-through-pattern-button-in-abap-editor/m-p/9194310#M1714598</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks for quick reply&lt;/P&gt;&lt;P&gt;as per this link&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://zevolving.com/2011/10/abap-objects-design-patterns-decorator/"&gt;http://zevolving.com/2011/10/abap-objects-design-patterns-decorator/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/171886" /&gt;&lt;/P&gt;&lt;P&gt;through 'pattern' button on editor how to create object?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Jan 2013 02:47:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-object-through-pattern-button-in-abap-editor/m-p/9194310#M1714598</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-01-07T02:47:40Z</dc:date>
    </item>
    <item>
      <title>Re: creating object through pattern button in abap editor?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-object-through-pattern-button-in-abap-editor/m-p/9194311#M1714599</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;When You click on Pattern button in abap editor, you can see ABAP Objects pattern. select the radio button corresponding to ABAP Objects pattern and click on OK button(or press enter), then in the following screen, you can select 'Create Object' pattern there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps u.,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kiran&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Jan 2013 17:36:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-object-through-pattern-button-in-abap-editor/m-p/9194311#M1714599</guid>
      <dc:creator>Kiran_Valluru</dc:creator>
      <dc:date>2013-01-07T17:36:21Z</dc:date>
    </item>
    <item>
      <title>Re: creating object through pattern button in abap editor?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-object-through-pattern-button-in-abap-editor/m-p/9194312#M1714600</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks kiran,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but for the following code snippet what you said is not working creating object 'lo_decorator'&lt;/P&gt;&lt;P&gt;for the decorator pattern, which class has to mention after clicking on create object radio button &lt;/P&gt;&lt;P&gt;plz go through the following link once&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://zevolving.com/2011/10/abap-objects-design-patterns-decorator/"&gt;http://zevolving.com/2011/10/abap-objects-design-patterns-decorator/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://answers.sap.com/servlet/JiveServlet/showImage/2-13758773-171886/2013-01-06_08h14_33.png"&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/171886" height="214" width="435" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jan 2013 03:46:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-object-through-pattern-button-in-abap-editor/m-p/9194312#M1714600</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-01-08T03:46:36Z</dc:date>
    </item>
    <item>
      <title>Re: creating object through pattern button in abap editor?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-object-through-pattern-button-in-abap-editor/m-p/9194313#M1714601</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;Since it looks like you want to create a PDF output object, the class you want is OP_PDF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you still want to create a custom pattern to avoid having to provide the class name, take a look at these documents to learn how to create your own pattern. Keep in mind though that each class' constructor (potentially) has different parameters, which is the reason the &lt;EM&gt;create object &lt;/EM&gt;pattern requires the name of the class. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;A href="http://wiki.sdn.sap.com/wiki/display/profile/2007/09/12/Dynamic+Pattern+in+ABAP+Editor" title="http://wiki.sdn.sap.com/wiki/display/profile/2007/09/12/Dynamic+Pattern+in+ABAP+Editor"&gt;Dynamic Pattern in ABAP Editor&lt;/A&gt;&lt;UL&gt;&lt;LI&gt;create a simple text pattern&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A href="http://wiki.sdn.sap.com/wiki/display/HOME/DYNAMIC+PATTERN+-+Custom+Create+Pattern+in+ABAP+Editor." title="http://wiki.sdn.sap.com/wiki/display/HOME/DYNAMIC+PATTERN+-+Custom+Create+Pattern+in+ABAP+Editor."&gt;Custom Create Pattern in ABAP Editor&lt;/A&gt;&lt;UL&gt;&lt;LI&gt;create a pattern that includes its own dialog&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Amy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jan 2013 14:19:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-object-through-pattern-button-in-abap-editor/m-p/9194313#M1714601</guid>
      <dc:creator>amy_king</dc:creator>
      <dc:date>2013-01-08T14:19:12Z</dc:date>
    </item>
    <item>
      <title>Re: creating object through pattern button in abap editor?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-object-through-pattern-button-in-abap-editor/m-p/9194314#M1714602</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A very nice and step-by-step guide for creating a pattern. Many thanks Amy &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_macro_emoticon jive_emote" src="https://community.sap.com/1142/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt;.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jan 2013 14:52:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-object-through-pattern-button-in-abap-editor/m-p/9194314#M1714602</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-01-08T14:52:03Z</dc:date>
    </item>
    <item>
      <title>Re: creating object through pattern button in abap editor?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-object-through-pattern-button-in-abap-editor/m-p/9194315#M1714603</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;Follow the steps provided by Amy. You need to give OP_PDF which is the class name as well as instance name. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But As it is a local class, you will not get the pattern. If it is a Global class once you give the Class name and instance name it will search in the repository and generate the pattern. whereas for local classes it wont find the class name and hence you will not get the pattern.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps u.,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kiran&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jan 2013 05:55:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-object-through-pattern-button-in-abap-editor/m-p/9194315#M1714603</guid>
      <dc:creator>Kiran_Valluru</dc:creator>
      <dc:date>2013-01-09T05:55:22Z</dc:date>
    </item>
    <item>
      <title>Re: creating object through pattern button in abap editor?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-object-through-pattern-button-in-abap-editor/m-p/9194316#M1714604</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I guess you got totally confused by the "Pattern" button in the Editor and the "&lt;A href="http://zevolving.com/category/abapobjects/oo-design-patterns/"&gt;Design Patterns&lt;/A&gt;". &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Patterns button creates "raw" code for you so, you don't need to write everything. They are referred as the Statement Patterns.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Design Patterns are the building blocks you create within your ABAP development. These design patterns solves lot of complex problems and make the objects/classes more reusable. There are many design patterns e.g. &lt;A href="http://zevolving.com/2008/09/abap-object-design-patterns-singleton/"&gt;Singleton&lt;/A&gt;, &lt;A href="http://zevolving.com/2008/10/abap-objects-design-patterns-model-view-controller-mvc-part-1/"&gt;Mode View Controller&lt;/A&gt;, &lt;A href="http://zevolving.com/2012/01/abap-objects-design-patterns-iterator/"&gt;Iterator&lt;/A&gt;, &lt;A href="http://zevolving.com/2011/10/abap-objects-design-patterns-decorator/"&gt;Decorator&lt;/A&gt; (as you mentioned) , &lt;A href="http://zevolving.com/2012/01/abap-objects-design-patterns-facade/"&gt;Facade&lt;/A&gt;, &lt;A href="http://zevolving.com/2012/01/abap-objects-design-patterns-composite/"&gt;Composite&lt;/A&gt; etc. They have different degree of complexity as well as flexibility. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Like the decorator provides you the flexibility to add different flavors at runtime, provided you have successfully implemented Decorator Design pattern.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Like Composite lets you to only worry about the main object. As long as you do that operation. Composite would make sure that the operation would be carried over to all the objects within it. Same as achieved in &lt;A href="http://zevolving.com/2013/01/utility-to-build-html-within-abap/"&gt;HTML in ABAP&lt;/A&gt; utility where the method GET_HTML is composite, which keep on generating HTML for all of it children, and its children and so on and so forth.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps to clear the doubt.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Naimesh Patel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Feb 2013 17:02:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-object-through-pattern-button-in-abap-editor/m-p/9194316#M1714604</guid>
      <dc:creator>naimesh_patel</dc:creator>
      <dc:date>2013-02-05T17:02:51Z</dc:date>
    </item>
  </channel>
</rss>

