Skip to content

"Align logical expressions" misformats SQL Update command #485

Closed

Description

@MDagni

Hi.

This is the code I wrote:

    data lv_kunnr type kunnr.
    field-symbols <ls_selected> type zfi_bnk_002.

    update zfi_bnk_002
      set kunnr = @lv_kunnr
      where banka = @<ls_selected>-banka
        and hareket_key = @<ls_selected>-hareket_key.

When I run Abap Cleaner, it becomes like this:

    data lv_kunnr type kunnr.
    field-symbols <ls_selected> type zfi_bnk_002.

    update zfi_bnk_002
      set kunnr = @lv_kunnr
      where banka =     @<ls_selected>-banka
                    and hareket_key = @<ls_selected>-hareket_key.

Looks like it doesn't process the UPDATE command properly.

Image

Activity

  1. jmgrassau commented on Mar 11, 2026

    @jmgrassau
    Member

    Hi Mehmet,

    thanks for reporting this! This is a bug, will look into it.

    Kind regards,
    Jörg-Michael

  2. self-assigned this
    on Mar 12, 2026
  3. jmgrassau commented on Mar 12, 2026

    @jmgrassau
    Member

    Hi Mehmet,

    the UPDATE statement was indeed not correctly considered here – this will be fixed with the next release:

    Image

    Kind regards,
    Jörg-Michael

  4. MDagni commented on Mar 12, 2026

    @MDagni
    Author

    Thank you very much 😊

  5. jmgrassau commented on Mar 23, 2026

    @jmgrassau
    Member

    Hi Mehmet,

    thanks again for reporting this bug. This should now be fixed with version 1.24.3, 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

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions