<?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: InvalidVariableNameException: Invalid variable name: - in pattern Error in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/invalidvariablenameexception-invalid-variable-name-in-pattern-error/qaa-p/11887542#M4463136</link>
    <description>&lt;P&gt;Hello Evgeniy,&lt;/P&gt;&lt;P&gt;Thank you for your reply.&lt;/P&gt;&lt;P&gt;Yes i tried that too. Unfortunately it is the same error.&lt;/P&gt;&lt;P&gt;One more thing for one parameter is working fine with UDF but if i want multiple parameters. Can you please help me with UDF.&lt;/P&gt;&lt;P&gt;This is my UDF.&lt;/P&gt;&lt;P&gt;DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
DynamicConfigurationKey FileName1 = DynamicConfigurationKey.create("http:/"+"/sap.com/xi/XI/System/REST","auth_id");
conf.put(FileName1,auth_id); &lt;/P&gt;&lt;P&gt;return auth_id;&lt;/P&gt;&lt;P&gt;Now I need to return auth_id and auth_token.&lt;/P&gt;&lt;P&gt;Kindly help me.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Prashanth Bharadwaj&lt;/P&gt;</description>
    <pubDate>Fri, 22 Mar 2019 09:33:21 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2019-03-22T09:33:21Z</dc:date>
    <item>
      <title>InvalidVariableNameException: Invalid variable name: - in pattern Error</title>
      <link>https://community.sap.com/t5/technology-q-a/invalidvariablenameexception-invalid-variable-name-in-pattern-error/qaq-p/11887540</link>
      <description>&lt;P&gt;Hello Experts,&lt;/P&gt;
  &lt;P&gt;I am facing the below error during testing from RWB while trying to pass URL dynamically from the Pattern Variable Replacement using Manual value in the REST receiver adapter.&lt;/P&gt;
  &lt;P&gt;Please find the below screenshot for your reference.&lt;/P&gt;
  &lt;P&gt;Thanks in advance for the help.&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1645567-invalid-variable-name.png" /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Mar 2019 08:46:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/invalidvariablenameexception-invalid-variable-name-in-pattern-error/qaq-p/11887540</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2019-03-22T08:46:23Z</dc:date>
    </item>
    <item>
      <title>Re: InvalidVariableNameException: Invalid variable name: - in pattern Error</title>
      <link>https://community.sap.com/t5/technology-q-a/invalidvariablenameexception-invalid-variable-name-in-pattern-error/qaa-p/11887541#M4463135</link>
      <description>&lt;P&gt;Hi Prashanth!&lt;/P&gt;&lt;P&gt;Did you try to use "auth&lt;STRONG&gt;_&lt;/STRONG&gt;id_par", for example, as parameter name?&lt;/P&gt;&lt;P&gt;Regards, Evgeniy.&lt;/P&gt;</description>
      <pubDate>Fri, 22 Mar 2019 09:26:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/invalidvariablenameexception-invalid-variable-name-in-pattern-error/qaa-p/11887541#M4463135</guid>
      <dc:creator>former_member190293</dc:creator>
      <dc:date>2019-03-22T09:26:48Z</dc:date>
    </item>
    <item>
      <title>Re: InvalidVariableNameException: Invalid variable name: - in pattern Error</title>
      <link>https://community.sap.com/t5/technology-q-a/invalidvariablenameexception-invalid-variable-name-in-pattern-error/qaa-p/11887542#M4463136</link>
      <description>&lt;P&gt;Hello Evgeniy,&lt;/P&gt;&lt;P&gt;Thank you for your reply.&lt;/P&gt;&lt;P&gt;Yes i tried that too. Unfortunately it is the same error.&lt;/P&gt;&lt;P&gt;One more thing for one parameter is working fine with UDF but if i want multiple parameters. Can you please help me with UDF.&lt;/P&gt;&lt;P&gt;This is my UDF.&lt;/P&gt;&lt;P&gt;DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
DynamicConfigurationKey FileName1 = DynamicConfigurationKey.create("http:/"+"/sap.com/xi/XI/System/REST","auth_id");
conf.put(FileName1,auth_id); &lt;/P&gt;&lt;P&gt;return auth_id;&lt;/P&gt;&lt;P&gt;Now I need to return auth_id and auth_token.&lt;/P&gt;&lt;P&gt;Kindly help me.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Prashanth Bharadwaj&lt;/P&gt;</description>
      <pubDate>Fri, 22 Mar 2019 09:33:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/invalidvariablenameexception-invalid-variable-name-in-pattern-error/qaa-p/11887542#M4463136</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2019-03-22T09:33:21Z</dc:date>
    </item>
    <item>
      <title>Re: InvalidVariableNameException: Invalid variable name: - in pattern Error</title>
      <link>https://community.sap.com/t5/technology-q-a/invalidvariablenameexception-invalid-variable-name-in-pattern-error/qaa-p/11887543#M4463137</link>
      <description>&lt;P&gt;Hi Prashanth!&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);&lt;BR /&gt;DynamicConfigurationKey FileName1 = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/REST","auth_id");&lt;BR /&gt;conf.put(FileName1,auth_id);&lt;BR /&gt;FileName1 = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/REST","auth_token");&lt;BR /&gt;conf.put(FileName1,auth_token);&lt;BR /&gt;return "";&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Regards, Evgeniy.&lt;/P&gt;</description>
      <pubDate>Fri, 22 Mar 2019 09:45:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/invalidvariablenameexception-invalid-variable-name-in-pattern-error/qaa-p/11887543#M4463137</guid>
      <dc:creator>former_member190293</dc:creator>
      <dc:date>2019-03-22T09:45:04Z</dc:date>
    </item>
  </channel>
</rss>

