<?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 OO Interface for DB Access in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-oo-interface-for-db-access/m-p/586134#M23449</link>
    <description>&lt;P&gt;I think you switched demo_amdp and adbc_demo. &lt;/P&gt;
  &lt;P&gt;I do agree that adbc_demo aim is to show the ABAP database call interface API and not for CRUD, but I found that the OO structure of it includes &lt;STRONG&gt;C&lt;/STRONG&gt;reation of rows (method insert_rows), &lt;STRONG&gt;R&lt;/STRONG&gt;eading of rows (methods select_into*), &lt;STRONG&gt;U&lt;/STRONG&gt;pdating of rows (method update_rows) and &lt;STRONG&gt;D&lt;/STRONG&gt;eleting rows (method delete_rows), so that's why I pointed at it in this context.&lt;/P&gt;
  &lt;P&gt;Nonetheless, if you feel it is misleading or out of place, just say the word and I'll delete the answer and comments and deactivate my account &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 22 Feb 2018 21:28:11 GMT</pubDate>
    <dc:creator>iftah_peretz</dc:creator>
    <dc:date>2018-02-22T21:28:11Z</dc:date>
    <item>
      <title>ABAP OO Interface for DB Access</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-oo-interface-for-db-access/m-p/586125#M23440</link>
      <description>&lt;P&gt;Hello guys,&lt;/P&gt;
  &lt;P&gt;I'm searching for a best practice solution for accessing Z-Tables. My idea is to create an Interface for the CRUD operation, which can be used for all tables.&lt;/P&gt;
  &lt;P&gt;Maybe there is even a possibility to generate this class for new Z-Tables.&lt;/P&gt;
  &lt;P&gt;IF_DB_CRUD&lt;/P&gt;
  &lt;P&gt;create, update, delete, read &lt;/P&gt;
  &lt;P&gt;What about using "type ref to data" or "type data" as import/export structure?&lt;/P&gt;
  &lt;P&gt;And what about "mass" activities (deleting, creating several entries)? &lt;/P&gt;
  &lt;P&gt;&lt;BR /&gt;Regards&lt;/P&gt;
  &lt;P&gt;Christopher&lt;/P&gt;</description>
      <pubDate>Wed, 21 Feb 2018 20:36:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-oo-interface-for-db-access/m-p/586125#M23440</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2018-02-21T20:36:45Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP OO Interface for DB Access</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-oo-interface-for-db-access/m-p/586126#M23441</link>
      <description>&lt;P&gt;There was the persistence framework, but nowadays, I create a class for handling CRUD with the SQL in various methods. including those for mass operations.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Feb 2018 20:45:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-oo-interface-for-db-access/m-p/586126#M23441</guid>
      <dc:creator>matt</dc:creator>
      <dc:date>2018-02-21T20:45:09Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP OO Interface for DB Access</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-oo-interface-for-db-access/m-p/586127#M23442</link>
      <description>&lt;P&gt;Ditto to Matthew’s answer. I have thought about it but don’t see much benefit. The added complication to make it generic negate the benefits - because now every developer is forced to use references or whatever. By hardcoding the IO parameters we make it easier for devs to just do a data(foo) = zcl_foo_db-&amp;gt;read( ‘123’ ).&lt;/P&gt;
  &lt;P&gt;So explicit classes for me are a trade off in the developer’s favour. Persistent classes did a nice job of generating it for you, and I could also add object specific code in there, but they have sadly not kept up with the times.&lt;/P&gt;
  &lt;P&gt;Another idea is to go for BOPF. It’s a beastly framework but oh so versatile.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Feb 2018 21:25:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-oo-interface-for-db-access/m-p/586127#M23442</guid>
      <dc:creator>pokrakam</dc:creator>
      <dc:date>2018-02-21T21:25:22Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP OO Interface for DB Access</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-oo-interface-for-db-access/m-p/586128#M23443</link>
      <description>&lt;P&gt;Not everybody gets access to &lt;A href="https://blogs.sap.com/2013/01/04/navigating-the-bopf-part-1-getting-started/"&gt;BOPF&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Thu, 22 Feb 2018 17:29:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-oo-interface-for-db-access/m-p/586128#M23443</guid>
      <dc:creator>iftah_peretz</dc:creator>
      <dc:date>2018-02-22T17:29:27Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP OO Interface for DB Access</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-oo-interface-for-db-access/m-p/586129#M23444</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
  &lt;P&gt;If you want a good point of reference, take a look at report adbc_demo.&lt;/P&gt;
  &lt;P&gt;Update: Please see the comments for constraints and caveats.&lt;/P&gt;</description>
      <pubDate>Thu, 22 Feb 2018 17:30:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-oo-interface-for-db-access/m-p/586129#M23444</guid>
      <dc:creator>iftah_peretz</dc:creator>
      <dc:date>2018-02-22T17:30:57Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP OO Interface for DB Access</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-oo-interface-for-db-access/m-p/586130#M23445</link>
      <description>&lt;P&gt;Hmm, this wasn't created for that ...&lt;/P&gt;</description>
      <pubDate>Thu, 22 Feb 2018 18:06:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-oo-interface-for-db-access/m-p/586130#M23445</guid>
      <dc:creator>retired_member</dc:creator>
      <dc:date>2018-02-22T18:06:12Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP OO Interface for DB Access</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-oo-interface-for-db-access/m-p/586131#M23446</link>
      <description>&lt;P&gt;I agree, looking at it is enough to spot the difference, but why it is not a &lt;STRONG&gt;point of reference&lt;/STRONG&gt; for CRUD operations as the OP asked? &lt;/P&gt;</description>
      <pubDate>Thu, 22 Feb 2018 18:17:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-oo-interface-for-db-access/m-p/586131#M23446</guid>
      <dc:creator>iftah_peretz</dc:creator>
      <dc:date>2018-02-22T18:17:17Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP OO Interface for DB Access</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-oo-interface-for-db-access/m-p/586132#M23447</link>
      <description>&lt;P&gt;I mentioned it already somewhere else, but IMHO there is a need for a more lightweight solution compared to BOPF.&lt;/P&gt;</description>
      <pubDate>Thu, 22 Feb 2018 18:53:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-oo-interface-for-db-access/m-p/586132#M23447</guid>
      <dc:creator>former_member557751</dc:creator>
      <dc:date>2018-02-22T18:53:39Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP OO Interface for DB Access</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-oo-interface-for-db-access/m-p/586133#M23448</link>
      <description>&lt;P&gt;Cause I have written that example to demo some capabilities of ADBC (in fact there's the same for EXEC SQL), but not for CRUD.&lt;/P&gt;</description>
      <pubDate>Thu, 22 Feb 2018 20:58:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-oo-interface-for-db-access/m-p/586133#M23448</guid>
      <dc:creator>retired_member</dc:creator>
      <dc:date>2018-02-22T20:58:11Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP OO Interface for DB Access</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-oo-interface-for-db-access/m-p/586134#M23449</link>
      <description>&lt;P&gt;I think you switched demo_amdp and adbc_demo. &lt;/P&gt;
  &lt;P&gt;I do agree that adbc_demo aim is to show the ABAP database call interface API and not for CRUD, but I found that the OO structure of it includes &lt;STRONG&gt;C&lt;/STRONG&gt;reation of rows (method insert_rows), &lt;STRONG&gt;R&lt;/STRONG&gt;eading of rows (methods select_into*), &lt;STRONG&gt;U&lt;/STRONG&gt;pdating of rows (method update_rows) and &lt;STRONG&gt;D&lt;/STRONG&gt;eleting rows (method delete_rows), so that's why I pointed at it in this context.&lt;/P&gt;
  &lt;P&gt;Nonetheless, if you feel it is misleading or out of place, just say the word and I'll delete the answer and comments and deactivate my account &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Feb 2018 21:28:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-oo-interface-for-db-access/m-p/586134#M23449</guid>
      <dc:creator>iftah_peretz</dc:creator>
      <dc:date>2018-02-22T21:28:11Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP OO Interface for DB Access</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-oo-interface-for-db-access/m-p/586135#M23450</link>
      <description>&lt;P&gt;If this is "Christopher" then who is "Tanja Schipper"? I'm confused... Please be aware that profile sharing is frowned upon on SCN.&lt;/P&gt;</description>
      <pubDate>Thu, 22 Feb 2018 21:59:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-oo-interface-for-db-access/m-p/586135#M23450</guid>
      <dc:creator>Jelena_Perfiljeva</dc:creator>
      <dc:date>2018-02-22T21:59:37Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP OO Interface for DB Access</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-oo-interface-for-db-access/m-p/586136#M23451</link>
      <description>&lt;P&gt;I was just reading about this in the 2011 Thomas Jung's book "Next generation ABAP Development" (it was still too advanced for my old job in 7.01 version) and it seemed a bit heavy-handed to me. So are you saying we don't really need those persistent object classes anymore? Phew!&lt;/P&gt;</description>
      <pubDate>Thu, 22 Feb 2018 22:05:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-oo-interface-for-db-access/m-p/586136#M23451</guid>
      <dc:creator>Jelena_Perfiljeva</dc:creator>
      <dc:date>2018-02-22T22:05:04Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP OO Interface for DB Access</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-oo-interface-for-db-access/m-p/586137#M23452</link>
      <description>&lt;P&gt;Ah come on ...&lt;/P&gt;
  &lt;P&gt;If by chance the example hit something that can be called CRUD, so be it.&lt;/P&gt;</description>
      <pubDate>Fri, 23 Feb 2018 06:16:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-oo-interface-for-db-access/m-p/586137#M23452</guid>
      <dc:creator>retired_member</dc:creator>
      <dc:date>2018-02-23T06:16:45Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP OO Interface for DB Access</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-oo-interface-for-db-access/m-p/586138#M23453</link>
      <description>&lt;P&gt;The name of the game is BOPF and its follow ups ...&lt;/P&gt;</description>
      <pubDate>Fri, 23 Feb 2018 06:18:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-oo-interface-for-db-access/m-p/586138#M23453</guid>
      <dc:creator>retired_member</dc:creator>
      <dc:date>2018-02-23T06:18:11Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP OO Interface for DB Access</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-oo-interface-for-db-access/m-p/586139#M23454</link>
      <description>&lt;P&gt;...deactivate account, and take up a career as lion tamer. &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Feb 2018 07:31:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-oo-interface-for-db-access/m-p/586139#M23454</guid>
      <dc:creator>matt</dc:creator>
      <dc:date>2018-02-23T07:31:42Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP OO Interface for DB Access</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-oo-interface-for-db-access/m-p/586140#M23455</link>
      <description>&lt;P&gt;&lt;A href="https://giphy.com/gifs/movie-lion-mgm-14vrmvFHqG3Jbq/fullscreen"&gt;I'm on it&lt;/A&gt;!&lt;/P&gt;</description>
      <pubDate>Fri, 23 Feb 2018 07:37:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-oo-interface-for-db-access/m-p/586140#M23455</guid>
      <dc:creator>iftah_peretz</dc:creator>
      <dc:date>2018-02-23T07:37:30Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP OO Interface for DB Access</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-oo-interface-for-db-access/m-p/586141#M23456</link>
      <description>&lt;P&gt;I hope its follow ups are easier to work with...&lt;/P&gt;</description>
      <pubDate>Fri, 23 Feb 2018 11:41:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-oo-interface-for-db-access/m-p/586141#M23456</guid>
      <dc:creator>pokrakam</dc:creator>
      <dc:date>2018-02-23T11:41:19Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP OO Interface for DB Access</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-oo-interface-for-db-access/m-p/586142#M23457</link>
      <description>&lt;P&gt;MeToo &lt;/P&gt;</description>
      <pubDate>Fri, 23 Feb 2018 12:18:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-oo-interface-for-db-access/m-p/586142#M23457</guid>
      <dc:creator>retired_member</dc:creator>
      <dc:date>2018-02-23T12:18:11Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP OO Interface for DB Access</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-oo-interface-for-db-access/m-p/586143#M23458</link>
      <description>&lt;P&gt;&lt;/P&gt;
  &lt;P&gt;I too create custom global class to handle the SQL for my Z tables.&lt;/P&gt;</description>
      <pubDate>Fri, 23 Feb 2018 14:26:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-oo-interface-for-db-access/m-p/586143#M23458</guid>
      <dc:creator>jdloranger</dc:creator>
      <dc:date>2018-02-23T14:26:38Z</dc:date>
    </item>
  </channel>
</rss>

