Skip to Content
avatar image
Former Member

Change standard Web dynpro component's attributes

Is it possible to change standard web dynpro components attributes (for example ENABLED property) through enhancement spot / programming.

thanks.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    Jul 22, 2009 at 04:40 PM

    You can not change UI element properites directly with the Enhancement Framework. Consider if Componet Configuration can acomplish what you want. Then consider this approach: 1. You can use the Enhancement Framework to hide existing fields. Hide the field in question and then add a new custom field. Bind it to the same context attribute, but change whatever other UI element properties you want. 2. You could use a Post-Exit on the WDDOMODIFYVIEW and extend the logic to manipulate the UI element in Coding.

    Add comment
    10|10000 characters needed characters exceeded

  • Jul 22, 2009 at 10:19 AM

    Hi Candy,

    It is possible to change standard WD Components. You have to create Enhancement implementation for that.

    steps:

    1. There is a spiral icon on the menu in SE80. Just click on that to create an Enhancement implementation or just press ctrl+f4 to create an enhancement.

    2. After creating the Enhancement implementation choose the view/component where you need to make changes.

    3. To Change a UI Property right click on that or to change the code in methods tab create pre-exit or post-exit methods.

    Hope it will be useful.

    Regards,

    Vaibhav Tiwari.

    Add comment
    10|10000 characters needed characters exceeded