Skip to Content
avatar image
Former Member

How to get the unsaved state in a web dynpro application

How do I get the workprotect APIs dirty flag in a web dynpro application? Is there an event I can subscribe to?

I want a mechanism to know if the data on a Web Dynpro screen changed since it loaded.



Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Nov 28, 2005 at 06:07 PM


    You can use the workprotect API's.. Refer this link

    Well here you can use these API's in any of the hook methods. For instance on loading of the WebDynpro Component in the wdDoInit() method if you say something like


    Then you cannot navigate away from this WebDynpro iView in the Portal until you say


    But anyway the above link would help you acheive it. But ensure that in the Portal WorkProtect Mode setting you choose the kind of setting that you need.



    Add comment
    10|10000 characters needed characters exceeded