<?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: Optional Input Parameter in BRF+ Decision table in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/optional-input-parameter-in-brf-decision-table/qaa-p/12333550#M4619785</link>
    <description>&lt;P&gt;I see. Thanks for your explanation.&lt;BR /&gt;now I understand the behavior of BRF+ Decision table. &lt;/P&gt;&lt;P&gt;So, if I have another row with NUM_ID = 2 and OPT1 = Q like below, it will not possible to get all 3 rows with NUM_ID = 2. am I correct?&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;NUM_ID | OPT1 | RES_1 | RES_2 |
-------------------------------
  =2   |  ... |   X   |  YZ   |
  =1   |  =S  |   G   |   O   |
  =2   |  =P  |   Y   |  ES   |
  =1   |  ... |   O   |   K   |
  =2   |  =Q  |   P   |  S4   |&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Thu, 11 Mar 2021 06:08:37 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2021-03-11T06:08:37Z</dc:date>
    <item>
      <title>Optional Input Parameter in BRF+ Decision table</title>
      <link>https://community.sap.com/t5/technology-q-a/optional-input-parameter-in-brf-decision-table/qaq-p/12333542</link>
      <description>&lt;P&gt;Hi Experts, &lt;/P&gt;
  &lt;P&gt;I have the requirement in BRF+ decision table. &lt;/P&gt;
  &lt;P&gt;let say I have a decision table with 2 condition columns and 2 result columns&lt;/P&gt;
  &lt;PRE&gt;&lt;CODE&gt;NUM_ID | OPT1 | RES_1 | RES_2 |
-------------------------------
  =2   |  ... |   X   |  YZ   |
  =1   |  =S  |   G   |   O   |
  =2   |  =P  |   Y   |  ES   |
  =1   |  ... |   O   |   K   |  &lt;/CODE&gt;&lt;/PRE&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1903536-dt.png" /&gt;&lt;/P&gt;
  &lt;P&gt;In some cases, I will input both condition columns (num_id and opt1), but in other cases, I don't need to input OPT1.&lt;BR /&gt;can I only pass num_id (e.g. num_id = 1) and i get 2 records where num_id = 1 without considering OPT1?&lt;/P&gt;
  &lt;P&gt;I Imagine if its SE16 i will put &lt;BR /&gt;NUM_ID = 1&lt;BR /&gt;OPT1 = *&lt;BR /&gt;&lt;BR /&gt;Here is my table setting&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1903538-dt-setting.png" /&gt;&lt;/P&gt;
  &lt;P&gt;please advise. &lt;/P&gt;</description>
      <pubDate>Mon, 08 Mar 2021 08:19:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/optional-input-parameter-in-brf-decision-table/qaq-p/12333542</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2021-03-08T08:19:18Z</dc:date>
    </item>
    <item>
      <title>Re: Optional Input Parameter in BRF+ Decision table</title>
      <link>https://community.sap.com/t5/technology-q-a/optional-input-parameter-in-brf-decision-table/qaa-p/12333543#M4619778</link>
      <description>&lt;P&gt;Hello  &lt;SPAN class="mention-scrubbed"&gt;fabednego&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;Yes, you can do it, but you need to remember to have the records with most strict condition at the top, and the record with less strict condition at the bottom.&lt;/P&gt;&lt;P&gt;The BRF+ searches for the record which fits the criteria and returns the first found.&lt;/P&gt;Kind regards,&lt;BR /&gt;Mateusz</description>
      <pubDate>Mon, 08 Mar 2021 08:47:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/optional-input-parameter-in-brf-decision-table/qaa-p/12333543#M4619778</guid>
      <dc:creator>MateuszAdamus</dc:creator>
      <dc:date>2021-03-08T08:47:45Z</dc:date>
    </item>
    <item>
      <title>Re: Optional Input Parameter in BRF+ Decision table</title>
      <link>https://community.sap.com/t5/technology-q-a/optional-input-parameter-in-brf-decision-table/qaa-p/12333544#M4619779</link>
      <description>&lt;P&gt;HI Mateusz, &lt;/P&gt;&lt;P&gt;my objective here is to get 2 records if I pass 1 or 2 in NUM_ID for my input. &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;Input:
NUM_ID: 2&lt;BR /&gt;OPT1: *
&lt;/CODE&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;CODE&gt;Expected Output:
NUM_ID | OPT1 | RES_1 | RES_2 |
-------------------------------
  =2   |  ... |   X   |  YZ   |
  =2   |  =P  |   Y   |  ES   |&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;when I try to simulate my decision table using that particular input, I didn't get what I want&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;Input Parameter&lt;BR /&gt;---------------&lt;BR /&gt;NUM_ID: 2
OPT1: *&lt;BR /&gt;&lt;BR /&gt;Actual Output&lt;BR /&gt;-------------
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1903552-res1.png" /&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;Result Evaluation:&lt;BR /&gt;its only show 1 row of table which is the first row. Its because in the decision table, the 1st row column OPT1 is '...' like accept whatever / a wildcard column.&lt;BR /&gt;i put the * in OPT1 is to skip the column checking and just take whatever it is. &lt;BR /&gt;so im expecting &amp;lt;blank&amp;gt; and =S will include in the result.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;I also try to leave the OPT1 as blank, but it doesn't work as well. Could you please tell me where i was wrong?&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;Input Parameter&lt;BR /&gt;---------------&lt;BR /&gt;NUM_ID: 2
OPT1: *&lt;BR /&gt;&lt;BR /&gt;Actual Output&lt;BR /&gt;-------------
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1903553-res2.png" /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Mar 2021 11:01:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/optional-input-parameter-in-brf-decision-table/qaa-p/12333544#M4619779</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2021-03-08T11:01:37Z</dc:date>
    </item>
    <item>
      <title>Re: Optional Input Parameter in BRF+ Decision table</title>
      <link>https://community.sap.com/t5/technology-q-a/optional-input-parameter-in-brf-decision-table/qaa-p/12333545#M4619780</link>
      <description>&lt;P&gt;In the settings of your decision table you need to have the option "Return all matches found" marked.&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1903556-return-all-matches.png" /&gt;&lt;/P&gt;&lt;BR /&gt;Kind regards,&lt;BR /&gt;Mateusz</description>
      <pubDate>Mon, 08 Mar 2021 11:30:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/optional-input-parameter-in-brf-decision-table/qaa-p/12333545#M4619780</guid>
      <dc:creator>MateuszAdamus</dc:creator>
      <dc:date>2021-03-08T11:30:37Z</dc:date>
    </item>
    <item>
      <title>Re: Optional Input Parameter in BRF+ Decision table</title>
      <link>https://community.sap.com/t5/technology-q-a/optional-input-parameter-in-brf-decision-table/qaa-p/12333546#M4619781</link>
      <description>&lt;P&gt;Yes I do check that option&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1903590-chk.png" /&gt;&lt;/P&gt;&lt;P&gt;When I evaluating the step in the decision table simulation, I found that the * input is not considered as a wildcard to check the value on OPT1 column. otherwise, it considers as a non-match parameter for the value on OPT1 column. &lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1903591-step.png" /&gt;&lt;/P&gt;&lt;P&gt;ould you please advise further?&lt;/P&gt;</description>
      <pubDate>Tue, 09 Mar 2021 02:08:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/optional-input-parameter-in-brf-decision-table/qaa-p/12333546#M4619781</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2021-03-09T02:08:33Z</dc:date>
    </item>
    <item>
      <title>Re: Optional Input Parameter in BRF+ Decision table</title>
      <link>https://community.sap.com/t5/technology-q-a/optional-input-parameter-in-brf-decision-table/qaa-p/12333547#M4619782</link>
      <description>&lt;P&gt;No, the star is understood as a concrete value, not a special character.&lt;/P&gt;&lt;P&gt;You need to delete the condition for that particular column, which will give you something like shown below.&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1903596-for-any-value.png" /&gt;&lt;/P&gt;&lt;P&gt;Just like you did for row "2 ...", you now need to have a row with "... VALUE".&lt;/P&gt;Kind regards,&lt;BR /&gt;Mateusz</description>
      <pubDate>Tue, 09 Mar 2021 08:56:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/optional-input-parameter-in-brf-decision-table/qaa-p/12333547#M4619782</guid>
      <dc:creator>MateuszAdamus</dc:creator>
      <dc:date>2021-03-09T08:56:22Z</dc:date>
    </item>
    <item>
      <title>Re: Optional Input Parameter in BRF+ Decision table</title>
      <link>https://community.sap.com/t5/technology-q-a/optional-input-parameter-in-brf-decision-table/qaa-p/12333548#M4619783</link>
      <description>&lt;P&gt;Hi Mateusz, &lt;/P&gt;&lt;P&gt;kindly advise how I put this setting below&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1903623-fav.png" /&gt;&lt;/P&gt;&lt;P&gt;do I need to remove the value "P" and set it into "..." in another row to get those 2 records with NUM_ID = 2?&lt;BR /&gt;refer to the blue box below&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1903624-dt.png" /&gt;&lt;/P&gt;&lt;P&gt;because my requirement is to keep the table like that, but for some cases, I don't need to get the data based on all condition columns (NUM_ID and OPT1). only based on NUM_ID col. &lt;/P&gt;&lt;P&gt;is there any way that I can do to achieve that? besides changing the value of OPT1 in row 3?&lt;BR /&gt;I've tried to remove the value in the input parameter, but it still not working as expected&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" /&gt;&lt;/P&gt;&lt;P&gt;in terms of simulation &amp;amp; processing steps is similar to the " * " input. it considers as non-match criteria. " " compare to "P"&lt;/P&gt;&lt;P&gt;are we have an option to put "wildcard" on OPT1 in the simulation input?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 10 Mar 2021 01:41:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/optional-input-parameter-in-brf-decision-table/qaa-p/12333548#M4619783</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2021-03-10T01:41:03Z</dc:date>
    </item>
    <item>
      <title>Re: Optional Input Parameter in BRF+ Decision table</title>
      <link>https://community.sap.com/t5/technology-q-a/optional-input-parameter-in-brf-decision-table/qaa-p/12333549#M4619784</link>
      <description>&lt;P&gt;With your current setup, if you want to return both records from the condition table, then pass 2 and P as input parameters.&lt;/P&gt;&lt;P&gt;2 meets criteria in both records in column NUM_ID.&lt;/P&gt;&lt;P&gt;P meets criteria in both records in column OPT1.&lt;/P&gt;&lt;BR /&gt;Kind regards,&lt;BR /&gt;Mateusz</description>
      <pubDate>Wed, 10 Mar 2021 08:11:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/optional-input-parameter-in-brf-decision-table/qaa-p/12333549#M4619784</guid>
      <dc:creator>MateuszAdamus</dc:creator>
      <dc:date>2021-03-10T08:11:50Z</dc:date>
    </item>
    <item>
      <title>Re: Optional Input Parameter in BRF+ Decision table</title>
      <link>https://community.sap.com/t5/technology-q-a/optional-input-parameter-in-brf-decision-table/qaa-p/12333550#M4619785</link>
      <description>&lt;P&gt;I see. Thanks for your explanation.&lt;BR /&gt;now I understand the behavior of BRF+ Decision table. &lt;/P&gt;&lt;P&gt;So, if I have another row with NUM_ID = 2 and OPT1 = Q like below, it will not possible to get all 3 rows with NUM_ID = 2. am I correct?&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;NUM_ID | OPT1 | RES_1 | RES_2 |
-------------------------------
  =2   |  ... |   X   |  YZ   |
  =1   |  =S  |   G   |   O   |
  =2   |  =P  |   Y   |  ES   |
  =1   |  ... |   O   |   K   |
  =2   |  =Q  |   P   |  S4   |&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 11 Mar 2021 06:08:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/optional-input-parameter-in-brf-decision-table/qaa-p/12333550#M4619785</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2021-03-11T06:08:37Z</dc:date>
    </item>
    <item>
      <title>Re: Optional Input Parameter in BRF+ Decision table</title>
      <link>https://community.sap.com/t5/technology-q-a/optional-input-parameter-in-brf-decision-table/qaa-p/12333551#M4619786</link>
      <description>&lt;P&gt;Yes, correct.&lt;/P&gt;&lt;BR /&gt;Kind regards,&lt;BR /&gt;Mateusz</description>
      <pubDate>Thu, 11 Mar 2021 08:23:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/optional-input-parameter-in-brf-decision-table/qaa-p/12333551#M4619786</guid>
      <dc:creator>MateuszAdamus</dc:creator>
      <dc:date>2021-03-11T08:23:35Z</dc:date>
    </item>
  </channel>
</rss>

