Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

MVC

Former Member
0 Likes
497

Hi frnds,

suppose in MVC i am going for 2 controllers and 2 views and i want to give my customer number in the input field of the first View and press display btton then i suld get customer details in the second view.

can someone guide for the above.

Thanks.

3 REPLIES 3
Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
468

Is this in regard to Web Dynpro ABAP? If so, I would suggest going with 1 component controller where you would have a node for the customer number in the component controller context, then also have the same attributess in both contexts of the two views, you can then bind the view elements to these context attributes.

Or am I way off base here?

Regards,

RIch Heilman

Read only

uwe_schieferstein
Active Contributor
0 Likes
468

Hello Sanjay

Have a look at my sample reports

Although they are not developed according to the MVC model they are able to realise your requirement.

Regards

Uwe

Read only

Former Member
0 Likes
468

Refer this link.. it clearly explains you step by step.

<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/02e1fa45-0801-0010-10a0-f1cf47e8c943">Web Dynpro For ABAP Tutorial</a>