Skip to content

RANGES being moved to the top #469

@abapstudent

Description

@abapstudent

Hi,

I have the following code:

FORM get_item_characteristics CHANGING cs_item_detail TYPE sdoc_s_prt_item_detail.

DATA lt_conf TYPE TABLE OF conf_out.
DATA ls_conf TYPE conf_out.
DATA lt_cabn TYPE TABLE OF cabn.

DATA ls_cabn TYPE cabn.

RANGES lr_cabn FOR ls_cabn-atinn.

After executing ABAP cleaner, the RANGES statement is being moved to the top.

FORM get_item_characteristics CHANGING cs_item_detail TYPE sdoc_s_prt_item_detail.

RANGES lr_cabn FOR ls_cabn-atinn.

DATA lt_conf TYPE TABLE OF conf_out.
DATA ls_conf TYPE conf_out.
DATA lt_cabn TYPE TABLE OF cabn.

DATA ls_cabn TYPE cabn.

This causes a syntax error.

Am I missing a setting? I tried looking in the rules but could not find anything.

Thank you.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions