<?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: Generate random XSTRING in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/generate-random-xstring/m-p/11903939#M1962527</link>
    <description>Two important things to note:&lt;BR /&gt;&lt;OL&gt;&lt;LI&gt;Length of x + xstring (byte-like data types) is usually measured by bytes. You are probably mentioning its separate characters representation length.&lt;/LI&gt;&lt;LI&gt;GUID_CREATE (called in your FM, BTW &lt;A href="https://help.sap.com/doc/abapdocu_750_index_htm/7.50/en-US/abenuuid_glosry.htm"&gt;replaced by UUID - cl_system_uuid&lt;/A&gt;) is generating "globally unique ID". You will never get two same numbers. But by generating random XSTRING you might get same number multiple times.&lt;/LI&gt;&lt;/OL&gt;</description>
    <pubDate>Fri, 24 May 2019 10:58:53 GMT</pubDate>
    <dc:creator>Tomas_Buryanek</dc:creator>
    <dc:date>2019-05-24T10:58:53Z</dc:date>
    <item>
      <title>Generate random XSTRING</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/generate-random-xstring/m-p/11903935#M1962523</link>
      <description>&lt;P&gt;Hi, &lt;BR /&gt;I need to generate a random xstring with lenght 32.&lt;/P&gt;
  &lt;P&gt;Completely random, not using FM like CMS_API_GENERAL_GUID_CREATE that generate data like this, "sequential":&lt;/P&gt;
  &lt;P&gt;BB5242AF6F291EE99FC0B89A99310BB6&lt;BR /&gt;BB5242AF6F291EE99FC0B901667F0BB6&lt;BR /&gt;BB5242AF6F291EE99FC0C7483C194BDF&lt;/P&gt;
  &lt;P&gt;Any idea how to do it?&lt;/P&gt;
  &lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 24 May 2019 09:28:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/generate-random-xstring/m-p/11903935#M1962523</guid>
      <dc:creator>oliver_am</dc:creator>
      <dc:date>2019-05-24T09:28:39Z</dc:date>
    </item>
    <item>
      <title>Re: Generate random XSTRING</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/generate-random-xstring/m-p/11903936#M1962524</link>
      <description>&lt;P&gt;Use one of the documented techniques for generating a random number in ABAP and then convert it to hex?&lt;/P&gt;</description>
      <pubDate>Fri, 24 May 2019 10:08:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/generate-random-xstring/m-p/11903936#M1962524</guid>
      <dc:creator>matt</dc:creator>
      <dc:date>2019-05-24T10:08:41Z</dc:date>
    </item>
    <item>
      <title>Re: Generate random XSTRING</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/generate-random-xstring/m-p/11903937#M1962525</link>
      <description>&lt;P&gt;A solution could be generate random 0 to F and concatenate 32 times...&lt;/P&gt;</description>
      <pubDate>Fri, 24 May 2019 10:12:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/generate-random-xstring/m-p/11903937#M1962525</guid>
      <dc:creator>oliver_am</dc:creator>
      <dc:date>2019-05-24T10:12:50Z</dc:date>
    </item>
    <item>
      <title>Re: Generate random XSTRING</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/generate-random-xstring/m-p/11903938#M1962526</link>
      <description>&lt;P&gt;but how to ensure it will have a lenght of 32 ?&lt;/P&gt;</description>
      <pubDate>Fri, 24 May 2019 10:17:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/generate-random-xstring/m-p/11903938#M1962526</guid>
      <dc:creator>oliver_am</dc:creator>
      <dc:date>2019-05-24T10:17:52Z</dc:date>
    </item>
    <item>
      <title>Re: Generate random XSTRING</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/generate-random-xstring/m-p/11903939#M1962527</link>
      <description>Two important things to note:&lt;BR /&gt;&lt;OL&gt;&lt;LI&gt;Length of x + xstring (byte-like data types) is usually measured by bytes. You are probably mentioning its separate characters representation length.&lt;/LI&gt;&lt;LI&gt;GUID_CREATE (called in your FM, BTW &lt;A href="https://help.sap.com/doc/abapdocu_750_index_htm/7.50/en-US/abenuuid_glosry.htm"&gt;replaced by UUID - cl_system_uuid&lt;/A&gt;) is generating "globally unique ID". You will never get two same numbers. But by generating random XSTRING you might get same number multiple times.&lt;/LI&gt;&lt;/OL&gt;</description>
      <pubDate>Fri, 24 May 2019 10:58:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/generate-random-xstring/m-p/11903939#M1962527</guid>
      <dc:creator>Tomas_Buryanek</dc:creator>
      <dc:date>2019-05-24T10:58:53Z</dc:date>
    </item>
    <item>
      <title>Re: Generate random XSTRING</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/generate-random-xstring/m-p/11903940#M1962528</link>
      <description>&lt;P&gt;Generate a random integer between 0 and 15, convert to hex, 32 times should do it.&lt;/P&gt;</description>
      <pubDate>Fri, 24 May 2019 11:15:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/generate-random-xstring/m-p/11903940#M1962528</guid>
      <dc:creator>matt</dc:creator>
      <dc:date>2019-05-24T11:15:22Z</dc:date>
    </item>
  </channel>
</rss>

