on 12-10-2009 12:31 PM
Hi,
I want to hide buttons in ALV.
I am using feeder class CL_HRHAP00_STARTPG_POWL
Method Get_actions.
I am able to disable Create,Edit buttons . But not able to cantraoll View drop down and Export button.
could you please guide me how to cantraoll this VIEW AND EXPORT.
I referred this below link. As per Arun it is possible thorogh feeder class. but I am not able to find this.
Regards,
sarath.
thanks,
sarath
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Sarath,
In POWL , It is not possible to disable these buttons, Only thing you can do is to make them invisible.
the steps are as explained by mayank. So you can make these buttons invisible by confiquration.
best regards,
Rohit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Sarath,
In POWL , It is not possible to disable these buttons, Only thing you can do is to make them invisible.
the steps are as explained by mayank. So you can make these buttons invisible by confiquration.
best regards,
Rohit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI Sarath,
U need to create the component configuration.
right click on wd component and click on create/change configuartion.
name the component as "POWL_UI_COMP" in the following window.
paste this code in wddoinit of component controller
DATA:lo_cmp_usage TYPE REF TO if_wd_component_usage,
ls_powl_config TYPE wdy_config_key.
ls_powl_config-config_id = 'name of powl configuration'. "#EC NOTEXT
ls_powl_config-config_type = 00.
lo_cmp_usage = wd_this->wd_cpuse_powl_comp( ).
IF lo_cmp_usage->has_active_component( ) IS INITIAL.
lo_cmp_usage->create_component( EXPORTING configuration_id = ls_powl_config ).
ENDIF.
now you can edit the component configuration that has options to control the export button etc.
hope this solves your problem..
Regards,
Mayank
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
To manipulate the View and Export options in ALV, the ALV configuration has to be manipulated.
Please check if we have to get the reference of ALV Configuration. Using this we can manipulate. I am not sure if Feeder class provides a reference to the same.
Thanks,
Anand
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.