Skip to content

LINE_EXISTS does not support where condition#642

Description

@paavanikomarla2-code

馃挕 Code pal for ABAP follows the Clean ABAP. If the issue relates to coding style, please submit it here.

Check Name
Prefer LINE EXISTS or LINE INDEX to READ TABLE or LOOP AT

Actual Behavior
LINE_EXISTS does not support where condition like new option in the read command , the check is incorrect, please fix

Expected Behavior
It should not show as error where there is a OR condition in the READ statement
Example code:
READ TABLE lt_deviations TRANSPORTING NO FIELDS
WHERE deviation_status = if_mpe_ab_cmp_constants=>gcs_deviation_status-in_process
OR deviation_status = if_mpe_ab_cmp_constants=>gcs_deviation_status-identified.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working correctly

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions