You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i get the following error with automated cleaning:
ABAP cleaner has encountered a problem
Cannot invoke "com.sap.adt.abapcleaner.parser.Token.isAnyKeyword(String[])" because "token" is null
It seems like the following CTE is the culprit:
with +cte as ( select guid_parent,
guid_stock,
matid,
batchid,
quan,
lgtyp,
case when quan = @iv_required_quantity
then 1
else 2 end as priority
from @gt_filtered_quants as quant
where quan >= @iv_required_quantity
and guid_parent not in @lt_excluding_hus
order by priority ascending )
select single
first_value( guid_parent )
over( partition by priority order by priority ascending )
from +cte
where guid_parent not in @lt_excluding_hus
into @data(lv_determined_hu).
Any idea what the error might be?
BR
Pascal
The text was updated successfully, but these errors were encountered:
thanks for reporting this bug! Looks like the window expression FIRST_VALUE( ... ) OVER ( ... ) was not properly handled here by ABAP cleaner. This will be fixed with the next release!
Kind regards,
Jörg-Michael
jmgrassau
added a commit
to jmgrassau/abap-cleaner
that referenced
this issue
Dec 23, 2024
Hi there,
i get the following error with automated cleaning:
It seems like the following CTE is the culprit:
Any idea what the error might be?
BR
Pascal
The text was updated successfully, but these errors were encountered: