To import HTML or image files such as gif, png, or jpg, you need to define the
corresponding Multipurpose Internet Mail Extensions (MIME) type first.
Procedure
- Open the SAP Web Repository: Object Display window by
executing transaction SMW0.
- Choose the relevant Web Object.
- Choose F8.
- Start the search by choosing F8.
The SAP Web Repository: Object Display window
appears.
- Choose from the menu bar.
- The Data Browser: Table MIMETYPES Select Entries window
appears.
- To create a new MIME type, choose F5.
- To define the MIME content type, enter the Type.
This is a free-text field. See the examples in the table below.
- To define the file system extension, enter the
Extension.
This is a free-text field. You can enter the following types and extensions,
for example:
Table 1:
List of Recommended MIME Types
TYPE |
EXTENSION |
image/jpg |
*.jpg, *.jpeg |
image/png |
*.png |
image/gif |
*.gif |
text/html |
*.htm, *.html |
- To create the object, save your entries.
Results
The MIME type is created in the database and the corresponding files can now be
imported.