on 07-24-2008 8:32 PM
Hi,
My requirement on ALV is, i have a set of custom button, which we want to display in the toolbar of ALV on the left hand side. and the standard button like 'View', 'Print Version' & 'Export' to the right corner. By default the standard buttons are on left. Pls suggest.
Thanks,
code sample
DATA: l_ref_INTERFACECONTROLLER TYPE REF TO IWCI_SALV_WD_TABLE .
l_ref_INTERFACECONTROLLER = wd_This->wd_CpIfc_Alv( ).
data:
l_VALUE type ref to Cl_Salv_Wd_Config_Table.
l_VALUE = l_ref_INTERFACECONTROLLER->Get_Model(
).
data: lr_fun type ref to CL_SALV_WD_FUNCTION_STD.
lr_fun
=
l_value->if_salv_wd_function_settings~GET_FUNCTION_STD( 'SALV_WD_VIEW_LOAD' ).
lr_fun->set_alignment( IF_SALV_WD_C_FUNCTION_SETTINGS=>ALIGN_RIGHT ).
Abhi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
http://help.sap.com/saphelp_nw04s/helpdata/en/42/fb69fc46a21bc8e10000000a11466f/content.htm
I think it is possible, use the documentation, there is a method called GET_FUNCTION_STD
and in the return type CL_SALV_WD_FUNCTION_STD, ther is a method called set_allignment
Abhi
Edited by: Abhimanyu Lagishetti on Jul 25, 2008 11:57 AM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.