10-11-2006 10:16 AM
Hello,
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
lr_layout->set_save_restriction(
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
EXPORTING
value = ls_val.
As i want to predifine a lot of attributes it would be mor easy to use the first code
10-12-2006 8:28 PM
10-12-2006 8:16 PM
10-12-2006 8:28 PM