on 03-24-2012 7:59 AM
hi,
i want to remove the subview 'budget' from mainview 'header' of PO in SRM7. the application is based on FPM. i do not want to do this in configuration as there is some logic based on which i need to remove this. there is a BADI called WD_BADI_MODIFYVIEW which gets called every time view is rendered. i am getting view context and view controller as import parameters. can i do use FPM API or something to remove this 'budget' subview from the application ?
thanks
my question is more about can we do something in wdmodifyview of CNR_VIEW view and access the different sub.views and remove them or hide them. i know we can do this at configuration but i want to remove them based on some logic, so i need to do that through code.
what i have in my mind is wdmodify method gets import parameter 'VIEW'. we can access the 'horizontal contextual panel' ui element. the point where i was stuck is this. how do i access the tabs and subviews from the horizontal contextual panel UI element. i do not find any methods in CL_WD_HORIZONTAL_CTX_PANEL class to do this job. if we somehow get the reference for the subviews we can set the visibility attribute to hide. is this possible as the subviews are added during configuration?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Please search the below mentioned thread,may be it will helpfull.
http://scn.sap.com/thread/1528085
Regards,
Lavanya.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
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.