Model View Controller (MVC)

Model View Controller Design Pattern (MVC)) in SAP CRM

Business Server Pages (BSPs) can be created using different programming paradigms and design patterns. The CRM WebClient UI BSP is based on the Model View Controller (MVC) paradigm. MVC is a widely accepted design pattern for developing object-oriented user interfaces (UIs). It provides an effective way of relating UI layouts to an underlying data model. An MVC application consists of the following:

Model

The model of the CRM WebClient UI BSPs consists of contexts and context nodes that link the fields of a view to the underlying business layer (the BOL). This linking is referred to as binding. Each data field on a view visualizes an attribute of a context node.

MVC

Model View Controller (MVC)

View

The view handles the visual output. It is responsible for rendering the output and relevant UI controls, such as data fields and push buttons. The Model View Controller (MVC) receives all output for rendering. All user input is passed from the view back to the controller for processing.

Controller

The controller handles the interaction logic and provides the connection between a view and a model of an Model View Controller (MVC) application. A controller receives all keyboard and mouse input from the view. Based on these events, the controller can decide how to react (for example, by accessing data from the model or triggering the navigation to a different view).

Also See: How to Configure Product Pricing in SAP CRM?

Online Training Tutorials

  • SAP CRM CertificationSAP CRM Certification TipsSAP CRM Certification: Have you been advised by training institutes, experienced consultants, SAP advisers or random people on forums that you need to be having extensive SAP SD (Sales and […]
  • sap crm course contentSAP Customer Relationship Management (CRM) for Small Business an IntroductionCustomer Relationship Management (CRM) for Small Business are becoming more and more popular thanks to the reduce in prices that small companies can afford and efficient CRM solutions […]
  • C Program to Print Prime NumbersC Program to Print Prime Numbers up to Given NumberFollowing C program Print Prime Numbers up to Given Number, then display the result on the screen: A for loop is a repetition control structure that allows you to efficiently write a […]
  • Organizational planHow to Display Organizational Structure in a Graphical Interface?Organizational Structure: Organizational object (object key O) used to form the basis of an organizational plan. Organizational units are functional units in an enterprise. According to […]
  • C Program to Find Total of Even IntegersC Tutorial – Learn C Programming Language TutorialLearn C programming is very easy if you follow our popular C tutorial which will take you from the beginning of C programming. This C tutorial is mainly designed for beginners and […]
  • Clear G/L Account - FB1SClear G/L Account – FB1SSAP transaction Code FB1S (Clear G/L Account) is classified in the Financial Accounting module under application component General Ledger Accounting and runs Documentation FI General […]
  • JavaScript Node.jsJavaScript Node.jsJavaScript Node.js, a program that allows you to apply your JavaScript skills outside of the browser. With it, you can build anything from small command line tools to HTTP servers that […]
  • Consumption Based Planning sap mmWhat is Consumption based Planning in SAP MM?The below sap mm tutorials (Material Management) will help to know more on the consumption based planning in sap mm. The central role of material requirements planning is to monitor stocks […]