<?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: Generating unique key in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/generating-unique-key/m-p/1661128#M293003</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you please brief as why do you need the unique key and how long would you keep the data for because the solution would more or less depend on that.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 26 Oct 2006 10:26:09 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-10-26T10:26:09Z</dc:date>
    <item>
      <title>Generating unique key</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/generating-unique-key/m-p/1661125#M293000</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can we create a unique key of 8 characters long using BUKRS(4), BELNR(10) and GJAHR(4)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;Poorna&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Oct 2006 10:18:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/generating-unique-key/m-p/1661125#M293000</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-26T10:18:12Z</dc:date>
    </item>
    <item>
      <title>Re: Generating unique key</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/generating-unique-key/m-p/1661126#M293001</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you can.. but your requirement is vague..explain clearly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Sandeep Josyula&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Oct 2006 10:20:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/generating-unique-key/m-p/1661126#M293001</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-26T10:20:09Z</dc:date>
    </item>
    <item>
      <title>Re: Generating unique key</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/generating-unique-key/m-p/1661127#M293002</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;create a table with the 3 fields in key and add a number range.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BUKRS (X)&lt;/P&gt;&lt;P&gt;BELNR (X)&lt;/P&gt;&lt;P&gt;GJAHR (X)&lt;/P&gt;&lt;P&gt;Value &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;to add the value of Value go to transaction SNRO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fred&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Oct 2006 10:20:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/generating-unique-key/m-p/1661127#M293002</guid>
      <dc:creator>FredericGirod</dc:creator>
      <dc:date>2006-10-26T10:20:17Z</dc:date>
    </item>
    <item>
      <title>Re: Generating unique key</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/generating-unique-key/m-p/1661128#M293003</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you please brief as why do you need the unique key and how long would you keep the data for because the solution would more or less depend on that.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Oct 2006 10:26:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/generating-unique-key/m-p/1661128#M293003</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-26T10:26:09Z</dc:date>
    </item>
    <item>
      <title>Re: Generating unique key</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/generating-unique-key/m-p/1661129#M293004</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Fred,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Thanks for replying.&lt;/P&gt;&lt;P&gt;  Firstly let me explain my questions properly for all.&lt;/P&gt;&lt;P&gt;  I want to create a unique key of 8 charecters long using BUKRS, BELNR and GJAHR in BKPF table.  &lt;/P&gt;&lt;P&gt; I'll be using this unique while downloading BKPF data to two different files. I'll be using this 8 characters long unique key as reference in these two files which is sent to legacy system for further processing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope i'm clear with my question.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fred can you please explain more about SNRO transaction and how i can create number range using these three fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;Poorna&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Oct 2006 10:32:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/generating-unique-key/m-p/1661129#M293004</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-26T10:32:16Z</dc:date>
    </item>
    <item>
      <title>Re: Generating unique key</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/generating-unique-key/m-p/1661130#M293005</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The SNRO transaction will generate a unique value. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You will need to make a link between this value and the 3 fields. To create this link I propose to create a table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You will need a user-exit / Badi to set the value into the tabel BKPF. In this user-exit, add the code to ask a new value of the range number using function : NUMBER_GET_NEXT.&lt;/P&gt;&lt;P&gt;Create the entry in the Zxxxx table. And replace the value into the BKPF table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SNRO: &lt;/P&gt;&lt;P&gt;set an object name ZKEY_BKPF for ex. &lt;/P&gt;&lt;P&gt;Press create button (blank page)&lt;/P&gt;&lt;P&gt;Add description&lt;/P&gt;&lt;P&gt;set the data element of the field of BKPF &lt;/P&gt;&lt;P&gt;set the size&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After this with function NUMBER_GET_NEXT, SAP will propose you the next free number.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fred&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Oct 2006 10:37:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/generating-unique-key/m-p/1661130#M293005</guid>
      <dc:creator>FredericGirod</dc:creator>
      <dc:date>2006-10-26T10:37:29Z</dc:date>
    </item>
  </channel>
</rss>

