<?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: Assign a default value to column in flowgraph in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/assign-a-default-value-to-column-in-flowgraph/qaa-p/650583#M166022</link>
    <description>&lt;P&gt;The error comes from an ELSE somewhere in the design of the flowgraph. I don't see any ELSE in your first screenshot so it must be another mapping.&lt;/P&gt;</description>
    <pubDate>Fri, 16 Feb 2018 15:15:30 GMT</pubDate>
    <dc:creator>jeff_k</dc:creator>
    <dc:date>2018-02-16T15:15:30Z</dc:date>
    <item>
      <title>Assign a default value to column in flowgraph</title>
      <link>https://community.sap.com/t5/technology-q-a/assign-a-default-value-to-column-in-flowgraph/qaq-p/650580</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
  &lt;P&gt;I need to assign a default value to a column in the flowgraph.I used map operation transform to assign the value in the mapping tab as 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/116247-4bwct.png" /&gt;&lt;/P&gt;
  &lt;P&gt;when I try to execute the flowgraph it throws an error as shown below.&lt;/P&gt;
  &lt;P&gt;&lt;IMG alt="" /&gt;&lt;/P&gt;
  &lt;P&gt;Could you please suggest to resolve the issue?&lt;/P&gt;
  &lt;P&gt;Thanks&lt;/P&gt;
  &lt;P&gt;Pallavi&lt;/P&gt;</description>
      <pubDate>Thu, 15 Feb 2018 09:20:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/assign-a-default-value-to-column-in-flowgraph/qaq-p/650580</guid>
      <dc:creator>PallaviU</dc:creator>
      <dc:date>2018-02-15T09:20:15Z</dc:date>
    </item>
    <item>
      <title>Re: Assign a default value to column in flowgraph</title>
      <link>https://community.sap.com/t5/technology-q-a/assign-a-default-value-to-column-in-flowgraph/qaa-p/650581#M166020</link>
      <description>&lt;P&gt;Hi Pallavi,&lt;/P&gt;
  &lt;P&gt;I think you probably want to use the HANA &lt;A href="https://help.sap.com/viewer/4fe29514fd584807ac9f2a04f6754767/2.0.02/en-US/20e23edb75191014b906e3271722de36.html" target="_blank"&gt;IFNULL() function&lt;/A&gt;. The function returns the first non-null value in its list, so put the mapped column first, and have a default value follow it in the list. Your mapping should look something like this:&lt;/P&gt;
  &lt;PRE&gt;&lt;CODE&gt;IFNULL("INPUT"."FILE_TYPE", "E")&lt;/CODE&gt;&lt;/PRE&gt;
  &lt;P&gt;You said there is some kind of error, but I don't see any error message in the post. Can you share the error text?&lt;/P&gt;
  &lt;P&gt;Thanks,&lt;BR /&gt;Jeff K&lt;/P&gt;</description>
      <pubDate>Thu, 15 Feb 2018 15:30:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/assign-a-default-value-to-column-in-flowgraph/qaa-p/650581#M166020</guid>
      <dc:creator>jeff_k</dc:creator>
      <dc:date>2018-02-15T15:30:37Z</dc:date>
    </item>
    <item>
      <title>Re: Assign a default value to column in flowgraph</title>
      <link>https://community.sap.com/t5/technology-q-a/assign-a-default-value-to-column-in-flowgraph/qaa-p/650582#M166021</link>
      <description>&lt;P&gt;Hi Jeff,&lt;/P&gt;
  &lt;P&gt;Thanks for your quick response. I have tried with the option mentioned but encountered with the same error. May be the error is in any other part of flowgraph I am not sure. Please find the error snapshot and suggest to proceed further.&lt;/P&gt;
  &lt;P&gt;&lt;A href="https://answers.sap.com/storage/temp/114410-error.jpg"&gt;error.jpg&lt;/A&gt;&lt;/P&gt;
  &lt;P&gt;&lt;IMG alt="" /&gt;&lt;/P&gt;
  &lt;P&gt;Thanks&lt;/P&gt;
  &lt;P&gt;Pallavi&lt;/P&gt;</description>
      <pubDate>Fri, 16 Feb 2018 11:37:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/assign-a-default-value-to-column-in-flowgraph/qaa-p/650582#M166021</guid>
      <dc:creator>PallaviU</dc:creator>
      <dc:date>2018-02-16T11:37:53Z</dc:date>
    </item>
    <item>
      <title>Re: Assign a default value to column in flowgraph</title>
      <link>https://community.sap.com/t5/technology-q-a/assign-a-default-value-to-column-in-flowgraph/qaa-p/650583#M166022</link>
      <description>&lt;P&gt;The error comes from an ELSE somewhere in the design of the flowgraph. I don't see any ELSE in your first screenshot so it must be another mapping.&lt;/P&gt;</description>
      <pubDate>Fri, 16 Feb 2018 15:15:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/assign-a-default-value-to-column-in-flowgraph/qaa-p/650583#M166022</guid>
      <dc:creator>jeff_k</dc:creator>
      <dc:date>2018-02-16T15:15:30Z</dc:date>
    </item>
    <item>
      <title>Re: Assign a default value to column in flowgraph</title>
      <link>https://community.sap.com/t5/technology-q-a/assign-a-default-value-to-column-in-flowgraph/qaa-p/650584#M166023</link>
      <description>&lt;P&gt;Hi Jeff,&lt;/P&gt;
  &lt;P&gt;I have removed the if condition and the error is resolved. However I have added the addtional column and assigned default value in the filter.&lt;/P&gt;
  &lt;P&gt;Thanks&lt;/P&gt;
  &lt;P&gt;Pallavi&lt;/P&gt;</description>
      <pubDate>Wed, 28 Mar 2018 10:02:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/assign-a-default-value-to-column-in-flowgraph/qaa-p/650584#M166023</guid>
      <dc:creator>PallaviU</dc:creator>
      <dc:date>2018-03-28T10:02:39Z</dc:date>
    </item>
  </channel>
</rss>

