<?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: Regarding persistent class in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-persistent-class/m-p/6457240#M1415019</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Ajay,&lt;/P&gt;&lt;P&gt;For mass uploads as you have said like 10000 records using persistence classes is not good,but if you want to upload these records in slots of couple of thousands i think using the methods of the persistence classes work fine. You have to loop the internal table and then call the persistence methods. Anyhow internally these methods also use Sql statements to upload the data into the database tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rahul Tripathi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 06 Mar 2010 16:35:06 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-03-06T16:35:06Z</dc:date>
    <item>
      <title>Regarding persistent class</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-persistent-class/m-p/6457238#M1415017</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have recently started working on persistent classes and need some quick inputs on the scope of persistent classes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. I have tried updating a custom table using create_persistent but this method creates one record at atime.......&lt;/P&gt;&lt;P&gt;Is it possible to do mass upload using persistent class. Assume if i have 10000 records in an internal table and i want to insert them in a custom table at one go.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In preocedural i can use insert and can update the table at one go insetad of inserting one by one .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards/Ajay Dhyani&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Dec 2009 05:43:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-persistent-class/m-p/6457238#M1415017</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-12-17T05:43:52Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding persistent class</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-persistent-class/m-p/6457239#M1415018</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you're dealing with many records, then the persistence framework is not appropriate.  You should still encapsulate all your db operations away from the business logic, but use Open SQL rather than persistence.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;matt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Dec 2009 10:05:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-persistent-class/m-p/6457239#M1415018</guid>
      <dc:creator>matt</dc:creator>
      <dc:date>2009-12-17T10:05:22Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding persistent class</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-persistent-class/m-p/6457240#M1415019</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Ajay,&lt;/P&gt;&lt;P&gt;For mass uploads as you have said like 10000 records using persistence classes is not good,but if you want to upload these records in slots of couple of thousands i think using the methods of the persistence classes work fine. You have to loop the internal table and then call the persistence methods. Anyhow internally these methods also use Sql statements to upload the data into the database tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rahul Tripathi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 06 Mar 2010 16:35:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-persistent-class/m-p/6457240#M1415019</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-06T16:35:06Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding persistent class</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-persistent-class/m-p/6457241#M1415020</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is far more efficient to upload all the records using openSQL statements, via internal tables. Then the records are inserted into the table all in on go. Using persistence framework is like adding one record at a time. Most inefficient.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 07 Mar 2010 06:35:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-persistent-class/m-p/6457241#M1415020</guid>
      <dc:creator>matt</dc:creator>
      <dc:date>2010-03-07T06:35:51Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding persistent class</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-persistent-class/m-p/6457242#M1415021</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Matt &amp;amp; Rahul,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i do agree with you......because of this limitation we in our scenario developed a normal Class in ABAP with sql statements wrapped ....just wondering if you can give a small real time scenario where these persistent classes can be utilized.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards/Ajay Dhyani&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 07 Mar 2010 08:15:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-persistent-class/m-p/6457242#M1415021</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-07T08:15:34Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding persistent class</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-persistent-class/m-p/6457243#M1415022</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This message was moderated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Mar 2010 11:44:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-persistent-class/m-p/6457243#M1415022</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-09T11:44:44Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding persistent class</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-persistent-class/m-p/6457244#M1415023</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Persistence classes can be used to replace select statements,from your application logic. This can be the most important part of persistent classes and methods. You can use GET and SET methods to do so. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rahul.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Mar 2010 04:46:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-persistent-class/m-p/6457244#M1415023</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-10T04:46:54Z</dc:date>
    </item>
  </channel>
</rss>

