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

Alignment of table key components #368

Open
Koch013 opened this issue Oct 17, 2024 · 1 comment
Open

Alignment of table key components #368

Koch013 opened this issue Oct 17, 2024 · 1 comment

Comments

@Koch013
Copy link

Koch013 commented Oct 17, 2024

Hi,

I was a bit surprised that in a table type definition the keyword "KEY" and the components don't get aligned:

 TYPES: BEGIN OF my_type,
             stlnr           TYPE stnum,
             stlkn           TYPE stlkn,
             stpoz           TYPE cim_count,
           END OF my_type,

           my_table_type TYPE 
           STANDARD TABLE OF my_type WITH NON-UNIQUE 
           KEY PRIMARY_KEY COMPONENTS
           stlnr
stlkn.

Cleaning result:

TYPES: BEGIN OF my_type,
         stlnr TYPE stnum,
         stlkn TYPE stlkn,
         stpoz TYPE cim_count,
       END OF my_type,

       my_table_type TYPE STANDARD TABLE OF my_type WITH NON-UNIQUE
       KEY primary_key COMPONENTS
       stlnr
stlkn.

Thanks.

@jmgrassau
Copy link
Member

Hi Koch013,

you're right, this is indeed not yet covered by any rule!

Kind regards,
Jörg-Michael

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants