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.
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.
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).
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.
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.
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:
Marking MIMEs as Relevant for Translation
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.
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.
<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.
<img src="../public/tutorial/scalability.jpg">