cancel
Showing results for 
Search instead for 
Did you mean: 

ALV Settings (e.g. SORT): How can I reload a view that contains settings

christian_taut
Explorer
0 Kudos

Hi,

I have saved ALV Settings in a view. After I read out the (editable) ALV, I goto backend and then update ALV by BIND_TABLE. After this ALV update, my ALV settings are lost. Therefore I am looking for a possiblity to reload / restore the ALV settings during runtime that I have saved while using the ALV. Hence, I am looking for something like GET_CURRENT_SETTINGS and SET_CURRENT_SETTINGS.

Does anyone know?

Many thanks

Accepted Solutions (0)

Answers (2)

Answers (2)

christian_taut
Explorer
0 Kudos

Hi,

I am not shure whether there is a misunderstanding. I try to explain again:

- I use edatable ALV

- I run my WD Application and use my ALV

- I use the Settings Link of ALV and define some SORT rules for the ALV

- I SAVE this rules under a view name (this view is like a variant, but this view is

not an WD view in SE80 !)

- After I call backend, this ALV rules (like SORT) are lost because we are refeshing th ALV

=> How can I store the ALV settings and restore it?

If I save & restore this ALV settings to the context, I would like to know with which methods I can read out these ALV settings.

Former Member
0 Kudos

Hi!

You have always the possibility to read these context information and store/save them in

a) view controller attributes or

b) component controller attributes or

b) attributes of a helper or assistance class

When you come back from backend ...

1. Reload your context with current backend information

2. Reload your settings into the corrsponding context nodes attributes from saved attributes

Ready.

Hope this helps.

Regards,

Volker