<?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>Question Re: Decode Binary from xml data in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/decode-binary-from-xml-data/qaa-p/12389700#M4636561</link>
    <description>&lt;P&gt;Hi Pascal,&lt;/P&gt;&lt;P&gt;Currently, there is no out of box solution to read/write excel file, however you use format conversion bean to read excel and convert into xml . This has to be used after base64 decoding .&lt;/P&gt;&lt;P&gt;&lt;A href="https://blogs.sap.com/2018/09/04/formatconversionbean-arrives-in-cpi/" target="test_blank"&gt;https://blogs.sap.com/2018/09/04/formatconversionbean-arrives-in-cpi/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Manoj&lt;/P&gt;</description>
    <pubDate>Mon, 31 May 2021 09:54:37 GMT</pubDate>
    <dc:creator>manoj_khavatkopp</dc:creator>
    <dc:date>2021-05-31T09:54:37Z</dc:date>
    <item>
      <title>Decode Binary from xml data</title>
      <link>https://community.sap.com/t5/technology-q-a/decode-binary-from-xml-data/qaq-p/12389696</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
  &lt;P&gt;I try to get an xml node receiving from an Odata, below is the structure &lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1941695-xumo1.png" /&gt;&lt;/P&gt;
  &lt;P&gt;I would like to get this specific node, then transform it in xml structure.&lt;/P&gt;
  &lt;P&gt;I use in a content modifier the different properties from the blog &lt;/P&gt;
  &lt;P&gt;&lt;A href="https://blogs.sap.com/2015/04/30/base64decodeconverter-base64-decoding-made-easy/" target="test_blank"&gt;https://blogs.sap.com/2015/04/30/base64decodeconverter-base64-decoding-made-easy/&lt;/A&gt;&lt;/P&gt;
  &lt;P&gt; &lt;IMG alt="" style="font-size: 15px; color: inherit;" /&gt;&lt;/P&gt;
  &lt;P&gt;But infortunatly I can't transform the binary data into xml data&lt;/P&gt;
  &lt;P&gt;Do you have an idea, do I forget some property into the content modifier in order to transform properly the data ?&lt;/P&gt;
  &lt;P&gt;Thanks for your help and your answers.&lt;/P&gt;
  &lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Fri, 28 May 2021 15:42:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/decode-binary-from-xml-data/qaq-p/12389696</guid>
      <dc:creator>former_member715070</dc:creator>
      <dc:date>2021-05-28T15:42:37Z</dc:date>
    </item>
    <item>
      <title>Re: Decode Binary from xml data</title>
      <link>https://community.sap.com/t5/technology-q-a/decode-binary-from-xml-data/qaa-p/12389697#M4636558</link>
      <description>&lt;P&gt;Hi Pascal ,&lt;/P&gt;&lt;P&gt;You can achieve this using standard steps provided by CPI :&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Your Data ---&amp;gt;Filter--&amp;gt;Base64Decoder&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;In Filter:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Xpath : //Binary&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Value Type: String.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Manoj&lt;/P&gt;</description>
      <pubDate>Fri, 28 May 2021 16:21:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/decode-binary-from-xml-data/qaa-p/12389697#M4636558</guid>
      <dc:creator>manoj_khavatkopp</dc:creator>
      <dc:date>2021-05-28T16:21:02Z</dc:date>
    </item>
    <item>
      <title>Re: Decode Binary from xml data</title>
      <link>https://community.sap.com/t5/technology-q-a/decode-binary-from-xml-data/qaa-p/12389698#M4636559</link>
      <description>&lt;P&gt;Hi Pascal&lt;/P&gt;&lt;P&gt;As &lt;SPAN class="mention-scrubbed"&gt;manoj.khavatkopp&lt;/SPAN&gt; points out, you can accomplish this easily using only the built-in steps. You need a Filter step to extract the Base64 encoded content and then a Base64 Decoder step. So like this:&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1940739-steps.jpg" /&gt;&lt;/P&gt;&lt;P&gt;After the first step, the payload consists of the Base64 encoded XML. After the second step, the payload is the decoded XML. This is assuming, of course, that the Base64 encoded stuff &lt;EM&gt;is&lt;/EM&gt; actually XML. You refer to it as binary, but XML is text, right.&lt;/P&gt;&lt;P&gt;Configure the Filter step like this:&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1940740-filter.jpg" /&gt;&lt;/P&gt;&lt;P&gt;Have fun with CPI!&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Morten&lt;/P&gt;</description>
      <pubDate>Sat, 29 May 2021 14:02:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/decode-binary-from-xml-data/qaa-p/12389698#M4636559</guid>
      <dc:creator>MortenWittrock</dc:creator>
      <dc:date>2021-05-29T14:02:45Z</dc:date>
    </item>
    <item>
      <title>Re: Decode Binary from xml data</title>
      <link>https://community.sap.com/t5/technology-q-a/decode-binary-from-xml-data/qaa-p/12389699#M4636560</link>
      <description>&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1941723-2021-05-31-09h02-50.png" /&gt;&lt;/P&gt;&lt;P&gt;Hello &lt;SPAN class="mention-scrubbed"&gt;manoj.khavatkopp&lt;/SPAN&gt; and Morten Wittrock  thank you very much for your answers.&lt;/P&gt;&lt;P&gt;The binary node contains an " excel file "  received from BydDesign software. We  want to get this excel file from ByDesign decode it then get different data inside in order to map them. &lt;/P&gt;&lt;P&gt;&lt;IMG alt="" style="font-size: 15px; color: rgb(60, 60, 60);" /&gt;&lt;IMG alt="" /&gt;&lt;/P&gt;&lt;P&gt;I tried your solutions but infortunatly there is no decode of the file.&lt;/P&gt;&lt;P&gt;Do you have any other ideas to solve this ?&lt;/P&gt;&lt;P&gt;Thanks for your answers&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Mon, 31 May 2021 07:04:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/decode-binary-from-xml-data/qaa-p/12389699#M4636560</guid>
      <dc:creator>former_member715070</dc:creator>
      <dc:date>2021-05-31T07:04:37Z</dc:date>
    </item>
    <item>
      <title>Re: Decode Binary from xml data</title>
      <link>https://community.sap.com/t5/technology-q-a/decode-binary-from-xml-data/qaa-p/12389700#M4636561</link>
      <description>&lt;P&gt;Hi Pascal,&lt;/P&gt;&lt;P&gt;Currently, there is no out of box solution to read/write excel file, however you use format conversion bean to read excel and convert into xml . This has to be used after base64 decoding .&lt;/P&gt;&lt;P&gt;&lt;A href="https://blogs.sap.com/2018/09/04/formatconversionbean-arrives-in-cpi/" target="test_blank"&gt;https://blogs.sap.com/2018/09/04/formatconversionbean-arrives-in-cpi/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Manoj&lt;/P&gt;</description>
      <pubDate>Mon, 31 May 2021 09:54:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/decode-binary-from-xml-data/qaa-p/12389700#M4636561</guid>
      <dc:creator>manoj_khavatkopp</dc:creator>
      <dc:date>2021-05-31T09:54:37Z</dc:date>
    </item>
  </channel>
</rss>

