Entering content frame

Background documentation MIME Repository Locate the document in its SAP Library structure

Overview

The MIME Repository is used to store all MIME objects (style sheets, graphics, icons and so on) in the SAP System. MIMEs are created as objects in the SAP database and can be referred to (on the pages of BSP applications, for example) as part of different application technologies. MIME objects use the SAP development infrastructure. In particular, changes in the MIME Repository, such as the import of new MIMEs, are written to a transport request.

The MIME Repository is displayed in a browser. All MIME objects are arranged hierarchically in directories of a tree structure. If the browser is started, it overlaps the navigation area (left-hand side) in the Object Navigator.

For each BSP application, the system automatically creates an identically-named folder in the MIME Repository. This application directory is designed to store all application-specific MIMEs. This special folder cannot be deleted explicitly and remains an integral part of the MIME Repository as long as the BSP application exists. As soon as the BSP application is deleted, the corresponding folder is also automatically removed with all MIME objects contained therein.

Caution Since other technologies can use the Web Application Server’s MIME Repository from Release 6.40, some folders have been inserted in its hierarchical structure. The new folder /SAP/PUBLIC contains MIMEs that can be used by multiple software components. MIMEs that can be used by all BSP applications can be accessed using the /SAP/BC/BSP/[namespace]/PUBLIC path.

 

Starting the MIME Repository Browser

To go to the display of the MIME Repository, start the Object Navigator (SE80) and click the MIME Repository toggle button in the navigation area (top left corner).

 

Note If the MIME Repository switch button is not displayed, change the user settings. To do this, choose the menu path Utilities ® Settings Then click the title element General Workbench and activate the setting MIME Repository.

 

MIME Objects in BSP Applications

All operations on MIME objects or folders in the MIME Repository are available either through the tree structure of the MIME Repository or through the object list in a BSP application. For BSP, the objects in the MIME Repository are completely integrated in the Repository Browser of SE80. Both tree displays contain the same features, except for the preview  When you double-click a MIME object in the MIME Repository Browser to display a preview, the editor assigned to the MIME category is triggered in the Repository Browser for BSP applications - as a separate application.

MIME Objects in Web Dynpro Applications

The MIME objects are not integrated in the object list for Web Dynpro applications in the Repository Browser. If you want to create or maintain MIME objects for a Web Dynpro application, you have to switch to the MIME Repository display in the Object Navigator.

 

The following functions are available:

Supported MIME Categories

Importing MIMEs

Creating Folders

Converting MIMEs into BSPs

Deleting MIMEs or Folders

Creating Namespace Folders

Marking MIMEs as Relevant for Translation

Other Functions

 

The MIME Repository Structure

MIME objects of BSP applications and Web Dynpro applications are assigned to a namespace. As far as customer developments are concerned, the system accesses the corresponding directories in the customer namespace.

This graphic is explained in the accompanying text

 

Using MIME Objects in BSPs

For addressing MIME objects in the layout of your BSP, use the relative path specifications. You enter the paths relative to your own BSP application.  When you create a BSP application, the system automatically creates a corresponding folder with the name of your BSP application in the MIME Repository.

If you specify “xxx.gif”, this always refers to the folder in the current BSP application.

Example <img src="mypicture.jpg">

To include MIMEs from other applications, also use relative path specifications: "../another_application/yyy.gif”. In this way, you can access MIMEs in public folders.

Example <img src="../public/tutorial/scalability.jpg">

 

 

Leaving content frame