<?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: When execute native SQL.... in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/when-execute-native-sql/m-p/1535285#M244243</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That is the most harmful way you are misusing the native SQL feature. If you are aware of the SAP database concepts, you will know that it is a logical database layer that SAP works with. That is the only way SAP can make its database objects independent of the database platform chosen. When you install SAP and tell that you are going to use Oracle as the database, then the database layer will issue the native commands to create the whole database schema in Oracle. That is the reason why you have to create/change/delete/display data dictionary objects through SAP transactions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you create a table through SE11, the table is not only created in the underlying Oracle database, the metadata of the table is stored in other SAP tables (DD02L, DD03L are some examples where this metadata is stored). So when you access the same table, system will read the metadata first.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to create the table programatically, use some function module like DD&lt;STRONG&gt;CREATE&lt;/STRONG&gt;TAB*&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 10 Aug 2006 03:20:08 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-08-10T03:20:08Z</dc:date>
    <item>
      <title>When execute native SQL....</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/when-execute-native-sql/m-p/1535284#M244242</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to create a table using Report with native SQL&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the code as blow:&lt;/P&gt;&lt;P&gt;===============================================&lt;/P&gt;&lt;P&gt;REPORT ZDF100001 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EXEC SQL.&lt;/P&gt;&lt;P&gt;  CREATE TABLE ZZDEF50 (&lt;/P&gt;&lt;P&gt;         MANDT         CHAR(3)  NOT NULL,&lt;/P&gt;&lt;P&gt;         ZZFDTYPE      CHAR(1)  NOT NULL,&lt;/P&gt;&lt;P&gt;         ZZFLINENO     CHAR(4)  NOT NULL,&lt;/P&gt;&lt;P&gt;         ZZFCOUNTER    CHAR(3)  NOT NULL,&lt;/P&gt;&lt;P&gt;         ZZFSHKZG      CHAR(1),&lt;/P&gt;&lt;P&gt;         ZZFRACCT_F    CHAR(10),&lt;/P&gt;&lt;P&gt;         ZZFRACCT_T    CHAR(10),&lt;/P&gt;&lt;P&gt;         PRIMARY KEY (MANDT, ZZFDTYPE, ZZFLINENO, ZZFCOUNTER)&lt;/P&gt;&lt;P&gt;                          )&lt;/P&gt;&lt;P&gt;ENDEXEC.&lt;/P&gt;&lt;P&gt;=========================================&lt;/P&gt;&lt;P&gt;when I execute and create it. but I can't find it in Dictionary (SE11) . So I do it again .the Error shows that the object table has already exist....why I can't find it in SE11?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My requirement is to create a transaction table and insert some data at first time the porject running.&lt;/P&gt;&lt;P&gt;But I don't want to create it with SE11 manually.&lt;/P&gt;&lt;P&gt;Can anybody help me to solve the problem?&lt;/P&gt;&lt;P&gt;thanks a lot.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Aug 2006 02:44:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/when-execute-native-sql/m-p/1535284#M244242</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-10T02:44:36Z</dc:date>
    </item>
    <item>
      <title>Re: When execute native SQL....</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/when-execute-native-sql/m-p/1535285#M244243</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That is the most harmful way you are misusing the native SQL feature. If you are aware of the SAP database concepts, you will know that it is a logical database layer that SAP works with. That is the only way SAP can make its database objects independent of the database platform chosen. When you install SAP and tell that you are going to use Oracle as the database, then the database layer will issue the native commands to create the whole database schema in Oracle. That is the reason why you have to create/change/delete/display data dictionary objects through SAP transactions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you create a table through SE11, the table is not only created in the underlying Oracle database, the metadata of the table is stored in other SAP tables (DD02L, DD03L are some examples where this metadata is stored). So when you access the same table, system will read the metadata first.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to create the table programatically, use some function module like DD&lt;STRONG&gt;CREATE&lt;/STRONG&gt;TAB*&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Aug 2006 03:20:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/when-execute-native-sql/m-p/1535285#M244243</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-10T03:20:08Z</dc:date>
    </item>
    <item>
      <title>Re: When execute native SQL....</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/when-execute-native-sql/m-p/1535286#M244244</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;good&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you cant create the table like this, if you want to create a ztable than you have to use the se11 there you have to give the table name.There is two process to create the table one is top down and another one is bottom up.&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;mrutyun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Aug 2006 04:06:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/when-execute-native-sql/m-p/1535286#M244244</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-10T04:06:17Z</dc:date>
    </item>
    <item>
      <title>Re: When execute native SQL....</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/when-execute-native-sql/m-p/1535287#M244245</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I see&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you very much ! &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will try function DD_CREATE_TABLE to have a test.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Aug 2006 04:54:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/when-execute-native-sql/m-p/1535287#M244245</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-10T04:54:02Z</dc:date>
    </item>
  </channel>
</rss>

