<?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: Why are ABAP Programs stored in database? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/why-are-abap-programs-stored-in-database/m-p/9244555#M1720050</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;TR number - do you mean Transport number?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 31 Jul 2015 09:34:13 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2015-07-31T09:34:13Z</dc:date>
    <item>
      <title>Why are ABAP Programs stored in database?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/why-are-abap-programs-stored-in-database/m-p/9244545#M1720040</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I need to know Why are ABAP Programs stored in database? And when we execute a program from front end how the process goes on?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Jan 2013 05:43:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/why-are-abap-programs-stored-in-database/m-p/9244545#M1720040</guid>
      <dc:creator>former_member193023</dc:creator>
      <dc:date>2013-01-24T05:43:10Z</dc:date>
    </item>
    <item>
      <title>Re: Why are ABAP Programs stored in database?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/why-are-abap-programs-stored-in-database/m-p/9244546#M1720041</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Parth,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Each ABAP program is an object in the DB and usually refers to plenty of other objects which also are stored the in db.&amp;nbsp; When a program is run from the frontend, it first checks the program buffer to see whether it is there.&amp;nbsp; If not, then it makes a db call to retrieve the program and store it in the program buffer.&amp;nbsp; (You should aim for&amp;nbsp; &amp;gt; 90% hit rate on the program buffer for performance reasons.)&amp;nbsp; Unless the transaction is passing data to the frontend, for example with a download to Excel, then the processing of the program runs on the server, not the client.&amp;nbsp; The client is there for presentation purposes..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps&lt;/P&gt;&lt;P&gt;Graham&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS. As you are obviously new to SAP and this site: It's poilite on SCN to ask questions and sign your name.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;&amp;lt;&amp;lt; Advice for assigning points ( indirectly ) removed &amp;gt;&amp;gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Kesavadas Thekkillath&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Jan 2013 08:28:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/why-are-abap-programs-stored-in-database/m-p/9244546#M1720041</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-01-24T08:28:13Z</dc:date>
    </item>
    <item>
      <title>Re: Why are ABAP Programs stored in database?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/why-are-abap-programs-stored-in-database/m-p/9244547#M1720042</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Graham,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please elaborate the first line. I am still not clear with why is it needed to store the ABAP programs in DB not in hard drives.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Parth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Jan 2013 09:06:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/why-are-abap-programs-stored-in-database/m-p/9244547#M1720042</guid>
      <dc:creator>former_member193023</dc:creator>
      <dc:date>2013-01-24T09:06:04Z</dc:date>
    </item>
    <item>
      <title>Re: Why are ABAP Programs stored in database?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/why-are-abap-programs-stored-in-database/m-p/9244548#M1720043</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Parth,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SAP programs are OS and DB independent with a layer between the SAP environment and the OS/DB - basically the kernel.&amp;nbsp; Plus each program can and does call many other standard functions (code).&amp;nbsp; Accessing the 100,000 plus programs from the OS would also be slow and inefficient.&amp;nbsp; Putting this in the db helps here.&amp;nbsp; Plus programs are only compiled when if required or requested through SGEN transaction, so potentially saving db space.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is a SAP feature, one you will get used to.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;KR &lt;/P&gt;&lt;P&gt;Graham&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Jan 2013 11:02:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/why-are-abap-programs-stored-in-database/m-p/9244548#M1720043</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-01-24T11:02:54Z</dc:date>
    </item>
    <item>
      <title>Re: Why are ABAP Programs stored in database?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/why-are-abap-programs-stored-in-database/m-p/9244549#M1720044</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Graham,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would like to reward you but couldn't find a way to do that. There's no option coming for me to do so.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Parth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jan 2013 09:53:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/why-are-abap-programs-stored-in-database/m-p/9244549#M1720044</guid>
      <dc:creator>former_member193023</dc:creator>
      <dc:date>2013-01-28T09:53:02Z</dc:date>
    </item>
    <item>
      <title>Re: Why are ABAP Programs stored in database?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/why-are-abap-programs-stored-in-database/m-p/9244550#M1720045</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Parth,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just mark the reply as 'correct answer' and that should do it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;Graham&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jan 2013 10:55:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/why-are-abap-programs-stored-in-database/m-p/9244550#M1720045</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-01-28T10:55:43Z</dc:date>
    </item>
    <item>
      <title>Re: Why are ABAP Programs stored in database?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/why-are-abap-programs-stored-in-database/m-p/9244551#M1720046</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Graham,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am still not convinced why SAP Programs are stored in DB rather as external files as in case of c++ or java files.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My Point is - if you want to execute a program, it has to be brought into memory. If it resides in hard disk. it will be called into memory and execute as it happens in case of Java or c++ program. But in case of ABAP, we are making a DB call to refer to other functions modules and classes which is quite costlier than calling a program from hard disk level.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me out here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Naveen Goyal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Jul 2015 05:08:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/why-are-abap-programs-stored-in-database/m-p/9244551#M1720046</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-07-31T05:08:37Z</dc:date>
    </item>
    <item>
      <title>Re: Why are ABAP Programs stored in database?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/why-are-abap-programs-stored-in-database/m-p/9244552#M1720047</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You will only get a definitive answer from the people who developed SAP in the first place. All else is guess work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SAP have obviously found that storing ABAP in the database is the most effective way of doing it, or at least "good enough", and/or not worth the effort to change. If there were serious performance issues, then it would have been addressed decades ago. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regardless of where the programs are stored, they'll be buffered in memory, so it makes no difference.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Jul 2015 07:00:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/why-are-abap-programs-stored-in-database/m-p/9244552#M1720047</guid>
      <dc:creator>matt</dc:creator>
      <dc:date>2015-07-31T07:00:38Z</dc:date>
    </item>
    <item>
      <title>Re: Why are ABAP Programs stored in database?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/why-are-abap-programs-stored-in-database/m-p/9244553#M1720048</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Parth,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you analyze the ABAP programs like reports, FM, Class etc..you will get one thing is common for every programs, which is TR number.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Which is very much helpful to do compare with old changes of the Objects, it's kind of DATABASE and KEY combination, the TR number are like version of the objects.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how we compare information from two different kind of records?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;that's the reason, SAP keeps program in DB tables for the further use.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for more analysis, you can check &lt;STRONG&gt;RSVRSRS1&lt;/STRONG&gt; and &lt;STRONG&gt;SVRS_GET_REPS_FROM_OBJECT&lt;/STRONG&gt; program and FM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Praveer.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Jul 2015 07:13:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/why-are-abap-programs-stored-in-database/m-p/9244553#M1720048</guid>
      <dc:creator>ipravir</dc:creator>
      <dc:date>2015-07-31T07:13:01Z</dc:date>
    </item>
    <item>
      <title>Re: Why are ABAP Programs stored in database?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/why-are-abap-programs-stored-in-database/m-p/9244554#M1720049</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mathew,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for answering it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am quite happy for your reply. But i still feel there must be definite architectural reason for doing this.&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;Naveen Goyal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Jul 2015 07:21:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/why-are-abap-programs-stored-in-database/m-p/9244554#M1720049</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-07-31T07:21:22Z</dc:date>
    </item>
    <item>
      <title>Re: Why are ABAP Programs stored in database?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/why-are-abap-programs-stored-in-database/m-p/9244555#M1720050</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;TR number - do you mean Transport number?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Jul 2015 09:34:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/why-are-abap-programs-stored-in-database/m-p/9244555#M1720050</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-07-31T09:34:13Z</dc:date>
    </item>
    <item>
      <title>Re: Why are ABAP Programs stored in database?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/why-are-abap-programs-stored-in-database/m-p/9244556#M1720051</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, TR (&lt;SPAN style="color: #333333; font-size: 12px;"&gt;Transport number).&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Jul 2015 09:36:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/why-are-abap-programs-stored-in-database/m-p/9244556#M1720051</guid>
      <dc:creator>ipravir</dc:creator>
      <dc:date>2015-07-31T09:36:46Z</dc:date>
    </item>
    <item>
      <title>Re: Why are ABAP Programs stored in database?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/why-are-abap-programs-stored-in-database/m-p/9244557#M1720052</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Naveen,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also bear in mind that ABAP programs are almost all DB and OS independent and user SAP SQL statements to access tables.&amp;nbsp; These SQL calls are then translated to DB-specific calls by the kernel programs.&amp;nbsp; Writing programs this way means that the developers do not need to take into account the specific SQL call needed for the DB in question - they are DB agnostic (in general).&amp;nbsp; This means that one set of code can be used on any and all systems (that's why you can import a SAP note to your system regardless of the OS/DB version you are running on). Otherwise, every program would have to have multiple versions depending on the DB it is running on.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The overhead of fetch a program from the DB if it is not already in the buffer is minimal when one considers the benefits.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Graham&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Aug 2015 10:03:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/why-are-abap-programs-stored-in-database/m-p/9244557#M1720052</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-08-03T10:03:44Z</dc:date>
    </item>
    <item>
      <title>Re: Why are ABAP Programs stored in database?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/why-are-abap-programs-stored-in-database/m-p/9244558#M1720053</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Graham,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I agree that we are making open SQL statement which are DB independent. This must be the case even for the people who are writing program in C++ or Java, i mean they are also support DB and OS independent call. But, there must be some archtectural reason to store programs in DB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Naveen Goyal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 09 Aug 2015 12:40:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/why-are-abap-programs-stored-in-database/m-p/9244558#M1720053</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-08-09T12:40:40Z</dc:date>
    </item>
  </channel>
</rss>

