<?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>topic Re: What is wrong with the REDUCE expression? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/what-is-wrong-with-the-reduce-expression/m-p/730659#M34421</link>
    <description>&lt;P&gt;again, if the code can't compile, then you should tell us what the syntax error is ! (we don't have a crystal ball)&lt;/P&gt;</description>
    <pubDate>Thu, 27 Dec 2018 18:23:22 GMT</pubDate>
    <dc:creator>Sandra_Rossi</dc:creator>
    <dc:date>2018-12-27T18:23:22Z</dc:date>
    <item>
      <title>What is wrong with the REDUCE expression?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/what-is-wrong-with-the-reduce-expression/m-p/730656#M34418</link>
      <description>&lt;P&gt;Hi all &lt;BR /&gt;I have the following code snippet, that does not get compiled: &lt;BR /&gt;&lt;/P&gt;
  &lt;PRE&gt;&lt;CODE&gt;    rt_ibp_ccal = REDUCE #( 
                            INIt lt_ibp_ccal type tt_ibp_ccal
                            FOR ls_holiday_cal IN lt_holiday_cal
                            let lt_new_dates = me-&amp;gt;calculate_date( iv_calid = ls_holiday_cal-calid
                                                                     iv_from_year = ls_holiday_cal-yearfrom
                                                                     iv_until_year = ls_holiday_cal-yearuntil
                                                                     it_public_hol = FILTER #( lt_public_hol WHERE calid = ls_holiday_cal-calid )
                            IN
                            NEXT lt_ibp_ccal = me-&amp;gt;append_lines_of( it_new_ccal = lt_new_dates it_old_ccal = lt_ibp_ccal )
                            ) ).&lt;/CODE&gt;&lt;/PRE&gt;
  &lt;P&gt;What am I doing wrong?&lt;/P&gt;</description>
      <pubDate>Thu, 27 Dec 2018 16:25:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/what-is-wrong-with-the-reduce-expression/m-p/730656#M34418</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2018-12-27T16:25:48Z</dc:date>
    </item>
    <item>
      <title>Re: What is wrong with the REDUCE expression?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/what-is-wrong-with-the-reduce-expression/m-p/730657#M34419</link>
      <description>&lt;P&gt;what you're doing wrong : read the syntax error message, that would help you! (and us too)&lt;/P&gt;</description>
      <pubDate>Thu, 27 Dec 2018 16:51:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/what-is-wrong-with-the-reduce-expression/m-p/730657#M34419</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2018-12-27T16:51:02Z</dc:date>
    </item>
    <item>
      <title>Re: What is wrong with the REDUCE expression?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/what-is-wrong-with-the-reduce-expression/m-p/730658#M34420</link>
      <description>&lt;P&gt;But I do not know, how to solve.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Dec 2018 17:14:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/what-is-wrong-with-the-reduce-expression/m-p/730658#M34420</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2018-12-27T17:14:11Z</dc:date>
    </item>
    <item>
      <title>Re: What is wrong with the REDUCE expression?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/what-is-wrong-with-the-reduce-expression/m-p/730659#M34421</link>
      <description>&lt;P&gt;again, if the code can't compile, then you should tell us what the syntax error is ! (we don't have a crystal ball)&lt;/P&gt;</description>
      <pubDate>Thu, 27 Dec 2018 18:23:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/what-is-wrong-with-the-reduce-expression/m-p/730659#M34421</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2018-12-27T18:23:22Z</dc:date>
    </item>
    <item>
      <title>Re: What is wrong with the REDUCE expression?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/what-is-wrong-with-the-reduce-expression/m-p/730660#M34422</link>
      <description>&lt;P&gt;you miss 1 close parentheses after last parameter with FILTER statement also have 1 unuse close parentheses at the end of your code. thats your problem.&lt;/P&gt;</description>
      <pubDate>Fri, 28 Dec 2018 01:00:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/what-is-wrong-with-the-reduce-expression/m-p/730660#M34422</guid>
      <dc:creator>DoanManhQuynh</dc:creator>
      <dc:date>2018-12-28T01:00:49Z</dc:date>
    </item>
  </channel>
</rss>

