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.
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.