Entering content frameProcedure documentation Redefining MIME Objects Locate the document in its SAP Library structure

Use

So that certain MIMEs that are referenced in the layout source code of the BSP application can be replaced at runtime by MIME objects of your choice, you must first include the respective objects from the MIME repository in the theme object list. Afterwards, for each MIME object to be replaced, you only need to import the respective object from the file system in your PC.

Prerequisites

The theme has already been created.

Procedure

  1. In transaction SE80, click the This graphic is explained in the accompanying text icon for object selection and select the Web Objects tab.
  2. Enter the required theme and confirm your selection by clicking This graphic is explained in the accompanying text.
  3. The Web Application Builder switches automatically to the theme display.

  4. Call Change mode, if required.
  5. Click the pushbutton Include Objects in the Files tab.
  6. The Web Application Builder opens a dialog window in which you can choose the MIME objects.

  7. Expand the corresponding object list in the dialog window and select the objects in the MIME repository that you wish to redefine.
  8. Note

    You can use the multiple selection function by pressing the keys CTRL or SHIFT.

  9. Confirm the selection by clicking This graphic is explained in the accompanying text.
  10. The Web Application Builder includes the selected objects of the MIME repository in the Redefined Objects file in the current theme.

  11. Expand the directory Redefine Objects so that you see the required MIME objects displayed.
  12. Click the first MIME object to be replaced and then choose the Import function from the context menu (right mouse button).
  13. The standard dialog box for object selection from the (local) file directory appears.

  14. Choose the required MIME object from the file directory.
  15. The object in the MIME repository is now overwritten (redefined) by the imported object. You can check this by displaying the preview of the MIME object. To do this, double-click the MIME object. The preview (in the lower section of the theme display) should now include the imported object.

  16. If you have further MIME objects, execute steps 8-9 again in the same manner.

Note

Using the Change function in the context menu of the MIME object, you can make the changes to MIME objects directly in the assigned Editor.

Result

The system assigns a separate PHIO for the imported object. This allows you to redefine the references so that it is possible to display another physical MIME object using the same URL.

The changes take effect on the BSP application pages only when the theme has been explicitly assigned to the application concerned. If this assignment has not been entered so far, enter it now subsequently. To do so, proceed as described in the section Assigning Themes to BSP Applications.

 

 

Leaving content frame