Entering content frameComponent documentation Defining Your Own BSP Extension Locate the document in its SAP Library structure

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 an element handler class assigned to it that implements its specific functions.

This graphic is explained in the accompanying text

Example

The figure below explains these connections with a relatively simple example.

Advantages for Using BSP Elements

The encapsulation of the functions into BSP elements can contribute greatly to reducing the script part in BSP pages.

Generally speaking, a BSP element can be used by each BSP page.

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

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:

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.

For each BSP element, you can generate a corresponding element handler class and its basis class in the Class Builder.

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. See also: Using BSP Extensions.

Process Flow

Complete implementation of a BSP extension takes place in the following steps:

  1. Creating a BSP Extension
  2. Defining the Corresponding BSP Elements
  3. Implementing the Element Handler Class
  4. Activating the BSP Extension
  5. Entering Documentation

 

 

 

 

Leaving content frame