<?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: Problem saving in al11 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-saving-in-al11/m-p/12300299#M1990186</link>
    <description>&lt;P&gt;Pic --&amp;gt; Base64 --&amp;gt; Xstring   ?   &lt;/P&gt;&lt;P&gt;so when you open the file you expect Windows will understand to do a Xstring --&amp;gt; Base64 --&amp;gt; Pic  ? &lt;/P&gt;&lt;P&gt;Why didn't you save directly the pic ?    Pic --&amp;gt; Binary File     and Windows will be really happy with this&lt;/P&gt;</description>
    <pubDate>Fri, 23 Oct 2020 05:43:19 GMT</pubDate>
    <dc:creator>FredericGirod</dc:creator>
    <dc:date>2020-10-23T05:43:19Z</dc:date>
    <item>
      <title>Problem saving in al11</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-saving-in-al11/m-p/12300295#M1990182</link>
      <description>&lt;P&gt;I'm sending an image to my odata soy my odata calls a fm that converts my xstring image to binary (SCMS_XSTRING_TO_BINARY) table so i can save it in my directory, this is my code:&lt;/P&gt;
  &lt;PRE&gt;&lt;CODE&gt;data: lv_path  type string value '/registrocarga/mifile.jpg'.
open dataset lv_path for output in binary mode message lv_msg.
  if sy-subrc eq 0.
    mensaje = 'S'.
    loop at lt_orblk assigning field-symbol(&amp;lt;dat&amp;gt;).
      transfer  &amp;lt;dat&amp;gt; to lv_path.
    endloop.
    close dataset lv_path.
  else.
    mensaje = 'E'.
  endif.
  delete dataset lv_path.


all my code executes it with sy-subrc eq 0 but when i go to tx al11 to check if the images are there, they are not.&lt;/CODE&gt;&lt;/PRE&gt;
  &lt;P&gt;I have to mention that i use tx cg3z to test if i'm able to storage files in my directory and i could save 1 test image and that al11 repository is a shared folder between two systems ( i don't know if that's relevant)&lt;/P&gt;
  &lt;P&gt;Any ideas what i coul d be happening ?&lt;/P&gt;</description>
      <pubDate>Thu, 22 Oct 2020 12:59:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-saving-in-al11/m-p/12300295#M1990182</guid>
      <dc:creator>former_member666258</dc:creator>
      <dc:date>2020-10-22T12:59:20Z</dc:date>
    </item>
    <item>
      <title>Re: Problem saving in al11</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-saving-in-al11/m-p/12300296#M1990183</link>
      <description>&lt;P&gt;Why ?&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;  delete dataset lv_path.&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 22 Oct 2020 13:20:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-saving-in-al11/m-p/12300296#M1990183</guid>
      <dc:creator>FredericGirod</dc:creator>
      <dc:date>2020-10-22T13:20:07Z</dc:date>
    </item>
    <item>
      <title>Re: Problem saving in al11</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-saving-in-al11/m-p/12300297#M1990184</link>
      <description>&lt;P&gt;You create a file and immediately delete it?&lt;/P&gt;</description>
      <pubDate>Thu, 22 Oct 2020 13:33:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-saving-in-al11/m-p/12300297#M1990184</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2020-10-22T13:33:58Z</dc:date>
    </item>
    <item>
      <title>Re: Problem saving in al11</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-saving-in-al11/m-p/12300298#M1990185</link>
      <description>&lt;P&gt;You're right! thank you a lot! Can i ask you something else? i'm triying to save an image is coming as base64 in xstring so i use SCMS_BASE64_ENCODE_STR but alfter save, download and open that image in windows it tells me that is not a correct format, maybe i'm saving in incorrect format ?&lt;/P&gt;</description>
      <pubDate>Thu, 22 Oct 2020 15:16:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-saving-in-al11/m-p/12300298#M1990185</guid>
      <dc:creator>former_member666258</dc:creator>
      <dc:date>2020-10-22T15:16:46Z</dc:date>
    </item>
    <item>
      <title>Re: Problem saving in al11</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-saving-in-al11/m-p/12300299#M1990186</link>
      <description>&lt;P&gt;Pic --&amp;gt; Base64 --&amp;gt; Xstring   ?   &lt;/P&gt;&lt;P&gt;so when you open the file you expect Windows will understand to do a Xstring --&amp;gt; Base64 --&amp;gt; Pic  ? &lt;/P&gt;&lt;P&gt;Why didn't you save directly the pic ?    Pic --&amp;gt; Binary File     and Windows will be really happy with this&lt;/P&gt;</description>
      <pubDate>Fri, 23 Oct 2020 05:43:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-saving-in-al11/m-p/12300299#M1990186</guid>
      <dc:creator>FredericGirod</dc:creator>
      <dc:date>2020-10-23T05:43:19Z</dc:date>
    </item>
  </channel>
</rss>

