Entering content frameProcedure documentation Creating BSP Applications Locate the document in its SAP Library structure

You can create BSP applications only with the Web Application Builder but not with external Web development environments.

Prerequisites

If you wish to create the BSP application in another namespace that differs from the standard namespace, you may only use the values provided by the system as namespace identifiers.

Procedure

Note

Like all Repository objects, a BSP application can be created by copying it. Note that the corresponding MIMEs are not copied to the target object when you copy BSP applications. For each new BSP application, the system creates an identically-named directory in the MIME Repository, but it is empty.

To create a new BSP application:

  1. Open the Object Navigator (transaction: SE80).
  2. Choose the BSP Application category from the object list selection and enter the name of the application you want to create.
  3. If you wish to assign the new BSP application to a valid namespace XYZ that differs from the standard namespace, you must place the namespace as a prefix in front of the actual name of the BSP application. The complete name must then be written in this form: /XYZ/BSPApplication.

  4. Click This graphic is explained in the accompanying text or choose Enter to confirm your entry.
  5. The system checks to see whether or not a BSP application with that name already exists in the R/3 System. If there is none, the Create Object dialog box appears.

  6. Choose Yes to create the BSP application.
  7. The dialog box Web Application Builder: Create BSP Application is displayed.

  8. Enter a meaningful Short Description.
  9. Choose This graphic is explained in the accompanying text Create.

The system then displays the Create Object Catalog Entry dialog box.

  1. Assign a package to the service.

The system displays the BSP application you have created in the object list tree structure.

Result

The BSP application has been created in the R/3 Repository as a development object.

Caution

Since Basis release 6.20, a service node with the same name is automatically generated in the HTTP service maintenance transaction (SICF) with the new BSP application. As a rule, no such entry exists for BSP applications that were created in earlier releases. In such cases, you must create this node manually in the service maintenance transaction. You call up the corresponding display through the menu function Goto ® HTTP Service Maintenance. Execute the steps as they are described in the section Structure linkCreating an ICF Service.

Afterwards, you can assign further attributes for the BSP applications at this point:

Attribute

Description

Initial BSP

Here you enter the name of a page that is to be used to start the BSP application. This entry is important whenever you test the BSP application from within the workbench.

Application class

If you enter the name of an ABAP class as the application class in this field, then this class can be directly referenced in the BSP application using the predefined object application. You do not need to create an instance of the application class and you can directly access its components (methods, attributes, and events) from any BSP page.

An application class is used to transfer the business logic to a global class that, in turn, is used to access business data using BAPI calls, for example.

You can assign application classes to more than one BSP application. (All these applications use the same business logic.)

Note that the application class must exist in the same system and cannot be addressed through RFC.

Theme

Enter the name of a theme if you want to overwrite the preset style specifications or MIME objects on the pages of your BSP application. The theme you want to use must exist as an individual development object.

If you do not explicitly specify a theme for a BSP application, the system always uses the SAP default theme.

Stateful

Activate this checkbox whenever the BSP application should be implemented as stateful. For an explanation of this, refer to the section Structure linkStateful BSP Applications.

See also

Creating Pages

Creating the Controller

Layout Adjustments for BSP Applications

 

 

Leaving content frame