on 10-12-2007 4:43 AM
Hi Guyes, How can i make the wdDoIniiit() function executived twice in the view of WebDynpro? Thank you
Hi,
you can achieve this is one way.
Procedure for calling wdDoInit more than once:
(a)1st go to the properties of the view and select the radio button to "when visible".
(b)If you are currently on your current view then you navigate to some other view,
and again come back to the 1st view.
Regards,
Praveen
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
WDDOINIT is called automatically when a controller is initialized for the first time. As this methods are called automatically by the controller you can't call them again. If you want to perform some task same as in WDDoInit then you can write that within a user defined method and call the same whenever and wherever you want.
Warm Regards,
Murtuza
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi lei qin,
I don't think so it can be done explicitly. What exactly is ur requirement?? if u can elaborate more,may be we can give some other option.
regards
Sumit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
WdDoInit() :- This is called only once when the View is loaded freshly.
WdDoModifyView:- Called every time an action is performed on the View.
It is called by webdynnpro runtime environment for modification of the view layout.
For all the views,this takes place at a time immediately before the closing response renders.
check for
<a href="http://help.sap.com/saphelp_nw04/helpdata/en/86/16e13d82fcfb34e10000000a114084/frameset.htm">Modifyview</a>
also you can know about <a href="http://help.sap.com/saphelp_nw04/helpdata/en/86/7fcf3d4f902d10e10000000a114084/frameset.htm">Supply function</a>
Regards
Abhijith YS
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
79 | |
9 | |
9 | |
7 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.