Purpose
You can define the layout for browser-based PI sheets and manufacturing cockpits in any way you like. If you have not entered the relevant declaration, the system automatically uses the standard layout for PI sheets or manufacturing cockpits.
You can use the layout definition to:
Prerequisites
If you want to replace the standard layout with your own layout, the following requirements must be met:
Process Flow
To change the standard layout or replace it with a different layout, you proceed as follows:
<?xml version="1.0"?>
<LAYOUT>
...
</LAYOUT>
<LAYOUT>...
<STYLE>SAPR3-BDS-POC_TEMPLATE-OT-MYDOC-MYSTYLE.XSL</STYLE>
</LAYOUT>
<LAYOUT> ...
<ARCHIVE>
<STYLE>SAPR3-BDS-POC_TEMPLATE-OT-MYDOC-MYSTYLE_A.XSL</STYLE>
</ARCHIVE>
</LAYOUT>
<LAYOUT> ...
<HEADER>1</HEADER>
</LAYOUT>
<LAYOUT> ...
<FRAMESET ROWS="50%,50%">
<FRAME SRC="#DOCUMENT#"></FRAME>
<FRAME SRC="http://www.sap.com"></FRAME>
</FRAMESET>
</LAYOUT>
To do so, you must assign the URLs with the files to be called to the individual frames. The PI sheet or cockpit itself must always be specified in the frameset definition. You do so by using #DOCUMENT#.
<FRAME SRC="#DOCUMENT#"> </FRAME>
The following URL convention must be adhered to:
SAPR3-PIDOC-<plant>PI<cockpit name>
<FRAME SRC="SAPR3-PIDOC-001PIMYCOCKPIT"> </FRAME>
The following URL convention must be adhered to:
SAPR3-PIDOC-<PI sheet number>
<FRAME SRC="SAPR3-PIDOC-00000000000004711"> </FRAME>
The following URL convention must be adhered to:
http://...
<FRAME SRC="http://www.sap.com"> </FRAME>
These documents (PI sheets and cockpits) can only be loaded once. This means that if several documents have the same ID, only the first document (instance) is loaded. All other instances for the same document are inactive.
Note the following:
Example
The following example illustrates an XML definition in the long text of characteristic PPPI_LAYOUT. You can use all HTML attributes and tags for the FRAMESET tag definition that the browser supports. You must, however, adhere to the conventions for XML. The FRAMESET tag definition is identical to the one in HTML.
<?xml version="1.0"?> <LAYOUT> <STYLE>SAPR3-BDS-POC_TEMPLATE-OT-MYDOC-MYSTYLE.XSL</STYLE> <ARCHIVE> <HEADER> <FRAMESET ROWS="50%,50%"> </LAYOUT> |