Reference Information for Defining Style Sheets 
This and the subordinate sections provide an overview of how you can use XSL style sheets and Cascading Style Sheets (CSS) to define your own layout for
browser-based PI sheets and process manufacturing cockpits.Two XML documents are created in the system for each control recipe to be sent or for each cockpit you have activated: one document for the layout definition and one document that contains the data from the control recipe. The latter of these files is converted to an HTML document directly in the browser using an XSL style sheet. The following files are used:
The system automatically generates two XML documents when a control recipe is sent or when a cockpit is activated. These documents are stored in the Business Document Service.
This file contains all the layout-relevant information from the control recipe or cockpit definition. This means it comprises all the information from the process instructions that are required to generate the layout. XML tags along with attributes, if available, are used to describe meta data, phases, process instructions, output and input fields (including long texts), calculation fields, function calls as well as requested signatures and digital signatures in the XML document.
This file contains the layout definition that you have stored in the long text for characteristic PPPI_LAYOUT. If you have not specified a layout definition there, the system uses the relevant standard layout.
The
An XSL style sheet for PI sheets or cockpits defines how the XML document (data.xml) is to be converted to an (X)HTML document before it is displayed. The conversion takes place directly in the browser (Internet Explorer version 5 or higher).
The XSL style sheets generally contain references to Cascading Style Sheets (CSS), images, and other files. These files are then integrated with the (X)HTML document when it is loaded. Files that are loaded from the R/3 System can never be accessed through the file system of the client server.
An XSL style sheet can be used for any number of PI sheets or cockpits with completely different contents.
If you do not define your own layout based on your own XSL style sheet or if you do not declare your own XSL style sheets correctly in the layout definition, the system automatically uses the standard style sheets shipped with PP-PI. The Business Document Service contains the following copies of these standard style sheets that you can use as templates to develop your own solutions:
For more information on:
Communication Between the Browser and the R/3 System
To make sure that the HTML document displayed at runtime supports all the functions of a PI sheet or cockpit and guarantee the communication with the R/3 System, you must define the XSL style sheet in such a way that certain types of information are correctly included in the HTML document.
The first step that ensures communication between the HTML document and the R/3 System is the integration of a JavaScript. In addition, there are elements in the HTML document (such as pushbuttons, input fields, and so on) that trigger certain transactions in the R/3 System and as a result change their statuses. This communication is initialized by using additional element IDs and attributes defined by SAP.
Note the following when defining style sheets:
For more information, see
For more information, see
For more information, see
For more information, see
For more information, see