on 03-01-2007 11:15 AM
Hi,
I'd like to use the view settings of a ALV table to configure the table in a Gantt.
Does anyone know what components/classes are used to read, change and save these settings?
Is it possible to reuse the ui component of the ALV table (I think it is SALV_WD_LAYOUT_UI)?
Thanks,
Norbert
Hi,
you can modify the settings of your alv table :
examples :
interfacecontroller = wd_this->wd_cpifc_your_table( ).
settings = interfacecontroller->get_model( ).
settings->if_salv_wd_function_settings~set_visible( '00' ).
settings->if_salv_wd_std_functions~set_filter_filterline_allowed(
abap_false ).
settings->if_salv_wd_std_functions~set_sort_headerclick_allowed(
abap_false ).
settings->if_salv_wd_table_settings~set_read_only( abap_false ).
and then you can also modify teh settings of a column :
settings->if_salv_wd_column_settings~get_columns(
RECEIVING value = lt_columns ).
i hop ethis helps
Regards
Mayaa
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Norbert,
I am little bit confusion about meaning of Gantt. Is it meaning that you want to show the output in Pictorial format ie Picture format. If that is the case i will provide the code below
data:
lr_table_settings type ref to if_salv_wd_table_settings.
lr_table_settings ?= wd_this->r_table.
lr_table_settings->SET_DISPLAY_AS( 03 ).
other options are :
DISPLAY_AS_EXCEL = 04
DISPLAY_AS = 99
DISPLAY_AS_GRAPHIC = 03
DISPLAY_AS_TABLE = 01
DISPLAY_AS_TABLE_GRAPHIC = 02
So you can try other application also. I hope you that i given the correct information, if your requirement is different please send me the some more information the i will try to help you.
Thanks and Regards,
Vijay
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
10 | |
9 | |
9 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.