BSP Extensions and BSP Elements
With the BSP extension concept, you can develop your own tags for dynamic pages of BSP applications.A BSP extension is represented by means of a special development object in the workbench. This object includes a record of related BSP elements with the corresponding attributes, and it also covers references to the appropriate element handler classes. Each BSP element has one element handler class assigned to it that implements its specific functions.
The figure on page BSP Extension Framework explains these connections with a relatively simple example.
Advantages for Using BSP Elements
Reduces the complexity of the BSP pages.
The encapsulation of the functions into BSP elements can contribute greatly to reducing the script part in BSP pages.
Reusability
Generally speaking, a BSP element can be used by each BSP page.
Clear-cut role distribution
As a developer, you define the BSP extensions and implement the respective element handler classes; as a designer, on the other hand, you use the BSP elements in the page layout of BSP applications.
Tool support within the workbench by the BSP extension editor
Tool Support
In addition to the usual infrastructure (transport, where-used list, and so on), the workbench provides the following functions in order to ensure efficient processing of BSP extensions:
Creating and editing BSP extensions
In the Object Navigator (SE80), you first create a BSP extension as a new development object. Then you create one or several BSP elements and declare the individual element attributes
Generating the element handler class
For each BSP element, you can generate a corresponding element handler class and its basis class in the Class Builder.
Integration in the Tag Browser
Through activation, each new BSP extension is copied, without additional effort, as an entry into the Tag Browser in SE80. On the BSP application pages, you can then place the corresponding tags and their attributes wherever you want them in the editor using Drag&Drop. For more information, see: Using BSP Extensions.
Process Flow
Complete implementation of a BSP extension takes place in the following steps: