<?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 Calling API in Qlik Replicate for column transformation in Qlik Replicate</title>
    <link>https://community.qlik.com/t5/Qlik-Replicate/Calling-API-in-Qlik-Replicate-for-column-transformation/m-p/2472629#M12133</link>
    <description>&lt;P&gt;Hi ,&lt;/P&gt;
&lt;DIV id="bodyDisplay" class="lia-message-body lia-component-message-view-widget-body lia-component-body-signature-highlight-escalation lia-component-message-view-widget-body-signature-highlight-escalation"&gt;
&lt;DIV class="lia-message-body-content"&gt;
&lt;P&gt;We have developed a Full + CDC task with SAP ODP endpoint as source and SQL SERVER as target.&lt;/P&gt;
&lt;P&gt;We have requirement where we need to &lt;SPAN&gt;&lt;SPAN class="ui-provider a b c d e f g h i j k l m n o p q r s t u v w x y z ab ac ae af ag ah ai aj ak"&gt;transform a value for a specific column from RAW16 format to RAW22 format while loading into target SQL server.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="ui-provider a b c d e f g h i j k l m n o p q r s t u v w x y z ab ac ae af ag ah ai aj ak"&gt;There is an external API developed in HANA which takes in a column value as input&amp;nbsp; and converts the value from RAW16 format to RAW22 format.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="ui-provider a b c d e f g h i j k l m n o p q r s t u v w x y z ab ac ae af ag ah ai aj ak"&gt;Is it possible for Qlik replicate to call an external API in transformation and extract the output value to load into SQL server target?.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Amit&amp;nbsp;&lt;/P&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
    <pubDate>Wed, 24 Jul 2024 10:13:03 GMT</pubDate>
    <dc:creator>amitw</dc:creator>
    <dc:date>2024-07-24T10:13:03Z</dc:date>
    <item>
      <title>Calling API in Qlik Replicate for column transformation</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Calling-API-in-Qlik-Replicate-for-column-transformation/m-p/2472629#M12133</link>
      <description>&lt;P&gt;Hi ,&lt;/P&gt;
&lt;DIV id="bodyDisplay" class="lia-message-body lia-component-message-view-widget-body lia-component-body-signature-highlight-escalation lia-component-message-view-widget-body-signature-highlight-escalation"&gt;
&lt;DIV class="lia-message-body-content"&gt;
&lt;P&gt;We have developed a Full + CDC task with SAP ODP endpoint as source and SQL SERVER as target.&lt;/P&gt;
&lt;P&gt;We have requirement where we need to &lt;SPAN&gt;&lt;SPAN class="ui-provider a b c d e f g h i j k l m n o p q r s t u v w x y z ab ac ae af ag ah ai aj ak"&gt;transform a value for a specific column from RAW16 format to RAW22 format while loading into target SQL server.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="ui-provider a b c d e f g h i j k l m n o p q r s t u v w x y z ab ac ae af ag ah ai aj ak"&gt;There is an external API developed in HANA which takes in a column value as input&amp;nbsp; and converts the value from RAW16 format to RAW22 format.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="ui-provider a b c d e f g h i j k l m n o p q r s t u v w x y z ab ac ae af ag ah ai aj ak"&gt;Is it possible for Qlik replicate to call an external API in transformation and extract the output value to load into SQL server target?.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Amit&amp;nbsp;&lt;/P&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Wed, 24 Jul 2024 10:13:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Calling-API-in-Qlik-Replicate-for-column-transformation/m-p/2472629#M12133</guid>
      <dc:creator>amitw</dc:creator>
      <dc:date>2024-07-24T10:13:03Z</dc:date>
    </item>
    <item>
      <title>Re: Calling API in Qlik Replicate for column transformation</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Calling-API-in-Qlik-Replicate-for-column-transformation/m-p/2472677#M12135</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/147437"&gt;@amitw&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Thanks for reaching out to Qlik Community!&lt;/P&gt;
&lt;P&gt;Qlik Replicate supports rich&amp;nbsp;&lt;SPAN&gt;built-in transformations,&lt;/SPAN&gt;&amp;nbsp;and we also support&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A title="User-defined transformations" href="https://help.qlik.com/en-US/replicate/November2023/Content/Global_Common/Content/SharedEMReplicate/Customize%20Tasks/user_defined_transformations.htm#:~:text=the%20Expression%20Builder-,User%2Ddefined%20transformations,%3CINSTALL_DIR%3E%5Caddons%5Csamples%5CMyTransformation,-Information%20note" target="_blank" rel="nofollow noopener noreferrer"&gt;User-defined transformations&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;to extend calling&amp;nbsp;tailor-made user modules, the UDTF should be written in C.&lt;/P&gt;
&lt;P&gt;After the UDTF is compiled and setup done, the transformation can be seen in "User Defined" functions list, it take effect for each row in the replication task.&lt;/P&gt;
&lt;P&gt;Hope this helps.&lt;/P&gt;
&lt;P&gt;John.&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jul 2024 12:55:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Calling-API-in-Qlik-Replicate-for-column-transformation/m-p/2472677#M12135</guid>
      <dc:creator>john_wang</dc:creator>
      <dc:date>2024-07-24T12:55:20Z</dc:date>
    </item>
    <item>
      <title>Re: Calling API in Qlik Replicate for column transformation</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Calling-API-in-Qlik-Replicate-for-column-transformation/m-p/2472807#M12142</link>
      <description>&lt;P&gt;Do you perhaps mean RAW16 to CHAR22?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What is the datatype that the RAW16 shows up as in Replicate and/or on the MS SQL target? BYTE(16)?&lt;/P&gt;
&lt;P&gt;It's just a large binary number akin to int16 - but that datatype does not exist.&lt;/P&gt;
&lt;P&gt;When you print one it is often represented as a HEX string of 32 bytes, which Replicate can transform using the HEX function.&lt;/P&gt;
&lt;P&gt;CHAR22 on the other&amp;nbsp; hand is a BASE64 encryption of the same resulting in just 22 printable characters needed. However, there is no function for that build into Replicate.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;See:&amp;nbsp;&lt;A href="https://www.brandeis.de/en/blog/guid-and-uuid-in-sap-hana" target="_blank"&gt;https://www.brandeis.de/en/blog/guid-and-uuid-in-sap-hana&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;As long as the raw16 does not show up as a blob, it should be possible to create a private function for this and integrate this with Replicate as "User defined" function. There are examples for UDF's provided with the Replicate distribution, and using those&amp;nbsp;I have made some of those in the&amp;nbsp; past for other purposes. Still, this is not a trivial exercise and likely requires the help of Qlik Processional services or other consultancy services.&lt;/P&gt;
&lt;P&gt;Good luck,&lt;/P&gt;
&lt;P&gt;Hein.&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jul 2024 02:59:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Calling-API-in-Qlik-Replicate-for-column-transformation/m-p/2472807#M12142</guid>
      <dc:creator>Heinvandenheuvel</dc:creator>
      <dc:date>2024-07-25T02:59:02Z</dc:date>
    </item>
  </channel>
</rss>

