1. SAP Glossary
  2. Business Server Pages
  3. model


What is model in SAP BC-BSP - Business Server Pages?


SAP Term: model

  • Component: BC-BSP

  • Component Name: Business Server Pages

  • Description: Object in the Model View Controller MVC Programming model. A model object is needed to implement access to business data. To access this object in the page layout, implement an application class and assign it to your BSB application.


Smart SAP Assistant

  • Key Concepts: 
    A model in the context of BC-BSP Business Server Pages (BSP) is a set of objects that are used to create a web page. It consists of a controller, view, and model classes. The controller class is responsible for handling user input and directing the flow of the application. The view class is responsible for displaying the data to the user. The model class is responsible for storing and retrieving data from the database. 
    
    How to use it: 
    To use a model in BC-BSP Business Server Pages, you must first create a controller class that will handle user input and direct the flow of the application. Then, you must create a view class that will display the data to the user. Finally, you must create a model class that will store and retrieve data from the database. 
    
    Tips & Tricks: 
    When creating a model in BC-BSP Business Server Pages, it is important to keep in mind that the controller, view, and model classes should be kept separate from each other. This will help ensure that each class is responsible for its own tasks and that there is no overlap between them. Additionally, it is important to keep your code organized and easy to read so that it can be easily maintained in the future. 
    
    Related Information: 
    For more information on models in BC-BSP Business Server Pages, please refer to the official SAP documentation at https://help.sap.com/viewer/product/BC-BSP/latest/en-US/. Additionally, there are many tutorials available online that can help you learn how to use models in BC-BSP Business Server Pages.
    • Do you have any question about this SAP term?


      Upgrade now to chat with this SAP term.

Related SAP Glossary Terms

Click the links below to see the following related SAP glossary terms:
Rating
ERPlingo's SAP support assistant is amazing. Saves me countless hours trying to solve complex SAP issues myself. It's a real game changer!
Rate 1
Thomas Michael
SAP Consultant, Author & Speaker