on 02-26-2010 11:15 AM
Hi Guys
I am trying to enhance the following :
Comp : HAP_MAIN_DOCUMENT
View : VW_CONTENT
Contains : TRNS_CONTAINER_PROCESS (MatrixHeadData)
and TRNS_CONTAINER_DOCUMENT(MatrixData).
I am trying to change the layout data of TRNS_CONTAINER_DOCUMENT to MatrixHeadData through enhancement. however the properties are not editable even in Enhancement mode.
Can this be changed thru programming? If so can you please help.
Highly appreciate your help.
Thanks & regards
Pramod
Although you can't change properties via Enhancement, you can disable the existing UI elements and then add new ones that bind to the same context nodes/attributes and raise the same events. As long as the component doesn't have any UI ID specific logic in the WDDOMODIFYVIEW this approach will work. However it might lead to greater effort to make adjustments after upgrades since you would have to manually incorporate any changes SAP made to the delivered UI elements into your new copies of the UI elements.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Many thanks for both of you.
I have modified the STD and marked TRNS_CONTAINER_DOCUMENT as MatrixHeadData.
Thanks and Regards
Pramod
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
U can not change the properties of UI elements through enhancements.
Check in this class cl_fitv_wd_util, if some method is there to do it through coding.
Even if u will be able to achieve this as i think u will face a new problem because if u change the layout property of container then what about its inside elements.
Edited by: pankaj aggarwal on Feb 26, 2010 5:25 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
80 | |
9 | |
9 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.