Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TODO does not respect table expressions #169

Closed
GKaschke opened this issue Oct 23, 2023 · 2 comments
Closed

TODO does not respect table expressions #169

GKaschke opened this issue Oct 23, 2023 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@GKaschke
Copy link

Hello,
I think in following lines the "prev_tabix" is required in "clear tplantboms[ prev_tabix ]-is_ltst." and can't removed.
Regards,
Günter

" TODO: variable is assigned but never used (ABAP cleaner)
data prev_tabix    type syst_tabix.
data prev_plantbom like line of tplantboms.

clear prev_tabix.
loop at tplantboms reference into data(rl).
  data(tabix) = sy-tabix.
  if     rl->werks = prev_plantbom-werks
     and rl->stlnr = prev_plantbom-stlnr
     and rl->stlal = prev_plantbom-stlal.
    clear tplantboms[ prev_tabix ]-is_ltst.
  endif.
  prev_plantbom = rl->*.
  prev_tabix    = tabix.
endloop.
@jmgrassau jmgrassau added the bug Something isn't working label Oct 24, 2023
@jmgrassau jmgrassau self-assigned this Oct 24, 2023
@jmgrassau
Copy link
Member

Hi Günter,

ah, well spotted, thanks! This bug will be fixed in the next release.

Kind regards,
Jörg-Michael

@jmgrassau
Copy link
Member

Hi Günter,

thanks again for reporting this bug! The issues should now be fixed in version 1.9.0, which was just released.

Kind regards,
Jörg-Michael

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants