<?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: Creating a Xstring component in a structure in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-a-xstring-component-in-a-structure/m-p/8788323#M1678952</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot for the reply. Actually I have a service that returns the bytestream of a pdf in XSTRING format. I want to store that stream in a structure and return the structure to the requesting client.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The pdf is exported from the service in XSTRING format, so to store it I need a XSTRING in my structure. Any conversion (i.e XSTRING to RAW or XSTRING&amp;nbsp; to STRING) results in the corruption of the pdf document and I am not able to open it in the client side.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since XSTRING is an predefined type in ABAP, why am I not able to use it in the structure? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 19 Jun 2012 06:59:06 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2012-06-19T06:59:06Z</dc:date>
    <item>
      <title>Creating a Xstring component in a structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-a-xstring-component-in-a-structure/m-p/8788321#M1678950</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 am trying to create an string component in a structure, but when I enter XSTRING in the data type field, I always get the error, enter a valid value. Any Idea how I can resolve this? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm thankful to any and every help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Riswan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jun 2012 06:41:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-a-xstring-component-in-a-structure/m-p/8788321#M1678950</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-06-19T06:41:02Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a Xstring component in a structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-a-xstring-component-in-a-structure/m-p/8788322#M1678951</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;Mostly we do not store data in xstring format. One thing what you can do is use the type RAW, convert you data to RAW data and then store it and for processing you can convert it back from RAW to xstring format.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;kartik&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jun 2012 06:50:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-a-xstring-component-in-a-structure/m-p/8788322#M1678951</guid>
      <dc:creator>Kartik2</dc:creator>
      <dc:date>2012-06-19T06:50:31Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a Xstring component in a structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-a-xstring-component-in-a-structure/m-p/8788323#M1678952</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot for the reply. Actually I have a service that returns the bytestream of a pdf in XSTRING format. I want to store that stream in a structure and return the structure to the requesting client.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The pdf is exported from the service in XSTRING format, so to store it I need a XSTRING in my structure. Any conversion (i.e XSTRING to RAW or XSTRING&amp;nbsp; to STRING) results in the corruption of the pdf document and I am not able to open it in the client side.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since XSTRING is an predefined type in ABAP, why am I not able to use it in the structure? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jun 2012 06:59:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-a-xstring-component-in-a-structure/m-p/8788323#M1678952</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-06-19T06:59:06Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a Xstring component in a structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-a-xstring-component-in-a-structure/m-p/8788324#M1678953</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;In DDIC, types have different names than in ABAP. If you know ABAP but not DDIC, when you press F4 at the DDIC type field, the only difficulty is to know the equivalence. See there: &lt;A class="urllink" href="http://help.sap.com/saphelp_nw70/helpdata/en/cf/21f2f2446011d189700000e8322d00/frameset.htm" rel="nofollow" style="font-family: Arial, Helvetica, sans-serif; text-align: -webkit-auto; background-color: #ffffff;"&gt;SAP Library: Mapping of the ABAP Data Types&lt;/A&gt; (you will see that XSTRING in ABAP corresponds to RAWSTRING in DDIC.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sandra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jun 2012 20:11:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-a-xstring-component-in-a-structure/m-p/8788324#M1678953</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2012-06-19T20:11:57Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a Xstring component in a structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-a-xstring-component-in-a-structure/m-p/8788325#M1678954</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Sandra. I tried using RAWSTRING and it solved my problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Riswan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jun 2012 04:45:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-a-xstring-component-in-a-structure/m-p/8788325#M1678954</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-06-20T04:45:50Z</dc:date>
    </item>
  </channel>
</rss>

