<?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: Retrieve a persistent object without the primary key in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/retrieve-a-persistent-object-without-the-primary-key/m-p/8376972#M1642492</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So, if I understand, the persistent classes represents a single row and there is no way to generate a code which is able to find several lines. If I want to have this kind of functions I must to implement them manualy with the method if_os_ca_persistency~get_persistent_by_query. I think than that is missing. I'm a fan of Ruby On Rails and I think than ActiveRecord will miss me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your answer.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 21 Nov 2011 20:20:12 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-11-21T20:20:12Z</dc:date>
    <item>
      <title>Retrieve a persistent object without the primary key</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/retrieve-a-persistent-object-without-the-primary-key/m-p/8376968#M1642488</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;I'm a new developer with SAP/ABAP and I play with the persistent objects. I would know if it's possible to find an object in a table with another field than the primary key or without field to retrieve all lines in a table. Can you help me?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Nov 2011 13:27:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/retrieve-a-persistent-object-without-the-primary-key/m-p/8376968#M1642488</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-11-21T13:27:35Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieve a persistent object without the primary key</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/retrieve-a-persistent-object-without-the-primary-key/m-p/8376969#M1642489</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use Query services to get the persistent objects using other fields. Read more about query services on help at: &lt;A href="http://help.sap.com/saphelp_nw70/helpdata/en/ce/586e42472adc54e10000000a155106/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw70/helpdata/en/ce/586e42472adc54e10000000a155106/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Naimesh Patel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Nov 2011 17:11:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/retrieve-a-persistent-object-without-the-primary-key/m-p/8376969#M1642489</guid>
      <dc:creator>naimesh_patel</dc:creator>
      <dc:date>2011-11-21T17:11:53Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieve a persistent object without the primary key</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/retrieve-a-persistent-object-without-the-primary-key/m-p/8376970#M1642490</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I seen your solution but I have another question. Is there a way to generate a method in my agent? &lt;/P&gt;&lt;P&gt;I want to do something like this :&lt;/P&gt;&lt;P&gt;agent-&amp;gt;get_persistent_by_query( 'Name = Corbel' ) '' To retrieve all the line where the name is "Corbel"&lt;/P&gt;&lt;P&gt;agent-&amp;gt;get_all_persistent( ) '' To retrieve all lines&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My question is may be simple but I am very new with abap.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Nov 2011 19:26:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/retrieve-a-persistent-object-without-the-primary-key/m-p/8376970#M1642490</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-11-21T19:26:17Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieve a persistent object without the primary key</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/retrieve-a-persistent-object-without-the-primary-key/m-p/8376971#M1642491</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Persistent object represents a Single row of data in the DB. So, if you add the methods in your agents, you still need to instantiate several persistent objects as per your result set. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Naimesh Patel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Nov 2011 19:30:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/retrieve-a-persistent-object-without-the-primary-key/m-p/8376971#M1642491</guid>
      <dc:creator>naimesh_patel</dc:creator>
      <dc:date>2011-11-21T19:30:13Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieve a persistent object without the primary key</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/retrieve-a-persistent-object-without-the-primary-key/m-p/8376972#M1642492</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So, if I understand, the persistent classes represents a single row and there is no way to generate a code which is able to find several lines. If I want to have this kind of functions I must to implement them manualy with the method if_os_ca_persistency~get_persistent_by_query. I think than that is missing. I'm a fan of Ruby On Rails and I think than ActiveRecord will miss me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your answer.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Nov 2011 20:20:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/retrieve-a-persistent-object-without-the-primary-key/m-p/8376972#M1642492</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-11-21T20:20:12Z</dc:date>
    </item>
  </channel>
</rss>

