<?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>article Qlik Replicate: Replicating from SAP DB Source changing the precision on Currency Data Type to the Target in Official Support Articles</title>
    <link>https://community.qlik.com/t5/Official-Support-Articles/Qlik-Replicate-Replicating-from-SAP-DB-Source-changing-the/ta-p/1945918</link>
    <description>&lt;P&gt;Currency data from SAP appears to replicate incorrectly when source values are compared to the target system.&amp;nbsp;In this scenario, Japanese currency data values shown through the SAP business view for documents derived from the VBAP table were determined to be incorrect when compared to the target (Snowflake) for validation.&amp;nbsp;&amp;nbsp; These values were most typically seen through the SAP document view of the invoice or order where the currency values were already converted to the correct locale and format. &amp;nbsp;&lt;/P&gt;
&lt;H4&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Environment&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H4&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;LI-PRODUCT title="Qlik Replicate" id="qlikReplicate"&gt;&lt;/LI-PRODUCT&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H4&gt;&lt;STRONG&gt;&lt;FONT color="#339966"&gt;SAP Business View of currency value (source):&lt;/FONT&gt; &lt;/STRONG&gt;&amp;nbsp;&amp;nbsp;&lt;/H4&gt;
&lt;P&gt;The currency value is shown below is in local currency as 378.000.&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Bill_Steinagle_0-1655749914445.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/82207i42A49C20D2622D13/image-size/large?v=v2&amp;amp;px=999" role="button" title="Bill_Steinagle_0-1655749914445.png" alt="Bill_Steinagle_0-1655749914445.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H4&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Snowflake View of the same currency value (target):&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H4&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Bill_Steinagle_1-1655749914468.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/82206i53A5EC943C9250EB/image-size/large?v=v2&amp;amp;px=999" role="button" title="Bill_Steinagle_1-1655749914468.png" alt="Bill_Steinagle_1-1655749914468.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Resolution&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H3&gt;
&lt;H4&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt; Validation at the Data Level:&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H4&gt;
&lt;P&gt;In the SAP GUI, transaction SE16 (Data Browser) can be used to view rows and columns of table data at or near the “data level”.&amp;nbsp;&amp;nbsp; This approach works for transparent, clustered, and pooled SAP tables.&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;SAP SE16 Data Browser View:&lt;/STRONG&gt;&amp;nbsp;&lt;/FONT&gt;&amp;nbsp;As seen below, while there is still some numeric formatting applied to the value in NETWR, it can be compared correctly with the Snowflake target.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Bill_Steinagle_2-1655749914483.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/82208i4848D0188CEF1390/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Bill_Steinagle_2-1655749914483.png" alt="Bill_Steinagle_2-1655749914483.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;H4&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Additional Validation:&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H4&gt;
&lt;P&gt;Further investigation was able to confirm that the values in Snowflake were correct.&amp;nbsp;&amp;nbsp; This was determined by cross checking the values in the physical database.&amp;nbsp;&amp;nbsp; Note that this approach is only practical when the SAP table in question is transparent.&lt;/P&gt;
&lt;H4&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;DB2 database view:&lt;/STRONG&gt; &lt;/FONT&gt;&amp;nbsp;&amp;nbsp;&lt;/H4&gt;
&lt;P&gt;Note that this level of investigation was possible because VBAP is a transparent table:&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Bill_Steinagle_3-1655749914496.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/82209iD4C26EC202E63297/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Bill_Steinagle_3-1655749914496.png" alt="Bill_Steinagle_3-1655749914496.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Conclusion:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Replication from a source to a target is focused on the accuracy of data movement at the “data level”.&amp;nbsp; &amp;nbsp;Validation at the data level is the safest way to compare the source to the target, must be used when equivalent business logic is not available on the target.&amp;nbsp; &amp;nbsp;If business logic is required to correctly format and validate the data, the customer can choose to build some of the logic into the Replication task via Transformation Expressions.&amp;nbsp; Alternatively a separate project outside of Replication may be needed to create or “port” business logic from the source to the target.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 14 Sep 2023 07:30:41 GMT</pubDate>
    <dc:creator>Bill_Steinagle</dc:creator>
    <dc:date>2023-09-14T07:30:41Z</dc:date>
    <item>
      <title>Qlik Replicate: Replicating from SAP DB Source changing the precision on Currency Data Type to the Target</title>
      <link>https://community.qlik.com/t5/Official-Support-Articles/Qlik-Replicate-Replicating-from-SAP-DB-Source-changing-the/ta-p/1945918</link>
      <description>&lt;P&gt;Currency data from SAP appears to replicate incorrectly when source values are compared to the target system.&amp;nbsp;In this scenario, Japanese currency data values shown through the SAP business view for documents derived from the VBAP table were determined to be incorrect when compared to the target (Snowflake) for validation.&amp;nbsp;&amp;nbsp; These values were most typically seen through the SAP document view of the invoice or order where the currency values were already converted to the correct locale and format. &amp;nbsp;&lt;/P&gt;
&lt;H4&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Environment&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H4&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;LI-PRODUCT title="Qlik Replicate" id="qlikReplicate"&gt;&lt;/LI-PRODUCT&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H4&gt;&lt;STRONG&gt;&lt;FONT color="#339966"&gt;SAP Business View of currency value (source):&lt;/FONT&gt; &lt;/STRONG&gt;&amp;nbsp;&amp;nbsp;&lt;/H4&gt;
&lt;P&gt;The currency value is shown below is in local currency as 378.000.&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Bill_Steinagle_0-1655749914445.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/82207i42A49C20D2622D13/image-size/large?v=v2&amp;amp;px=999" role="button" title="Bill_Steinagle_0-1655749914445.png" alt="Bill_Steinagle_0-1655749914445.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H4&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Snowflake View of the same currency value (target):&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H4&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Bill_Steinagle_1-1655749914468.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/82206i53A5EC943C9250EB/image-size/large?v=v2&amp;amp;px=999" role="button" title="Bill_Steinagle_1-1655749914468.png" alt="Bill_Steinagle_1-1655749914468.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Resolution&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H3&gt;
&lt;H4&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt; Validation at the Data Level:&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H4&gt;
&lt;P&gt;In the SAP GUI, transaction SE16 (Data Browser) can be used to view rows and columns of table data at or near the “data level”.&amp;nbsp;&amp;nbsp; This approach works for transparent, clustered, and pooled SAP tables.&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;SAP SE16 Data Browser View:&lt;/STRONG&gt;&amp;nbsp;&lt;/FONT&gt;&amp;nbsp;As seen below, while there is still some numeric formatting applied to the value in NETWR, it can be compared correctly with the Snowflake target.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Bill_Steinagle_2-1655749914483.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/82208i4848D0188CEF1390/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Bill_Steinagle_2-1655749914483.png" alt="Bill_Steinagle_2-1655749914483.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;H4&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Additional Validation:&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H4&gt;
&lt;P&gt;Further investigation was able to confirm that the values in Snowflake were correct.&amp;nbsp;&amp;nbsp; This was determined by cross checking the values in the physical database.&amp;nbsp;&amp;nbsp; Note that this approach is only practical when the SAP table in question is transparent.&lt;/P&gt;
&lt;H4&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;DB2 database view:&lt;/STRONG&gt; &lt;/FONT&gt;&amp;nbsp;&amp;nbsp;&lt;/H4&gt;
&lt;P&gt;Note that this level of investigation was possible because VBAP is a transparent table:&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Bill_Steinagle_3-1655749914496.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/82209iD4C26EC202E63297/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Bill_Steinagle_3-1655749914496.png" alt="Bill_Steinagle_3-1655749914496.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Conclusion:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Replication from a source to a target is focused on the accuracy of data movement at the “data level”.&amp;nbsp; &amp;nbsp;Validation at the data level is the safest way to compare the source to the target, must be used when equivalent business logic is not available on the target.&amp;nbsp; &amp;nbsp;If business logic is required to correctly format and validate the data, the customer can choose to build some of the logic into the Replication task via Transformation Expressions.&amp;nbsp; Alternatively a separate project outside of Replication may be needed to create or “port” business logic from the source to the target.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Sep 2023 07:30:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Official-Support-Articles/Qlik-Replicate-Replicating-from-SAP-DB-Source-changing-the/ta-p/1945918</guid>
      <dc:creator>Bill_Steinagle</dc:creator>
      <dc:date>2023-09-14T07:30:41Z</dc:date>
    </item>
  </channel>
</rss>

