cancel
Showing results for 
Search instead for 
Did you mean: 

When the method "WDDOBEFORENAVIGATION" is called in Web Dynrpro Application

Former Member
0 Kudos

Hi All,

I need a small clarification regarding hook method "WDDOBEFORENAVIGATION" ,

When Exaxtly this method is called byt web dynpro framework?

Regards

CB

Edited by: channappa sajjanar on Oct 19, 2010 5:28 PM

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

The WDDOBEFORENAVIGATION hook method:

It is called after your action is triggered.It is executed after "OnAction", and before the webDynpro framework processes the events in the navigation queue..

In complex WD applications, it may be necessary to validate the data from multiple components before the next step in the business process can be taken.This method has been implemented so taht cross-component validation can take place.

In detail, pls refer to NET310 or other reference material.

Hope it can help you a little.

Best wishes.

Former Member
0 Kudos

Hi Can Tang ,

Thanks a lot for your valuable reply .I have alreay read net310 ..but they are telling that this method will trigger whenever a client event triggerd.

but when i checked it is triggering before getting first screen only.

When I executed the Application in which first view is for Entering Material number , I got below methods called.

Execution is in WDDOINIT Method of Componnet controller 

Execution is in WDDOINIT of Main View 

Execution is in WDDOBEFORENAVIGATION Method of Componnet controller  

Execution is in WDDOPOSTPROCESSING Method of Componnet controller

that is why i got dout.

Regards

CB

Edited by: channappa sajjanar on Oct 19, 2010 7:25 PM

Answers (2)

Answers (2)

Former Member
0 Kudos

thanks

Former Member
0 Kudos

The WDDOBEFORENAVIGATION event is processed just before navigation and view initialization.

You can read more about the webdynpro abap phase model [here|http://help.sap.com/saphelp_dm40/helpdata/en/d2/8acd409cc4dd50e10000000a1550b0/content.htm].

Regards,

Roelof

Edited by: R. Albers on Oct 19, 2010 2:05 PM