<?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/EXPORT FROM DATA BUFFER in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/import-export-from-data-buffer/m-p/1744472#M323162</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;EXPORT '1234' TO DATA BUFFER b, not working because, you did not assign a variable name to '1234' to be stored as in data buffer B.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Change the code to:&lt;/P&gt;&lt;P&gt;DATA: b type xstring.&lt;/P&gt;&lt;P&gt;DATA: a(4) type c.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EXPORT a = '1234' TO DATA BUFFER b.&lt;/P&gt;&lt;P&gt;IMPORT a FROM DATA BUFFER b.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's working in the second case because, some_internal_table  is the name of the variable in databuffer B and you are importing into the same variable in IMPORT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sridhar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 05 Dec 2006 19:28:56 GMT</pubDate>
    <dc:creator>sridhar_k1</dc:creator>
    <dc:date>2006-12-05T19:28:56Z</dc:date>
    <item>
      <title>IMPORT/EXPORT FROM DATA BUFFER</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/import-export-from-data-buffer/m-p/1744470#M323160</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;I have some code like this:&lt;/P&gt;&lt;P&gt;DATA: b type xstring.&lt;/P&gt;&lt;P&gt;DATA: a type xstirng.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EXPORT '1234' TO DATA BUFFER b.&lt;/P&gt;&lt;P&gt;IMPORT a FROM DATA BUFFER b.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for some reason a does not get set to the value that I assigned to b.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, this code works:&lt;/P&gt;&lt;P&gt;DATA: b type xstring.&lt;/P&gt;&lt;P&gt;DATA: a type xstirng.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EXPORT some_internal_table TO DATA BUFFER b.&lt;/P&gt;&lt;P&gt;IMPORT a FROM DATA BUFFER b.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anybody know why internal tables work but other data types do not?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Dec 2006 18:12:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/import-export-from-data-buffer/m-p/1744470#M323160</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-05T18:12:15Z</dc:date>
    </item>
    <item>
      <title>Re: IMPORT/EXPORT FROM DATA BUFFER</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/import-export-from-data-buffer/m-p/1744471#M323161</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;perhaps its the lack of a header in the data, where your internal table may have one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Warren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Dec 2006 18:19:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/import-export-from-data-buffer/m-p/1744471#M323161</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-05T18:19:12Z</dc:date>
    </item>
    <item>
      <title>Re: IMPORT/EXPORT FROM DATA BUFFER</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/import-export-from-data-buffer/m-p/1744472#M323162</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;EXPORT '1234' TO DATA BUFFER b, not working because, you did not assign a variable name to '1234' to be stored as in data buffer B.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Change the code to:&lt;/P&gt;&lt;P&gt;DATA: b type xstring.&lt;/P&gt;&lt;P&gt;DATA: a(4) type c.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EXPORT a = '1234' TO DATA BUFFER b.&lt;/P&gt;&lt;P&gt;IMPORT a FROM DATA BUFFER b.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's working in the second case because, some_internal_table  is the name of the variable in databuffer B and you are importing into the same variable in IMPORT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sridhar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Dec 2006 19:28:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/import-export-from-data-buffer/m-p/1744472#M323162</guid>
      <dc:creator>sridhar_k1</dc:creator>
      <dc:date>2006-12-05T19:28:56Z</dc:date>
    </item>
  </channel>
</rss>

