<?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 serialize data to a xstring? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/serialize-data-to-a-xstring/m-p/1736261#M320208</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi, is it possible to serialize a bunch of data to an xstring and reconstruct it from there?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a.e.:&lt;/P&gt;&lt;P&gt;DATA: mydata TYPE ANY,&lt;/P&gt;&lt;P&gt;          myxstring type xstring.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ZCL_DATA=&amp;gt;get_data(  imorting data = mydata ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;??? here i wanna put the data in a xstring, but how ?&lt;/P&gt;&lt;P&gt;??? myxstring = data_to_xstring( mydata )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ZCL_DATA=&amp;gt;save_data( exporting xstring =  myxstring ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ZCL_DATA=&amp;gt;load_data( importing xstring = myxstring ).&lt;/P&gt;&lt;P&gt;??? here i wanna restore the data.&lt;/P&gt;&lt;P&gt;??? data = xstring_to_data( myxstring )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ZCL_DATA=&amp;gt;put_data(  exporting data = mydata ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="---" /&gt;&lt;P&gt;the structure of the data should not be lost during this operation, and the data could be of an complex type.&lt;/P&gt;&lt;P&gt;how can i realize this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks ronald&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 01 Dec 2006 12:39:30 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-12-01T12:39:30Z</dc:date>
    <item>
      <title>serialize data to a xstring?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/serialize-data-to-a-xstring/m-p/1736261#M320208</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi, is it possible to serialize a bunch of data to an xstring and reconstruct it from there?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a.e.:&lt;/P&gt;&lt;P&gt;DATA: mydata TYPE ANY,&lt;/P&gt;&lt;P&gt;          myxstring type xstring.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ZCL_DATA=&amp;gt;get_data(  imorting data = mydata ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;??? here i wanna put the data in a xstring, but how ?&lt;/P&gt;&lt;P&gt;??? myxstring = data_to_xstring( mydata )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ZCL_DATA=&amp;gt;save_data( exporting xstring =  myxstring ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ZCL_DATA=&amp;gt;load_data( importing xstring = myxstring ).&lt;/P&gt;&lt;P&gt;??? here i wanna restore the data.&lt;/P&gt;&lt;P&gt;??? data = xstring_to_data( myxstring )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ZCL_DATA=&amp;gt;put_data(  exporting data = mydata ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="---" /&gt;&lt;P&gt;the structure of the data should not be lost during this operation, and the data could be of an complex type.&lt;/P&gt;&lt;P&gt;how can i realize this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks ronald&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Dec 2006 12:39:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/serialize-data-to-a-xstring/m-p/1736261#M320208</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-01T12:39:30Z</dc:date>
    </item>
    <item>
      <title>Re: serialize data to a xstring?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/serialize-data-to-a-xstring/m-p/1736262#M320209</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi grafl,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. use the command EXPORT  to put data in xstring.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. just copy paste to get a taste of it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;report abc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : t001 like t001 occurs 0 with header line.&lt;/P&gt;&lt;P&gt;data : str type xstring.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*----&lt;/P&gt;&lt;HR originaltext="------------------" /&gt;&lt;P&gt;select * from t001 into table t001.&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;export t001 to data buffer str.&amp;lt;/b&amp;gt;&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;amit m.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Dec 2006 12:52:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/serialize-data-to-a-xstring/m-p/1736262#M320209</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-01T12:52:32Z</dc:date>
    </item>
    <item>
      <title>Re: serialize data to a xstring?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/serialize-data-to-a-xstring/m-p/1736263#M320210</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;woohoo &lt;/P&gt;&lt;P&gt;thank u very much.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this gonna make my life 100% easier &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Dec 2006 12:56:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/serialize-data-to-a-xstring/m-p/1736263#M320210</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-01T12:56:41Z</dc:date>
    </item>
  </channel>
</rss>

