<?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: Multiple Input Parameters in Calculation Views - Blank Parameters in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/multiple-input-parameters-in-calculation-views-blank-parameters/qaa-p/11567394#M4313530</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Brian,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you only have one input parameter which if not provided, then you should skip, then I would suggest to take it out of the view and perform an if statement and only when the value is provided, filter out the output of the view. There will be a small performance impact due to the introduction of an if statement will not allow you to do the parallel execution, however, this is one way to get it accomplished.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;alternatively, you may move the if statement into a separate stored proc call and hope you get better performance so that the if statement is isolated from your main stored procedure&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 15 Mar 2016 15:07:11 GMT</pubDate>
    <dc:creator>SergioG_TX</dc:creator>
    <dc:date>2016-03-15T15:07:11Z</dc:date>
    <item>
      <title>Multiple Input Parameters in Calculation Views - Blank Parameters</title>
      <link>https://community.sap.com/t5/technology-q-a/multiple-input-parameters-in-calculation-views-blank-parameters/qaq-p/11567391</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Having read the following blog: &lt;A _jive_internal="true" href="https://answers.sap.com/community/hana-in-memory/blog/2013/12/30/using-multiple-values-in-input-parameter-for-filtering-in-graphical-calculation-view"&gt;http://scn.sap.com/community/hana-in-memory/blog/2013/12/30/using-multiple-values-in-input-parameter-for-filtering-in-graphical-calculation-view&lt;/A&gt; it's not clear to me the suggested solution works in all cases.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm currently working on SPS13 and I'm able to reproduce the exact behavior "Mic xyz" suggests in the comments of the same blog, "Creating a multiple parameter with multiple entries is working fine EXCEPT when the parameter is left blank."&amp;nbsp; The error message when leaving the value blank is as follows:&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/907924" width="450" /&gt;&lt;/P&gt;&lt;P&gt;I've tried the in() and match() logic suggested in the blog but neither the multiple parameter or blank will execute. In both scenarios the match() logic throws a type mismatch error. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any advice on how this should work?&amp;nbsp; As "Mic xyz" suggested the expectation is by leaving the parameter blank should resolve to a "select all" as done in ECC.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Mar 2016 22:07:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/multiple-input-parameters-in-calculation-views-blank-parameters/qaq-p/11567391</guid>
      <dc:creator>b_dunk</dc:creator>
      <dc:date>2016-03-14T22:07:59Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Input Parameters in Calculation Views - Blank Parameters</title>
      <link>https://community.sap.com/t5/technology-q-a/multiple-input-parameters-in-calculation-views-blank-parameters/qaa-p/11567392#M4313528</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Brian,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SP13 isn't out yet.. I am not sure what you meant by SP13... the latest HANA release is SP11... anyways, here is a &lt;A _jive_internal="true" href="https://answers.sap.com/community/developer-center/hana/blog/2015/11/18/callling-stored-proc-with-multiple-values"&gt;blog &lt;/A&gt; where I used something similar... I had multiple input variables and each variable accepted multiple values... keep in mind that each value must be comma separated so that the in clause can work&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please look at the screenshot of the stored proc where I am calling a view and passing those values to the input parameters, hope this helps you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Mar 2016 01:21:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/multiple-input-parameters-in-calculation-views-blank-parameters/qaa-p/11567392#M4313528</guid>
      <dc:creator>SergioG_TX</dc:creator>
      <dc:date>2016-03-15T01:21:02Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Input Parameters in Calculation Views - Blank Parameters</title>
      <link>https://community.sap.com/t5/technology-q-a/multiple-input-parameters-in-calculation-views-blank-parameters/qaa-p/11567393#M4313529</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sergio,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Appreciate your response.&amp;nbsp; My mistake regarding SP level. I'm currently using SP10 not the non-existent "13" I mentioned in my post!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the Graphical Calculation View, I've had success passing Input Parameters with multiple values.&amp;nbsp; The issue I'm seeing is when a non-mandatory Input Parameter is left blank.&amp;nbsp; The assumption is leaving a non-mandatory input value will not impact a filter expression, in other words, a "select all" would be the outcome for that specific param.&amp;nbsp; This is not the case and thus the discussion topic.&amp;nbsp; Is this the correct behavior?&amp;nbsp; Here are more details:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/908663" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/908664" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/908665" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/908666" width="450" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Mar 2016 13:51:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/multiple-input-parameters-in-calculation-views-blank-parameters/qaa-p/11567393#M4313529</guid>
      <dc:creator>b_dunk</dc:creator>
      <dc:date>2016-03-15T13:51:59Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Input Parameters in Calculation Views - Blank Parameters</title>
      <link>https://community.sap.com/t5/technology-q-a/multiple-input-parameters-in-calculation-views-blank-parameters/qaa-p/11567394#M4313530</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Brian,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you only have one input parameter which if not provided, then you should skip, then I would suggest to take it out of the view and perform an if statement and only when the value is provided, filter out the output of the view. There will be a small performance impact due to the introduction of an if statement will not allow you to do the parallel execution, however, this is one way to get it accomplished.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;alternatively, you may move the if statement into a separate stored proc call and hope you get better performance so that the if statement is isolated from your main stored procedure&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Mar 2016 15:07:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/multiple-input-parameters-in-calculation-views-blank-parameters/qaa-p/11567394#M4313530</guid>
      <dc:creator>SergioG_TX</dc:creator>
      <dc:date>2016-03-15T15:07:11Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Input Parameters in Calculation Views - Blank Parameters</title>
      <link>https://community.sap.com/t5/technology-q-a/multiple-input-parameters-in-calculation-views-blank-parameters/qaa-p/11567395#M4313531</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the real business case, there are multiple input parameters some are mandatory some are not.&amp;nbsp; I understand there are multiple ways to work around but seems unnecessary.&amp;nbsp; The design of this functionality seems off.&amp;nbsp; Appreciate your comments!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Mar 2016 18:32:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/multiple-input-parameters-in-calculation-views-blank-parameters/qaa-p/11567395#M4313531</guid>
      <dc:creator>b_dunk</dc:creator>
      <dc:date>2016-03-15T18:32:38Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Input Parameters in Calculation Views - Blank Parameters</title>
      <link>https://community.sap.com/t5/technology-q-a/multiple-input-parameters-in-calculation-views-blank-parameters/qaa-p/11567396#M4313532</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I completely understand.... as a matter of fact I had that requirement of having a bunch of optional input parameters which made the processing of the proc slower... I ended up having to pass those input parameters to an XSJS service and then from there, I would read from a table and apply only the params that were indeed provided.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in my approach I followed this &lt;A _jive_internal="true" href="https://answers.sap.com/thread/3804706"&gt;blog&lt;/A&gt; - I know this is a separate technology but for my scenario it worked perfectly and the performance was much faster than to doing this from a stored procedure&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Mar 2016 19:03:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/multiple-input-parameters-in-calculation-views-blank-parameters/qaa-p/11567396#M4313532</guid>
      <dc:creator>SergioG_TX</dc:creator>
      <dc:date>2016-03-15T19:03:59Z</dc:date>
    </item>
  </channel>
</rss>

