Skip to Content
author's profile photo Former Member
Former Member

What's the role of wdmodifyview in webdynpro?

What is the role of Wdmodify view method in webdynpros?

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Feb 16, 2006 at 03:52 AM


    wdDoModifyView method is a hook method which is called just before rendering the view.

    This method can be used to access any UI element of the view for modifications. This access to view UI elements is only possible in this method since it takes a reference to the view itself as a parameter.

    This method can also be used for dynamic UI generation.

    Note that this method is called for the first time after wdDoInit and on every subsequent page refresh. This demarcation between first time calling of this method is handled through the parameter firstTime.



    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      <i>Sadly, current NW IDE does not support this via designer views.</i>

      Agreed, but "future" NWDS versions finally will provide declarative parameter mapping.

      Additionally, I tried to alleviate the pain by introducing constants for the event parameter names used in the mapping statements, e.g. instead of "guessing" the event parameter names, you can at least write

        "name of action parameter"


  • Posted on Feb 16, 2006 at 12:03 AM

    WDDOMODIFYVIEW is the method used to modify the view before rendering of the view. I would compare it do the PBO(Process before output) section of a classical dynpro. I would assume that you would be able to modify the UI dynamically in this method. You can also initialize the input fields.


    Rich Heilman

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.