‎2018 Dec 27 4:25 PM
Hi all
I have the following code snippet, that does not get compiled:
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->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->append_lines_of( it_new_ccal = lt_new_dates it_old_ccal = lt_ibp_ccal )
) ).
What am I doing wrong?
‎2018 Dec 27 4:51 PM
what you're doing wrong : read the syntax error message, that would help you! (and us too)
‎2018 Dec 27 5:14 PM
‎2018 Dec 27 6:23 PM
again, if the code can't compile, then you should tell us what the syntax error is ! (we don't have a crystal ball)
‎2018 Dec 28 1:00 AM
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.