on 03-08-2011 9:23 AM
Hi Experts,
I need to hide one button 'Undo Offline Lock' of ALV table control for ESS and MSS applications :
ESS Application: HAP_START_PAGE_POWL_UI_ESS
MSS Application: HAP_START_PAGE_POWL_UI_MSS
Any idea on how to hide this button? I am not able to fetch reference of this button in method WDDOMODIFYVIEW of
WD component : POWL_TABLE_COMP,
View : TABLE_DATA
Highly appreciate your help.
Thanks,
Prashant
Hi
I managed to resolve this, by modifying class CL_HRHAP00_STARTPG_POWL, method IF_POWL_FEEDER~GET_ACTIONS.
Rgds
Rusyinni
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Rusyini,
Can u give me the detailed code or steps to hide a CREATE button in ALV control in FPM application configuration HAP_START_PG_POW_MSS_AC. As u suggessted if it through code in IF_POWL_FEEDER~GET_ACTIONS. What is the code change to hide a button functionality.
Kindly reply me at the earliest.
Regards,
Kiruthika P
Hi
Go to se80, class CL_HRHAP00_STARTPG_POWL.
Enhance the class.
Create Overwrite Exit for IF_POWL_FEEDER~GET_ACTIONS
To hide the buttons, I basically comment away the "insert ls_action_def into table lt_actions".
Look around those areas to rename, add, or remove buttons.
Hope this helps.
Rgds
Rusyinni
Hi,
Put Implicit Enhancement at SET_ACTION_DEF method of class cl_powl_table_helper and removed required action from attribute mt_action_defs.
Thanks,
Prashant
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
POWL is a generic/dynamic component, so you wouldn't perform the enhancement there. You would either need to enhance the code of the underlying feeder class or consider using component configuration to remove the button instead (and therefore no coding needed).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
24 | |
12 | |
9 | |
7 | |
6 | |
5 | |
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.