<?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: String to Hex conversion in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/string-to-hex-conversion/m-p/4788470#M1121566</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI.&lt;/P&gt;&lt;P&gt;Refer this link.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="6515504"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapfans.com/forums/viewtopic.php?p=403405&amp;amp;sid=e524cddae19e7ae48a12477e68c6032d#p403405" target="test_blank"&gt;http://www.sapfans.com/forums/viewtopic.php?p=403405&amp;amp;sid=e524cddae19e7ae48a12477e68c6032d#p403405&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REgards.&lt;/P&gt;&lt;P&gt;Jay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 02 Dec 2008 05:29:37 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-12-02T05:29:37Z</dc:date>
    <item>
      <title>String to Hex conversion</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/string-to-hex-conversion/m-p/4788469#M1121565</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good morning,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need advice please - we have obtained a piece of code from another SAP customer as we urgently had to use a formula to generate some data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ws_seedno = '123456789ABCDEF123456789ABCDEF12'.&lt;/P&gt;&lt;P&gt;ws_length = STRLEN( ws_seedno ).&lt;/P&gt;&lt;P&gt;ASSIGN ws_seedno(ws_length) TO &amp;lt;fs&amp;gt; TYPE 'X'.&lt;/P&gt;&lt;P&gt;MOVE &amp;lt;fs&amp;gt; TO ws_khex.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The first step is to convert a seed number to hexadecimal - the customer that gave us the code obtains this result out of that code :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3132333435 3637383941 4243444546 3132333435 3637383941 4243444546&lt;/P&gt;&lt;P&gt;3132000000 0000000000 0000000000 0000000000 0000000000 0000000000 00000000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;we on the other hand get this result :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;0031003200 3300340035 0036003700 3800390041 0042004300 4400450046&lt;/P&gt;&lt;P&gt;0031003200 3300340035 0036003700 3800390041 0042004300 4400450046 00310032&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would someone know why the results differ? We are on different SPs and operating systems but both are ECC6,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any advice would be greatly appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anette&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Dec 2008 05:22:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/string-to-hex-conversion/m-p/4788469#M1121565</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-02T05:22:54Z</dc:date>
    </item>
    <item>
      <title>Re: String to Hex conversion</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/string-to-hex-conversion/m-p/4788470#M1121566</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI.&lt;/P&gt;&lt;P&gt;Refer this link.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="6515504"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapfans.com/forums/viewtopic.php?p=403405&amp;amp;sid=e524cddae19e7ae48a12477e68c6032d#p403405" target="test_blank"&gt;http://www.sapfans.com/forums/viewtopic.php?p=403405&amp;amp;sid=e524cddae19e7ae48a12477e68c6032d#p403405&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REgards.&lt;/P&gt;&lt;P&gt;Jay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Dec 2008 05:29:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/string-to-hex-conversion/m-p/4788470#M1121566</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-02T05:29:37Z</dc:date>
    </item>
    <item>
      <title>Re: String to Hex conversion</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/string-to-hex-conversion/m-p/4788471#M1121567</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;try this function module for conversion of string into xstring then evaluate the results.&lt;/P&gt;&lt;P&gt;CRM_IC_XML_STRING2XSTRING.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Vishal Kapoor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Dec 2008 05:47:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/string-to-hex-conversion/m-p/4788471#M1121567</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-02T05:47:45Z</dc:date>
    </item>
    <item>
      <title>Re: String to Hex conversion</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/string-to-hex-conversion/m-p/4788472#M1121568</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank-you Jay and Vishal,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunately both the suggested solutions delivers the same result as the code I posted&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;0031003200 3300340035 0036003700 3800390041 0042004300 4400450046&lt;/P&gt;&lt;P&gt;0031003200 3300340035 0036003700 3800390041 0042004300 4400450046 00310032&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what is VERY interesting is that the person that supplied us the code is on ECC5, we also have an ECC5 SAP HR installation and this supplies the correct string :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3132333435 3637383941 4243444546 3132333435 3637383941 4243444546&lt;/P&gt;&lt;P&gt;3132000000 0000000000 0000000000 0000000000 0000000000 0000000000 00000000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This does not seem to be an ABAP issue - quite possible a basis?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anette&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Dec 2008 08:56:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/string-to-hex-conversion/m-p/4788472#M1121568</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-02T08:56:48Z</dc:date>
    </item>
    <item>
      <title>Re: String to Hex conversion</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/string-to-hex-conversion/m-p/4788473#M1121569</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anette, &lt;/P&gt;&lt;P&gt;I suppose  you solved this problem a year ago.  But maybe someone watch  this post with the same problem . I used the function 'CRM_IC_XML_STRING2XSTRING'  and broke through that if a string contais the  string  ' xml version =" 1.0 "encoding =" utf-8 "? ', the string is  turned  correctly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Well, I ckecked the result leaving the string in a xml file and reading it through the function  'GUI_UPLOAD' with filetype = 'BIN'  and obtain the same result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I didn´t have any problem to use 'CRM_IC_XML_STRING2XSTRING'  because I needed  to converted a string that contained "xml version =" 1.0 "encoding =" utf-8 "? ' .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope someone find it useful&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Dec 2009 08:42:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/string-to-hex-conversion/m-p/4788473#M1121569</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-12-17T08:42:10Z</dc:date>
    </item>
  </channel>
</rss>

