<?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>Question Re: Variable Resource path based on incoming data while using SAP Open Connectors in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/variable-resource-path-based-on-incoming-data-while-using-sap-open/qaa-p/12398073#M4640076</link>
    <description>&lt;P&gt;Hello Vignesh,&lt;/P&gt;&lt;P&gt;Please refer below link for more details&lt;/P&gt;&lt;P&gt;&lt;A href="https://help.sap.com/viewer/368c481cd6954bdfa5d0435479fd4eaf/Cloud/en-US/1a27cee87cd14ef69ca56fb50b1e3983.html" target="_blank"&gt;https://help.sap.com/viewer/368c481cd6954bdfa5d0435479fd4eaf/Cloud/en-US/1a27cee87cd14ef69ca56fb50b1e3983.html&lt;/A&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;Define the value of a variable you want to modify. For example, you have defined a variable /name/{varname1}{varname2} in the resource field. Now use the Query Parameters for Resource field to define the value for {varname1}{varname2} variables. Use commas to separate more than variable such as varname1=hello world, varname2= hello SAP.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;As usage of property and headers not supported you can raise a reuqest to SAP get this feature.As an alternative you can use HTTP adapter to connect to your Open Connectors instance which supports dynamic variables.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Regards,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Sriprasad Shivaram Bhat&lt;/P&gt;</description>
    <pubDate>Tue, 11 May 2021 03:25:32 GMT</pubDate>
    <dc:creator>Sriprasadsbhat</dc:creator>
    <dc:date>2021-05-11T03:25:32Z</dc:date>
    <item>
      <title>Variable Resource path based on incoming data while using SAP Open Connectors</title>
      <link>https://community.sap.com/t5/technology-q-a/variable-resource-path-based-on-incoming-data-while-using-sap-open/qaq-p/12398072</link>
      <description>&lt;P&gt;Hello Experts,&lt;/P&gt;
  &lt;P&gt;I have established connection to Dayforce CRM systems via SAP Open Connectors. In Integration Flow, I have to pass the Resource value {id} in the below path based on the value received in the XML field from source. I am finding it difficult to pass this value to the Resource Path. Can you please suggest a way to pass the value to the variable {id} in the URL path.&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1938514-openconnector-resource.png" /&gt;&lt;/P&gt;
  &lt;P&gt;Sample Source XML:&lt;/P&gt;
  &lt;P&gt;&amp;lt;?xml version='1.0' encoding='UTF-8'?&amp;gt; &lt;/P&gt;
  &lt;P&gt;&amp;lt;EmpDetails&amp;gt; &lt;BR /&gt;&amp;lt;Department&amp;gt;LM10&amp;lt;/Department&amp;gt; &lt;/P&gt;
  &lt;P&gt;&amp;lt;/EmpDetails&amp;gt;&lt;/P&gt;
  &lt;P&gt;I need to pass LM10 value to {id} in the Resource path. I have tried to pass the value by setting XPATH type condition and passing them to header (${header.department}) and exchange property(${property.department}), but unfortunately the value is not being passed to the URL.&lt;/P&gt;
  &lt;P&gt;It works if I pass a constant value under Query parameters for Resource like id=LM10, but I need to pass variable value based on the payload data.&lt;/P&gt;
  &lt;P&gt;Can you please help me on this issue with a solution/blog which I can refer to?&lt;/P&gt;</description>
      <pubDate>Mon, 10 May 2021 19:56:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/variable-resource-path-based-on-incoming-data-while-using-sap-open/qaq-p/12398072</guid>
      <dc:creator>former_member501247</dc:creator>
      <dc:date>2021-05-10T19:56:45Z</dc:date>
    </item>
    <item>
      <title>Re: Variable Resource path based on incoming data while using SAP Open Connectors</title>
      <link>https://community.sap.com/t5/technology-q-a/variable-resource-path-based-on-incoming-data-while-using-sap-open/qaa-p/12398073#M4640076</link>
      <description>&lt;P&gt;Hello Vignesh,&lt;/P&gt;&lt;P&gt;Please refer below link for more details&lt;/P&gt;&lt;P&gt;&lt;A href="https://help.sap.com/viewer/368c481cd6954bdfa5d0435479fd4eaf/Cloud/en-US/1a27cee87cd14ef69ca56fb50b1e3983.html" target="_blank"&gt;https://help.sap.com/viewer/368c481cd6954bdfa5d0435479fd4eaf/Cloud/en-US/1a27cee87cd14ef69ca56fb50b1e3983.html&lt;/A&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;Define the value of a variable you want to modify. For example, you have defined a variable /name/{varname1}{varname2} in the resource field. Now use the Query Parameters for Resource field to define the value for {varname1}{varname2} variables. Use commas to separate more than variable such as varname1=hello world, varname2= hello SAP.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;As usage of property and headers not supported you can raise a reuqest to SAP get this feature.As an alternative you can use HTTP adapter to connect to your Open Connectors instance which supports dynamic variables.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Regards,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Sriprasad Shivaram Bhat&lt;/P&gt;</description>
      <pubDate>Tue, 11 May 2021 03:25:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/variable-resource-path-based-on-incoming-data-while-using-sap-open/qaa-p/12398073#M4640076</guid>
      <dc:creator>Sriprasadsbhat</dc:creator>
      <dc:date>2021-05-11T03:25:32Z</dc:date>
    </item>
    <item>
      <title>Re: Variable Resource path based on incoming data while using SAP Open Connectors</title>
      <link>https://community.sap.com/t5/technology-q-a/variable-resource-path-based-on-incoming-data-while-using-sap-open/qaa-p/12398074#M4640077</link>
      <description>&lt;P&gt;Hello Sriprasad, &lt;/P&gt;&lt;P&gt;Thanks for the valuable suggestion. Can we enable this feature of passing Dynamic header/property variables to Open connector Resource path by raising an request to SAP ? If its possible to enable this feature for our account, then I would proceed with this request to SAP.&lt;/P&gt;</description>
      <pubDate>Tue, 11 May 2021 05:34:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/variable-resource-path-based-on-incoming-data-while-using-sap-open/qaa-p/12398074#M4640077</guid>
      <dc:creator>former_member501247</dc:creator>
      <dc:date>2021-05-11T05:34:49Z</dc:date>
    </item>
    <item>
      <title>Re: Variable Resource path based on incoming data while using SAP Open Connectors</title>
      <link>https://community.sap.com/t5/technology-q-a/variable-resource-path-based-on-incoming-data-while-using-sap-open/qaa-p/12398075#M4640078</link>
      <description>&lt;P&gt;Hello Vignesh,&lt;/P&gt;&lt;P&gt;I dont thinkit will be available immediatelyif you raise a ticket as it should go through developement lifecycle for feature enablement.&lt;/P&gt;&lt;P&gt;I would suggest ( personal suggestion ) go with HTTP adapter as interim solution.&lt;/P&gt;&lt;P&gt;Please raise improve request using below link ( customer influence program ).&lt;/P&gt;&lt;P&gt;&lt;A href="https://blogs.sap.com/2020/05/29/central-sap-cloud-platform-feedback-requirements-channel-for-customers-and-partner-now-available/" target="_blank"&gt;https://blogs.sap.com/2020/05/29/central-sap-cloud-platform-feedback-requirements-channel-for-customers-and-partner-now-available/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Regards,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Sriprasad Shivaram Bhat&lt;/P&gt;</description>
      <pubDate>Tue, 11 May 2021 05:44:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/variable-resource-path-based-on-incoming-data-while-using-sap-open/qaa-p/12398075#M4640078</guid>
      <dc:creator>Sriprasadsbhat</dc:creator>
      <dc:date>2021-05-11T05:44:41Z</dc:date>
    </item>
  </channel>
</rss>

