cancel
Showing results for 
Search instead for 
Did you mean: 

Re: POWL Configuration

Former Member
0 Kudos

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.

Accepted Solutions (0)

Answers (5)

Answers (5)

Former Member
0 Kudos

thanks,

sarath

Former Member
0 Kudos

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

Former Member
0 Kudos

hi,

Problem is solved.

In feeder class On action buttons are creaed. By deleting them from that internal table those buttons are not coming.

Regards,

sarath

Former Member
0 Kudos

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

Former Member
0 Kudos

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

anand_nidamanuru
Active Participant
0 Kudos

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