<?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 Want to keep leading zeroes from SAP fields in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Want-to-keep-leading-zeroes-from-SAP-fields/m-p/1753114#M591287</link>
    <description>&lt;P&gt;Hi all!&lt;/P&gt;&lt;P&gt;Dealing with SAP-fields, you find so called numeric text fields. One example is the material number (MATNR). The field can contain alpha numerical field values like "ABC123" or also numerical field values like "123456". The problem is, that numerical field values will always be shown with leading zeroes like "000000000000123456" but alpha numerical will not. Within the system when using transactions, by the way, the numerical numbers will be shown without leading zeroes.&lt;/P&gt;&lt;P&gt;What I want to do is to transform the original field, including leading zeros, into a value without leading zeroes. I have tried to use num() and num#() but that does not work.&lt;/P&gt;&lt;P&gt;Has someone an idea on this?&lt;/P&gt;&lt;P&gt;Many thanks in advance!&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 17:57:46 GMT</pubDate>
    <dc:creator>fneumann</dc:creator>
    <dc:date>2024-11-16T17:57:46Z</dc:date>
    <item>
      <title>Want to keep leading zeroes from SAP fields</title>
      <link>https://community.qlik.com/t5/QlikView/Want-to-keep-leading-zeroes-from-SAP-fields/m-p/1753114#M591287</link>
      <description>&lt;P&gt;Hi all!&lt;/P&gt;&lt;P&gt;Dealing with SAP-fields, you find so called numeric text fields. One example is the material number (MATNR). The field can contain alpha numerical field values like "ABC123" or also numerical field values like "123456". The problem is, that numerical field values will always be shown with leading zeroes like "000000000000123456" but alpha numerical will not. Within the system when using transactions, by the way, the numerical numbers will be shown without leading zeroes.&lt;/P&gt;&lt;P&gt;What I want to do is to transform the original field, including leading zeros, into a value without leading zeroes. I have tried to use num() and num#() but that does not work.&lt;/P&gt;&lt;P&gt;Has someone an idea on this?&lt;/P&gt;&lt;P&gt;Many thanks in advance!&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 17:57:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Want-to-keep-leading-zeroes-from-SAP-fields/m-p/1753114#M591287</guid>
      <dc:creator>fneumann</dc:creator>
      <dc:date>2024-11-16T17:57:46Z</dc:date>
    </item>
    <item>
      <title>Re: Want to keep leading zeroes from SAP fields</title>
      <link>https://community.qlik.com/t5/QlikView/Want-to-keep-leading-zeroes-from-SAP-fields/m-p/1753398#M591288</link>
      <description>&lt;P&gt;this thread shows how to strip alpha chars from alphanumeric fields using keepchar()&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/t5/New-to-Qlik-Sense/Selecting-alphabetical-letters-from-a-mix-of-letters-and-numbers/m-p/51509" target="_blank"&gt;https://community.qlik.com/t5/New-to-Qlik-Sense/Selecting-alphabetical-letters-from-a-mix-of-letters-and-numbers/m-p/51509&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 17 Oct 2020 02:55:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Want-to-keep-leading-zeroes-from-SAP-fields/m-p/1753398#M591288</guid>
      <dc:creator>edwin</dc:creator>
      <dc:date>2020-10-17T02:55:19Z</dc:date>
    </item>
    <item>
      <title>Re: Want to keep leading zeroes from SAP fields</title>
      <link>https://community.qlik.com/t5/QlikView/Want-to-keep-leading-zeroes-from-SAP-fields/m-p/1753434#M591289</link>
      <description>&lt;P&gt;Dear ,&lt;/P&gt;&lt;P&gt;Don't try to keep only numbers because in so many cases we need to make Pk and FK that time we get issues...&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;so per your organization structure use&lt;/P&gt;&lt;P&gt;right(MATNR,10) so here you're getting last 10 len&lt;/P&gt;&lt;P&gt;I'm working the same last 5 years...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 17 Oct 2020 11:47:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Want-to-keep-leading-zeroes-from-SAP-fields/m-p/1753434#M591289</guid>
      <dc:creator>Surya</dc:creator>
      <dc:date>2020-10-17T11:47:19Z</dc:date>
    </item>
    <item>
      <title>Re: Want to keep leading zeroes from SAP fields</title>
      <link>https://community.qlik.com/t5/QlikView/Want-to-keep-leading-zeroes-from-SAP-fields/m-p/1753531#M591290</link>
      <description>&lt;LI-CODE lang="javascript"&gt;MARA:
Load
MATNR as %MATNR, //Keep original as key field
Mid(MATNR,Index(MATNR,Left(PurgeChar(MATNR,'0'),1))) as MATNR, //Without leading zeros for listboxes
.
.
.
from MARA;&lt;/LI-CODE&gt;</description>
      <pubDate>Sun, 18 Oct 2020 21:11:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Want-to-keep-leading-zeroes-from-SAP-fields/m-p/1753531#M591290</guid>
      <dc:creator>cwolf</dc:creator>
      <dc:date>2020-10-18T21:11:33Z</dc:date>
    </item>
    <item>
      <title>Re: Want to keep leading zeroes from SAP fields</title>
      <link>https://community.qlik.com/t5/QlikView/Want-to-keep-leading-zeroes-from-SAP-fields/m-p/1753619#M591292</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;My solution for your reference.&amp;nbsp;&amp;nbsp;TEXT(NUM(...))&lt;BR /&gt;EX&amp;gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;TEXT(&lt;/STRONG&gt;NUM(123456, '00000000')&lt;STRONG&gt;)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;</description>
      <pubDate>Mon, 19 Oct 2020 08:24:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Want-to-keep-leading-zeroes-from-SAP-fields/m-p/1753619#M591292</guid>
      <dc:creator>sunsun566</dc:creator>
      <dc:date>2020-10-19T08:24:24Z</dc:date>
    </item>
    <item>
      <title>Re: Want to keep leading zeroes from SAP fields</title>
      <link>https://community.qlik.com/t5/QlikView/Want-to-keep-leading-zeroes-from-SAP-fields/m-p/1753725#M591293</link>
      <description>&lt;P&gt;That works perfect! Thanks so much!&lt;/P&gt;</description>
      <pubDate>Mon, 19 Oct 2020 12:25:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Want-to-keep-leading-zeroes-from-SAP-fields/m-p/1753725#M591293</guid>
      <dc:creator>fneumann</dc:creator>
      <dc:date>2020-10-19T12:25:19Z</dc:date>
    </item>
  </channel>
</rss>

