Entering content frameProcess documentation Layout Definition for PI Sheets and Cockpits Locate the document in its SAP Library structure

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:

  1. You enter characteristic PPPI_LAYOUT at the following locations:
  1. You enter an XML definition in the long text for characteristic PPPI_LAYOUT. Note the following:

<?xml version="1.0"?>

<LAYOUT>
...
</LAYOUT>

Example
<LAYOUT>...
<STYLE>SAPR3-BDS-POC_TEMPLATE-OT-MYDOC-MYSTYLE.XSL</STYLE>
</LAYOUT>

Example 
<LAYOUT> ...
<ARCHIVE>
<STYLE>SAPR3-BDS-POC_TEMPLATE-OT-MYDOC-MYSTYLE_A.XSL</STYLE>
</ARCHIVE>
</LAYOUT>

Example
<LAYOUT> ...
<HEADER>1</HEADER>
</LAYOUT>

Example
<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#.

Example <FRAME SRC="#DOCUMENT#"> </FRAME>

The following URL convention must be adhered to:
SAPR3-PIDOC-<plant>PI<cockpit name>
Example <FRAME SRC="SAPR3-PIDOC-001PIMYCOCKPIT"> </FRAME>

The following URL convention must be adhered to:
SAPR3-PIDOC-<PI sheet number>
Example <FRAME SRC="SAPR3-PIDOC-00000000000004711"> </FRAME>

The following URL convention must be adhered to:
http://...
Example <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.

Caution

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>
<STYLE>SAPR3-BDS-POC_TEMPLATE-OT-MYDOC-MYSTYLE_A.XSL</STYLE>
</ARCHIVE>

<HEADER>
<PHASES>1</PHASES>
</HEADER>

<FRAMESET ROWS="50%,50%">
<FRAME SRC="#DOCUMENT#"> </FRAME>
<FRAME SRC="http://www.sap.com"> </FRAME>
</FRAMESET>

</LAYOUT>

 

 

Leaving content frame