Blogs

The MVC design pattern with full screen controls
Robin Vleeschhouwer Active Contributor Bronze: 250-499 points
Business Card
Company: RV SAP Consultancy
Posted on Sep. 07, 2010 02:06 AM in ABAP

URL: http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/20847

Subscribe.Subscribe
Print. Print
Permalink Permalink
Share

Contents

The blog will explain how to use the MVC design pattern with full screen controls.
The used implementation of the MVC design pattern is explained in this blog.
In the example we will use a full screen ALV control that is generated by my ALV OM wrapper class.

Because I didn't yet explain the part how to use the model, in this example the model is integrated in the controller. I understand that the separation of the business logic is the most important thing, but I just wanted to give an example how you can deal with full screen controls.

MVC full screen control

The example code

When you execute the code you will see a full screen ALV with some data of table SFLIGHT. When you double click on a row, that row is appended to the ALV.

Code to call the full screen control


Code of the local screen controller


Code of the ALV OM wrapper class

Robin Vleeschhouwer  Active Contributor Bronze: 250-499 points is a Sr. SAP development consultant @ RV SAP Consultancy (freelancer) [Twitter] [LinkedIn]


Comment on this articleI hope that you find this useful.
Comment on this weblog