Prerequisites
To import HTML files, you need to define the corresponding MIME type first.
Context
You can display the content of an existing HMTL file on the Initial
Page in order to provide customer-specific information on the
Welcome page.
Procedure
- Upload the HTML file:
- To open the SAP Web Repository: Initial Screen,
execute transaction SMW0.
- In the Web object area, select the
HTML templates for WebRFC applications to
upload a customer-specific HTML file.
- Start the search for the HTML file or file by pressing
F8.
The HTML Templates for WebRFC area is
displayed.
- To perform the search, press F8.
The SAP Web Repository: Object Display
with the corresponding objects appears.
- Create a new HTML object by choosing F5 and
upload an HTML file.
Note Alternatively, you can overwrite an existing HTML object.
- Search for the HTML file and confirm with
Open.
If security rules are defined for your ABAP system, a security
popup will appear.
- To confirm, choose Allow.
The Create Object Directory Entry popup
is displayed.
- Assign the HTML object to an ABAP package.
- Save the HTML object.
Note If you are uploading a new HTML file, the Transportable
Workbench Request popup will appear.
- Assign the image object to a transport request.
- Maintain the customizing entry of the Initial
Page:
- To enter a new entry in the SEWB_SETTINGS customizing
table, execute transaction SE16.
- In the Table Name entry field, enter
SEWB_SETTINGS.
- To display the table content, press F7.
The Data Browser: Table window selection
screen appears.
- In the ATTRIBUTE entry field, enter the
WB_NEWS customizing entry.
- To perform the search, press F8.
The Data Browser: Table window selection
subscreen is displayed. Here, the attribute entry is shown in the
table.
- Alternatively, you can create a new table entry. For this, choose
F5.
Note In this case, do not define a UNAME.
- Select the WB_NEWS entry and choose
F6 to change it.
- In the VALUE entry field, enter the name of the
uploaded web repository object.
- Save your entry.
Results
On the Initial Page (SE80), the content of the uploaded HTML
page is displayed.
If you want to display the same HTML page and customizing entry in other ABAP
systems, you can transport it accordingly.