<?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: Issue with Native SQL - Insert in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-native-sql-insert/m-p/7454886#M1553329</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Amit, I think there is a mismatch in the field list and the sequence of value.  Hope below statement is the correct one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;insert into some_tab ( COMPANYCODE,
                                PLANVERSION,
                                ORGUNIT,
                                ORGUNITSHORTTEXT,
                                STARTDATE,
                                ENDDATE,
                                ORGUNITTEXT,
                                MODIFIEDBY,
                                MODIFIEDON,
                                STATUS )
                       values ( 1000,
                                '01',
                                '10001000',
                                'Test1',
                                '20100101',
                                '20101010',
                                'Test2',
                                'VIKRANTD1507',
                                '20100101',
                                'A' );&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 08 Dec 2010 07:49:59 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-12-08T07:49:59Z</dc:date>
    <item>
      <title>Issue with Native SQL - Insert</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-native-sql-insert/m-p/7454884#M1553327</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 a ORACLE Table with following fields -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;COLUMN			NULL	DATATYPE
COMPANYCODE	        NOT NULL	NUMBER(10)
PLANVERSION		NOT NULL	VARCHAR2(30)
ORGUNIT	                NOT NULL	VARCHAR2(30)
ORGUNITSHORTTEXT        NOT NULL	VARCHAR2(50)
ORGUNITTEXT		NOT NULL	VARCHAR2(100)
STARTDATE		NOT NULL	DATE
ENDDATE			NOT NULL	DATE
MODIFIEDBY		NOT NULL	VARCHAR2(255)
MODIFIEDON		NOT NULL	DATE
STATUS			NOT NULL	VARCHAR2(3)&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My code is -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
EXEC SQL.
     insert into some_tab ( COMPANYCODE,
                                PLANVERSION,
                                ORGUNIT,
                                ORGUNITSHORTTEXT,
                                STARTDATE,
                                ENDDATE,
                                ORGUNITTEXT,
                                MODIFIEDBY,
                                MODIFIEDON,
                                STATUS )

                       values ( 1000,
                                '01',
                                '10001000',
                                'Test1',
                                'Test2',
                                '20100101',
                                '20101010',
                                'VIKRANTD1507',
                                '20100101',
                                'A' );

    ENDEXEC.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's giving dump.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I searched everything but not able to find the exact reason for this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please advice.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Amit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Dec 2010 06:47:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-native-sql-insert/m-p/7454884#M1553327</guid>
      <dc:creator>amit_khare</dc:creator>
      <dc:date>2010-12-08T06:47:52Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with Native SQL - Insert</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-native-sql-insert/m-p/7454885#M1553328</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is the dump you are getting?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Dec 2010 07:27:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-native-sql-insert/m-p/7454885#M1553328</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-12-08T07:27:52Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with Native SQL - Insert</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-native-sql-insert/m-p/7454886#M1553329</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Amit, I think there is a mismatch in the field list and the sequence of value.  Hope below statement is the correct one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;insert into some_tab ( COMPANYCODE,
                                PLANVERSION,
                                ORGUNIT,
                                ORGUNITSHORTTEXT,
                                STARTDATE,
                                ENDDATE,
                                ORGUNITTEXT,
                                MODIFIEDBY,
                                MODIFIEDON,
                                STATUS )
                       values ( 1000,
                                '01',
                                '10001000',
                                'Test1',
                                '20100101',
                                '20101010',
                                'Test2',
                                'VIKRANTD1507',
                                '20100101',
                                'A' );&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Dec 2010 07:49:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-native-sql-insert/m-p/7454886#M1553329</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-12-08T07:49:59Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with Native SQL - Insert</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-native-sql-insert/m-p/7454887#M1553330</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for Pointing Vinod.&lt;/P&gt;&lt;P&gt;Sequence is just printed incorrectly while re-writing the code here. Error is same  &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;insert into some_tab ( COMPANYCODE,
                                PLANVERSION,
                                ORGUNIT,
                                ORGUNITSHORTTEXT,
                                STARTDATE,
                                ENDDATE,
                                ORGUNITTEXT,
                                MODIFIEDBY,
                                MODIFIEDON,
                                STATUS )
                       values ( 1000,
                                '01',
                                '10001000',
                                'Test1',
                                '20100101',
                                '20101010',
                                'Test2',
                                'VIKRANTD1507',
                                '20100101',
                                'A' );&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With Different Changes I am getting different errors -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NATIVE SQL ERROR 925, 926, 933 &amp;amp; 911.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Dec 2010 08:35:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-native-sql-insert/m-p/7454887#M1553330</guid>
      <dc:creator>amit_khare</dc:creator>
      <dc:date>2010-12-08T08:35:45Z</dc:date>
    </item>
  </channel>
</rss>

