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 […]
  • General Ledger master dataGeneral Ledger Master Data in SAP FICOGeneral Ledger Master Data in SAP FICO: In SAP, the basic element of the master data structure in the General Ledger is the chart of accounts, which is assigned to a company code and […]
  • SAP BASIS Transaction CodesSAP Closing Transaction CodesSAP Closing Transaction Codes : These Tcodes are used to call a particular screen or dialog in SAP. Transaction codes consist of unique identification in SAP. Each Tcode is associated with […]
  • extend materialHow to extend a material to new storage location – SAP MMThe only way I know to extend material in SAP is through MM01 t-code, the Create Material t-code. But then I experience problem when I was trying to extend Material to another storage […]
  • SAP GUISAP GUI Color Settings for SystemSAP GUI I’m posting a small hint which helps to recognize in which SAP system you are connected via SAP GUI. Sometimes when you are working with several sessions in different systems and […]
  • project charterWhat is a Project Charter and Why is it important?The project charter is a collection of documents that, together, establish the foundation of a SAP implementation project by defining its dimensions and completion criteria. Additionally, […]
  • BEx Web AnalyzerWhat is Sap Material Ledger Periodic Unit Price?The new Periodic Unit Price is calculated when you carry out material ledger closing for a material. If the material has S price control in its master record, the system uses the standard […]