<?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 Implementing DAO Pattern in ABAP in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/implementing-dao-pattern-in-abap/m-p/10939086#M1892130</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;This discussion &lt;/SPAN&gt;&lt;A __default_attr="1607955" __jive_macro_name="thread" class="jive_macro_thread jive_macro" data-orig-content="implement DAO pattern" href="https://community.sap.com/" modifiedtitle="true" title="implement DAO pattern"&gt;&lt;/A&gt; &lt;SPAN style="color: #333333; font-size: 12px;"&gt;asked the question of how to develop a DAO pattern in ABAP but i'd like to go a little deeper.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;The only answer given suggested the following design pattern:&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;I don't have an coded example here, but isn't it sufficient for this pattern&amp;nbsp; to build an interface with some get- and set-methods? This interface can be implemented by several classes with different data retrieval logic. Then a static factory-method could do the job to decide during runtime which actual class is instantiated, returning the interface.&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone give an abstract description of this implementation relative to an SAP module (How would one approach this implementation in MM, PM, FICO, HR)&lt;/P&gt;&lt;P&gt;Can anyone see any issues in this design?&lt;/P&gt;&lt;P&gt;Can anyone provide an alternate design?&lt;/P&gt;&lt;P&gt;Are we missing any steps?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Together we can build a solid abap DAO everyone can use.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 05 Mar 2015 17:59:23 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2015-03-05T17:59:23Z</dc:date>
    <item>
      <title>Implementing DAO Pattern in ABAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/implementing-dao-pattern-in-abap/m-p/10939086#M1892130</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;This discussion &lt;/SPAN&gt;&lt;A __default_attr="1607955" __jive_macro_name="thread" class="jive_macro_thread jive_macro" data-orig-content="implement DAO pattern" href="https://community.sap.com/" modifiedtitle="true" title="implement DAO pattern"&gt;&lt;/A&gt; &lt;SPAN style="color: #333333; font-size: 12px;"&gt;asked the question of how to develop a DAO pattern in ABAP but i'd like to go a little deeper.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;The only answer given suggested the following design pattern:&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;I don't have an coded example here, but isn't it sufficient for this pattern&amp;nbsp; to build an interface with some get- and set-methods? This interface can be implemented by several classes with different data retrieval logic. Then a static factory-method could do the job to decide during runtime which actual class is instantiated, returning the interface.&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone give an abstract description of this implementation relative to an SAP module (How would one approach this implementation in MM, PM, FICO, HR)&lt;/P&gt;&lt;P&gt;Can anyone see any issues in this design?&lt;/P&gt;&lt;P&gt;Can anyone provide an alternate design?&lt;/P&gt;&lt;P&gt;Are we missing any steps?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Together we can build a solid abap DAO everyone can use.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Mar 2015 17:59:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/implementing-dao-pattern-in-abap/m-p/10939086#M1892130</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-03-05T17:59:23Z</dc:date>
    </item>
    <item>
      <title>Re: Implementing DAO Pattern in ABAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/implementing-dao-pattern-in-abap/m-p/10939087#M1892131</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I started to read about DAO pattern some days ago and found this great blog post:&lt;/P&gt;&lt;P&gt;&lt;A __default_attr="81917" __jive_macro_name="blogpost" class="jive_macro jive_macro_blogpost" data-orig-content="ABAP Unit Tests without database dependency - DAO concept" href="https://community.sap.com/" modifiedtitle="true" title="ABAP Unit Tests without database dependency - DAO concept"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am starting to implement unit test in my developments and DAO pattern seems to be a clever choice.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Felipe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 May 2015 02:25:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/implementing-dao-pattern-in-abap/m-p/10939087#M1892131</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-05-01T02:25:04Z</dc:date>
    </item>
  </channel>
</rss>

