We are making Enhancements to the Travel Expense WDA. (Package: PTRM_WEB_UI)
When creating a New Expense Report, the WDDOINIT method is being executed only once each time the View is displayed. This is what is expected.
When changing an existing Expense Report, the WDDOINIT method is being executed each time the view is displayed.
The Lifetime Property of all of the views are set to "framework controlled". It seems like when in change mode, the lifetime property of the views is acting as if they were set to "when visible".
Is there some way that this property is being dynamically changed when in change mode? Does anyone know if SAP intended the Travel Expense WDA to act this way when in change mode?
Any help or insight regarding this issue would be helpful.