on 06-11-2014 11:49 AM
Hi Experts,
I have created a ZWeb Dynpro based form with a Selection View, where in this view user can select an option to Create, Change, Delete and for Update request. Based on the selection type, am navigating to particular views.
My requirement is, if suppose a user selects CREATE request, they will give all the form details and on pressing submit button, data is saved on DB and am navigating the view back to the Selection View itself.
So at this point, am making all the nodes to invalidate. But instead of using this approach, I prefers to kill the entire session, such that I can have my selection view in a fresh state.
Is it possible. Please give your valuable ideas.
With Regards,
RAM.
Hi,
Yes. In your selection view, go to Properties tab and select the Lifetime as 'When Visible' . And In WDDOINIT method you refresh/invalidate the nodes instead of doing it again in Handle Inbound plug method
Regards,
Kiran
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Kiran,
Thanks for your reply.
I did as per your logic. All the nodes are getting validated but am facing one more issue because of it.
As if a user selects CREATE option, am setting the default date and sy-uname in WDDOINIT method.
So by now, once data is saved, again am selecting CREATE request, where my date and sy-name are not updating.
BR,
RAM.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.