Entering content frame

Procedure documentation Further Editing Web Templates Locate the document in its SAP Library structure

Use

You can edit a Web template’s HTML source directly in the Web Application Designer using an external HTML editor.

Prerequisites

You are in the Web Application Designer. You have created a Web template and would now like to edit the HTML source of this Web template.

Procedure

You have the following options:

...

       1.      You can edit the Web template directly in the HTML view of the Web Application Designer.

¡        To do this, in the Web Application Designer Template window, choose the HTML tab.

¡        Edit the HTML.

¡        Choose Undo in the lower-right area of the Template window in order to undo the changes you have made.

or

¡        To check the edited HTML, in the lower right area of the Template window, choose Validate. The system only checks the SAP_BW Object Tags. Changes to the HTML are not added to the Web template during the validation. If errors arise, the Template validation window appears in the lower screen area. Error messages are displayed here.  Correct the incorrect HTML.

Note

The system automatically starts Web template validation if you switch directly from the HTML view in which you have edited the HTML into the Layout or Overview view:

The Web Application Designer dialog box appears. This is where you are asked to transfer the HTML changes or correct any errors.

·         Choose yes if you want to transfer the changes to the Web template permanently.

Note

The changes are transferred into the Web template.

·         Choose No to reject the changes.

·         Choose Cancel to continue editing the HTML.

¡        Choose Text mode to edit the syntax of the HTML. You then come to the Further editing in text mode dialog box. Decide whether you want to edit further in text mode or not. You can find more information on the functionality of the text mode under Enhanced Editing in Text Mode. After you have edited the Web template in text mode you can check the Web template for consistency. To do this choose Validate.

Note

From text mode you cannot switch back to the layout or HTML view. To switch to another view, close the Web template and open it again.

       2.      You can also edit the Web template with an external HTML editor.

¡        To process a Web template further using an external HTML editor, choose Web Template ® Export to file... Your Web template, that is the HTML file, is stored on a file system of your choice. You can call it up from there with your HTML editor.

Note

If you have selected an HTML editor in the Web Application Designer using Tools ® Settings, this is started automatically.

¡        To call up a Web template that you have edited in the HTML editor (that is, the edited HTML file) in the Web Application Designer again and edit it there, store the file on your file system again. In the Web Application Designer, choose Web Template ® Import from File... and specify the names and location of the saved file.

¡        To download a Web template directly from the server, that is, without opening the Web Application Designer, choose Web Templates ® Download File from Server. The Web template (the HTML file) is stored on your file system.

¡        To upload a Web template that you edited in an HTML editor directly to the server, that is, without opening it in the Web Application Designer, store the file on your file system again. In the Web Application Designer, choose Web Template ® Upload File to Server and specify the name and location of the saved file.

Also see:

Functions of the Web Application Designer Toolbar

Object Tags

 

Leaving content frame