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

Column position #66

Closed
xavipuga opened this issue Jun 4, 2021 · 3 comments
Closed

Column position #66

xavipuga opened this issue Jun 4, 2021 · 3 comments
Assignees

Comments

@xavipuga
Copy link

xavipuga commented Jun 4, 2021

Hello,

I'm just starting to use your FALV classes and it's an incredible work. Congratulations and thanks for share.

I'm strugling to set columns position on my editable alv on 740 system.

This is the fieldcatalog before setting up the order:
image

my set_col_pos call:

METHOD set_columns_order.

    DATA lo_column TYPE REF TO zcl_falv_column.
    DATA ld_index TYPE i.
    lo_column = go_alv->column( 'STAT'  )->set_col_pos( 1 ).
    lo_column = go_alv->column( 'MATNR'  )->set_col_pos( 2 ).
    lo_column = go_alv->column( 'MAKTX'  )->set_col_pos( 3 ).

  ENDMETHOD. "set_columns_order.

And this is the resultant fieldcatalog:
image

It's that an issue? Or my mistake with the call?

Thanks a lot.

@fidley
Copy link
Owner

fidley commented Jun 7, 2021

Hi @xavipuga,

I will check that, but it is strange that it works this way. I will run your code on my installation and I'll come back to you.

Cheers
Łukasz

@fidley fidley self-assigned this Mar 25, 2024
@fidley
Copy link
Owner

fidley commented Mar 25, 2024

It's been a while, but maybe you want to test the solution?
Branch automatic_f4_and_col_pos_update

@fidley fidley linked a pull request Apr 10, 2024 that will close this issue
@fidley
Copy link
Owner

fidley commented Apr 10, 2024

#88

@fidley fidley closed this as completed Apr 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants