<?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: import statement in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/import-statement/m-p/5088069#M1181256</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IMPORT ITAB_BKPF FROM DATABASE RFDT(BB) ID XYZ.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ITAB_BKPF in the export structure and import structure should be of same declaration &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can u try using in the lines of below piece of code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    EXPORT tb_cond FROM tb_cond&lt;/P&gt;&lt;P&gt;         TO DATABASE indx(st) ID wf_memid.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Import TB_COND to TB_COND from DATABASE indx(st) ID wf_memid.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Lavanya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 03 Feb 2009 10:11:42 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-02-03T10:11:42Z</dc:date>
    <item>
      <title>import statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/import-statement/m-p/5088065#M1181252</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;lt;&amp;lt;"Plz help" removed from subject by moderator&amp;gt;&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;one program is giving dump at the location 'IMPORT......... statement'.&lt;/P&gt;&lt;P&gt;but there is no EXPORT statement  in this program(is it required?)&lt;/P&gt;&lt;P&gt;can someone explain me the technical details of the following statement below:&lt;/P&gt;&lt;P&gt;    IMPORT ITAB_BKPF FROM DATABASE RFDT(BB) ID XYZ.&lt;/P&gt;&lt;P&gt;IF SY-SUBRC = 0.&lt;/P&gt;&lt;P&gt;      READ TABLE T_BKPF INDEX 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;.....................&lt;/P&gt;&lt;P&gt;more details:&lt;/P&gt;&lt;P&gt;same code is working in one system and giving dump in another system.&lt;/P&gt;&lt;P&gt;both systems are samp versions..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;plz help me&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: MICR S on Feb 3, 2009 10:47 AM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Matt on Feb 3, 2009 11:31 AM - plz help removed from subject&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Feb 2009 09:44:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/import-statement/m-p/5088065#M1181252</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-03T09:44:00Z</dc:date>
    </item>
    <item>
      <title>Re: import statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/import-statement/m-p/5088066#M1181253</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No need in the same program the export statement should be mentioned...It can be mentioned else where..Just like u can append the data to application server and frrom another program we can download.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;amp; &lt;/P&gt;&lt;P&gt;The read statement mentioned by you is not realted to the import tab...could you paste some more code..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;sas&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And what dump analysis are you getting??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Feb 2009 09:48:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/import-statement/m-p/5088066#M1181253</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-03T09:48:50Z</dc:date>
    </item>
    <item>
      <title>Re: import statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/import-statement/m-p/5088067#M1181254</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the following dump I am getting&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;An exception occurred that is explained in detail below.&lt;/P&gt;&lt;P&gt;The exception, which is assigned to class 'CX_SY_IMPORT_MISMATCH_ERROR', was&lt;/P&gt;&lt;P&gt; not caught and&lt;/P&gt;&lt;P&gt;therefore caused a runtime error.&lt;/P&gt;&lt;P&gt;The reason for the exception is:&lt;/P&gt;&lt;P&gt;When attempting to import data, the&lt;/P&gt;&lt;P&gt;structure of the complex object "ITAB_BKPF" was not compatible with the&lt;/P&gt;&lt;P&gt;target object. The error occurred with component no. 71.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Feb 2009 09:52:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/import-statement/m-p/5088067#M1181254</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-03T09:52:13Z</dc:date>
    </item>
    <item>
      <title>Re: import statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/import-statement/m-p/5088068#M1181255</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;U can Go through F1 help on import...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;U wil find Import Exceptions....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  In that u wil find&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CX_SY_IMPORT_MISMATCH_ERROR &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lot of resons for runtime error ....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;plz go through this....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Feb 2009 10:00:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/import-statement/m-p/5088068#M1181255</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-03T10:00:38Z</dc:date>
    </item>
    <item>
      <title>Re: import statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/import-statement/m-p/5088069#M1181256</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IMPORT ITAB_BKPF FROM DATABASE RFDT(BB) ID XYZ.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ITAB_BKPF in the export structure and import structure should be of same declaration &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can u try using in the lines of below piece of code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    EXPORT tb_cond FROM tb_cond&lt;/P&gt;&lt;P&gt;         TO DATABASE indx(st) ID wf_memid.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Import TB_COND to TB_COND from DATABASE indx(st) ID wf_memid.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Lavanya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Feb 2009 10:11:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/import-statement/m-p/5088069#M1181256</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-03T10:11:42Z</dc:date>
    </item>
    <item>
      <title>Re: import statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/import-statement/m-p/5088070#M1181257</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;From the description youe provided the problem lies in the itab.&lt;/P&gt;&lt;P&gt;The explanation says "The reason for the exception is:&lt;/P&gt;&lt;P&gt;When attempting to import data, the&lt;/P&gt;&lt;P&gt;structure of the complex object "ITAB_BKPF" was not compatible with the&lt;/P&gt;&lt;P&gt;target object. " means that there is a mismatch between the target table and actual table.&lt;/P&gt;&lt;P&gt;Figuring out the difference will solve your problem&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps u.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Feb 2009 10:19:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/import-statement/m-p/5088070#M1181257</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-03T10:19:33Z</dc:date>
    </item>
    <item>
      <title>Re: import statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/import-statement/m-p/5088071#M1181258</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Its not mandatory to use Export statement like in function modules. But from dump analysis it is very clearly mentioned that there is some mismatch in the ITAB_BKPF table (Source table) with the target table. It has nothing to do with the READ statement as it is dumping at the import statement itself. &lt;/P&gt;&lt;P&gt;So check your import statement for source and target tables structures if both are same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sumalatha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Feb 2009 10:42:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/import-statement/m-p/5088071#M1181258</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-03T10:42:05Z</dc:date>
    </item>
  </channel>
</rss>

