2006 Oct 04 5:05 PM
Hello,
when i use the the method "set_initial_layout" with the class "cl_salv_tree" it has no effect.
In the ABAP template "SALV_DEMO_TREE_FUNCTIONS"
if you uncomment line 700 and you create the TEST variant, there is no effect.
2006 Oct 04 8:52 PM
Hello Jerome
The problem is that no variant 'TEST' exists yet.
Copy the report (just for testing purposes) to a z-report and run it using full screen option.
Change the layout of the tree and save it as '/TEST' because the tree does not allow to save user-specific variant (e.g. 'TEST' without '/').
Next uncomment line 700 and change the variant to '/TEST'.
Now it works.
Regards
Uwe
Hello,
when i use the the method "set_initial_layout" with the class "cl_salv_tree" it has no effect.
In the ABAP template "SALV_DEMO_TREE_FUNCTIONS"
if you uncomment line 700 and you create the TEST variant, there is no effect.
2006 Oct 04 8:52 PM
Hello Jerome
The problem is that no variant 'TEST' exists yet.
Copy the report (just for testing purposes) to a z-report and run it using full screen option.
Change the layout of the tree and save it as '/TEST' because the tree does not allow to save user-specific variant (e.g. 'TEST' without '/').
Next uncomment line 700 and change the variant to '/TEST'.
Now it works.
Regards
Uwe
2006 Oct 06 9:18 AM
My real problem was the column size was not save in the variant because of line 336 :
lr_columns->set_optimize( abap_true ).
I comment this line and all is ok now.
I appreciate your help.
thanks you Uwe.
jerome.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |