cancel
Showing results for 
Search instead for 
Did you mean: 

Is there a way to remove the change action from leave overview component. Currently if we have to change or delete leave , both options are shown.the req is to restrict users from changing the leaves. Component configuration has both actions added.

Former Member
0 Kudos

Is there a way to remove the change action from leave overview component. Currently if we have to change or delete leave , both options are shown.the req is to restrict users from changing the leaves. Component configuration has both actions Added. Can we enhance this standard

Accepted Solutions (0)

Answers (1)

Answers (1)

ramakrishnappa
Active Contributor
0 Kudos

Hi Lee,

Do you want to remove the CHANGE button for all users? If so, open application in admin mode and set visibility property of button

Refer this:

You can also use application configuration

Refer the below document:

Enhancement of WD:

You can enhance the standard component and in post-exit of wddomodifyview( ) method you can get the button and set visible property based on your requirement.

Hope this helps you.

Regards,

Rama

Former Member
0 Kudos

Thanks Rama.

we want to not display the change option in some scenarios only. if this is removed from the configuration it is removed for all cases.

the feeder class methods gets those action_change and action_cancel .we are unsure of the exact place to enhance.

Former Member
0 Kudos

HI all

this is an urgent requirement. How can we override the actions which are in the CC. we to programatically change these actions and tried changing it from feeder class Get_definition and get_data methods. This didn't work.

do you have any example codes for the modify view. please help:)

ramakrishnappa
Active Contributor
0 Kudos

Hi Lee,

I suggest you to enhance the feeder class method GET_ACTIONS and use POST EXIT to remove the change button based on your requirement. In that method you would find the parameter table which contains all the buttons. You can remove the change button from the parameter table.

Regards,

Rama