Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

How to display different screens when starting the Webdynpro app?

Hi All,

When user starting up the Webdynpro app, it will first check some value in the persistent layer. If the check result is ok, it will show the normal app screen to the user; if the check failed, it will show the error screen.

Now I write the check function in the view controller, But I think it is not a good approach, because there are some initialize code in the component controller, so before my check function reached, the server will waste some resource to execute the initialize code in the component controller.

Would anyone give me some hints on how to move the check function to component controller and then display the different screen to the end-user?

Thans and Best regards

Deyang

replied

Deyang,

I've opened <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/developerareas/webdynpro">Web Dynpro</a> section on SDN and see the featuring article:

<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/developerareas/webdynpro?rid=/library/uuid/751d003a-0b01-0010-8996-afbaa3fd5339">cross-component Navigation, Explained</a>

<i>New resources demonstrate <b>how to navigate to certain views from within Web Dynpro components</b>, and fill some gaps in the Sample Application and Tutorial matrix.</i>

Should be exactly what are yuo looking for

Valery Silaev

EPAM Systems

http://www.NetWeaverTeam.com

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question