Specifying Scope and Layout of Archive Documents
In the standard system, the PI sheets and work instructions are created with a layout that is predefined by SAP. You can thus use the PI sheets and work instructions without having to define your own layout. If you have special company-specific requirements regarding the preparation of the documents, however, you can also adjust their scope and layout by defining your own XSL stylesheet for the archiving and assigning it to the PI sheet or work instructions in your layout definition.
What you must bear in mind when doing so is described in the following sections.
Settings for PI Sheet or Work Instructions
The PI sheet or set of work instructions is an XML document that is prepared as an HTML document using an XSL style sheet and is then loaded into the SAP HTML control for display or processing.
SAP supplies the archiving stylesheet PMC_STY_A_DEFAULTX.XLS (for Internet Explorer 5.0/5.5) or PMC_STY_A_DEFAULTXIE6.XSL (for Internet Explorer 6.0) for archive display in connection with PI sheets and work instructions. The style sheet controls the selection of the data, its formatting, and the sequence in the archive document. Unlike the processing style sheet PMC_STY_DEFAULTX.XLS or PCM_STY DEFAULTXIE6.XSL, it also takes the data entered during processing into account, but only allows display. The overview for entered data is made available at the start of the PI sheet.
The advantage as opposed to SAPscript forms is that interactive elements (such as hyperlinks or expanding/collapsing of additional information) can be used. The dependent objects of the PI sheet (all necessary HTLM, XML, and XSL files and the objects referenced therein) are written with the version to the archive at the time of archiving. Changes to these files at their storage location WebRepository (transaction SMW0) after archiving have no further influence on the archived document.
If you want to use your own archiving style sheets, proceed in the same way as when defining your own processing style sheets (see Process Management documentation, section Definition of XSL Style Sheets for PI Sheets and Cockpits). However, note the following additional special aspects:
● As copying template, use the archiving stylesheet PMC_STY_A_DEFAULTX.XLS or PMC_STY_A_DEFAULTXIE6.XLS (for Internet Explorer 6.0), which is stored in the WebRepository (transaction SMW0) in the package CMX_POC.
● When you change the copy, note the document type definition PMC_DTD_DATA_EX.DTD of the XML documents to be archived. It is stored in the Web Repository under Binary Data for WebRFC Applications in the package CMX_POC.
● The archiving style sheet serves only display purposes. Additional information for the runtime environment is therefore unnecessary.
● You must ensure the comparability of processing stylesheet and archiving stylesheet by organizational means. This cannot be checked automatically.
assign the modified archiving style sheet in the layout definition of the PI
sheet using the following syntax (see Process Management documentation,
Definition for PI Sheets and Cockpits):
<STYLE>URL des XSL-Stylesheets für die Archivierung</STYLE>
● The following applies to the remaining specifications in the layout definition for the PI sheet:
<MAINTAIN><STYLE> ... </STYLE><MAINTAIN> (without the archiving tag) specifies the XSL style sheet for processing the PI sheet. This information is not taken into account for archiving.
<FRAMESET...> ... </FRAMESET> is only taken into account for PI sheet maintenance. The PI sheet alone is archived without its surrounding frameset.
<HEADER> ... </HEADER> used for displaying the PI sheet and the archive document.
Was this page helpful to you?
Do you have any additional feedback?If you want us to get back to you, please enter your email address.
The following content is not part of SAP product documentation. For more information, see the following disclaimer .