I´ve created an instance of a local class and have set a special attribute.
Now I want to use the value of is attribute for a different class using
gr_default_values->get_restriction( ) ).
but this doesn´t work. any suggestions?
I´ve found out that the following code works,
but in this case i have to declare alwas local variables.
DATA: ls_val TYPE salv_de_layout_restriction.
ls_val = gr_default_values->get_restriction( ).
CALL METHOD lr_layout->set_save_restriction
value = ls_val.
As i want to predifine a lot of attributes it would be mor easy to use the first code